/* =========================================================
   ACME TRAVEL - MAIN STYLESHEET
   Modern travel booking design (Klook / Viator inspired)
   ========================================================= */

:root {
  --primary: #0c63e7;       /* main brand blue */
  --primary-dark: #084bb5;
  --accent: #ff7a00;        /* CTA orange accent */
  --accent-dark: #e36b00;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --bg-light: #f5f7fb;
  --border: #e6e9ef;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(20, 30, 60, 0.08);
  --shadow-hover: 0 10px 30px rgba(20, 30, 60, 0.15);
  font-family: 'Poppins', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-block { width: 100%; text-align: center; }

/* =========================== TOP BAR =========================== */
.top-bar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #fff; opacity: .9; margin-left: 16px; }
.top-bar a:hover { opacity: 1; }

/* =========================== HEADER / NAV =========================== */
header.main-header {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 999;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.navbar .logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.navbar .logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions select {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  background: #fff;
}

.menu-toggle { display: none; font-size: 24px; cursor: pointer; background:none; border:none; }

/* =========================== HERO =========================== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(12,99,231,.85), rgba(8,75,181,.9)),
              url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}
.hero-content { max-width: 760px; padding: 0 20px; }
.hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 12px; }
.hero p { font-size: 18px; opacity: .95; margin-bottom: 30px; }

/* Hero search / quick links bar */
.hero-search {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-hover);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.hero-search .field { flex: 1; min-width: 160px; text-align: left; }
.hero-search label { font-size: 12px; font-weight: 700; color: var(--text-muted); display:block; margin-bottom: 6px; text-transform: uppercase; }
.hero-search select, .hero-search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-dark);
}
.hero-search .btn { align-self: flex-end; height: 44px; }

/* =========================== SECTION HEADINGS =========================== */
.section { padding: 60px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.section-head p { color: var(--text-muted); font-size: 15px; }
.section-light { background: var(--bg-light); }

/* =========================== SERVICES (4 main sections) =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all .25s ease;
  border: 1px solid var(--border);
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); border-color: var(--primary); }
.service-card .icon-wrap {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 30px;
  color: #fff;
}
.service-card:nth-child(1) .icon-wrap { background: linear-gradient(135deg,#0c63e7,#3b8bff); }
.service-card:nth-child(2) .icon-wrap { background: linear-gradient(135deg,#ff7a00,#ffae42); }
.service-card:nth-child(3) .icon-wrap { background: linear-gradient(135deg,#16a085,#5ee7c4); }
.service-card:nth-child(4) .icon-wrap { background: linear-gradient(135deg,#8e44ad,#c779d0); }
.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 18px; min-height: 44px; }
.service-card a.btn { padding: 10px 24px; font-size: 13px; }

/* =========================== DESTINATION / CITY CARDS =========================== */
.scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}
.scroll-row::-webkit-scrollbar { height: 6px; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

.dest-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  position: relative;
  transition: transform .25s ease;
}
.dest-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.dest-card img { height: 160px; object-fit: cover; width: 100%; }
.dest-card .dest-info { padding: 14px; }
.dest-card .dest-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.dest-card .dest-info span { font-size: 12.5px; color: var(--text-muted); }

/* =========================== ATTRACTION / HOTEL CARDS (grid) =========================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.attraction-card, .hotel-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .25s ease;
  border: 1px solid var(--border);
}
.attraction-card:hover, .hotel-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.attraction-card .img-wrap, .hotel-card .img-wrap { position: relative; }
.attraction-card img, .hotel-card img { height: 180px; object-fit: cover; width: 100%; }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color:#fff; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
}
.card-body { padding: 16px; }
.card-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.card-body .location { font-size: 12.5px; color: var(--text-muted); margin-bottom: 8px; display:flex; align-items:center; gap:6px; }
.rating { color: #ffae00; font-size: 13px; font-weight: 700; }
.rating span { color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.price-row .price { font-size: 18px; font-weight: 800; color: var(--primary); }
.price-row .old-price { font-size: 13px; color: var(--text-muted); text-decoration: line-through; margin-right: 6px; }

/* =========================== PROMO BANNER =========================== */
.promo-banner {
  background: linear-gradient(135deg, var(--accent), #ffae42);
  border-radius: var(--radius);
  padding: 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.promo-banner h3 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }

/* =========================== FOOTER =========================== */
footer { background: #11142b; color: #cfd2e0; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-grid h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
.footer-grid ul li { margin-bottom: 10px; font-size: 14px; }
.footer-grid ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; text-align: center; font-size: 13px; color: #8c90a8; }
.social-icons { display: flex; gap: 12px; margin-top: 12px; }
.social-icons a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.social-icons a:hover { background: var(--primary); }

/* =========================== ENQUIRY MODAL =========================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #fff; border-radius: var(--radius); max-width: 600px; width: 100%;
  max-height: 90vh; overflow-y: auto; padding: 30px; position: relative; animation: pop .2s ease;
}
@keyframes pop { from { transform: scale(.95); opacity:0; } to { transform: scale(1); opacity:1; } }
.modal-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; color: var(--primary); }
.modal-box .modal-sub { color: var(--text-muted); font-size: 13.5px; margin-bottom: 20px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; background: var(--bg-light);
  border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 18px; cursor: pointer;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; margin-bottom: 6px; display: block; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 14px; font-family: inherit;
}
.form-group textarea { resize: vertical; min-height: 70px; }
.form-msg { padding: 10px 14px; border-radius: 8px; font-size: 13.5px; margin-bottom: 14px; display:none; }
.form-msg.success { background:#e6f7ee; color:#0a8a45; display:block; }
.form-msg.error { background:#fdecec; color:#c0392b; display:block; }

/* =========================== WHATSAPP FLOAT =========================== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px;
  background: #25d366; border-radius: 50%; display:flex; align-items:center; justify-content:center;
  color:#fff; font-size: 28px; box-shadow: var(--shadow-hover); z-index: 1500;
}

/* =========================== BREADCRUMB / PAGE HEADER =========================== */
.page-header {
  background: linear-gradient(135deg, rgba(12,99,231,.9), rgba(8,75,181,.95)),
              url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: #fff; padding: 70px 0 40px; text-align: center;
}
.page-header h1 { font-size: 34px; font-weight: 800; margin-bottom: 8px; }
.breadcrumb { font-size: 13px; opacity: .9; }
.breadcrumb a { text-decoration: underline; }

/* =========================== FILTER SIDEBAR (attractions/hotels listing) =========================== */
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; }
.filter-box { background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.filter-box h5 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.filter-box label { display:flex; align-items:center; gap:8px; font-size: 13.5px; margin-bottom: 8px; color: var(--text-muted); }

/* =========================== TABS (attraction detail page) =========================== */
.tabs { display:flex; gap: 6px; border-bottom: 2px solid var(--border); margin-bottom: 24px; overflow-x:auto; }
.tabs button {
  background:none; border:none; padding: 12px 20px; font-weight:700; font-size: 14px; cursor:pointer;
  color: var(--text-muted); border-bottom: 3px solid transparent; white-space: nowrap;
}
.tabs button.active { color: var(--primary); border-color: var(--primary); }
.tab-content { display:none; }
.tab-content.active { display:block; }

/* itinerary */
.itinerary-day { border-left: 3px solid var(--primary); padding-left: 18px; margin-bottom: 18px; position: relative; }
.itinerary-day::before { content:''; position:absolute; left:-7px; top:4px; width:11px; height:11px; border-radius:50%; background: var(--primary); }
.itinerary-day h5 { font-weight: 700; margin-bottom: 4px; }

/* FAQ accordion */
.faq-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; overflow:hidden; }
.faq-item summary { padding: 14px 16px; font-weight: 600; cursor: pointer; background:#fafbfc; }
.faq-item p { padding: 12px 16px; color: var(--text-muted); font-size: 14px; }

/* review card */
.review-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.review-card .reviewer { font-weight: 700; margin-bottom: 4px; }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .country-select { display: none; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 30px; }
  .hero-search { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}
