/* EZYWAY Tour and Travels - Custom Styles */
:root {
  --deep-blue: #0B1D3A;
  --gold: #C9A14A;
  --gold-light: #e8c06a;
  --white: #FFFFFF;
  --soft-gray: #F4F4F6;
  --gray-text: #8A8A9A;
}

* { scroll-behavior: smooth; }

body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--deep-blue); }

/* ── Navbar ─────────────────────────────────────────────────────────── */
.navbar {
  background: rgba(11,29,58,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,161,74,0.12);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(11,29,58,1);
  box-shadow: 0 4px 28px rgba(0,0,0,0.4);
}

/* Desktop nav links */
.nav-link {
  position: relative;
  color: rgba(255,255,255,0.88);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.25s;
  white-space: nowrap;
  text-decoration: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover,
.nav-link.nav-active { color: var(--gold); }
.nav-link:hover::after,
.nav-link.nav-active::after { width: 100%; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #0d2347;
  border: 1px solid rgba(201,161,74,0.25);
  border-radius: 10px;
  min-width: 190px;
  z-index: 200;
  padding: 6px 0;
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(201,161,74,0.3);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 9px 18px;
  color: rgba(255,255,255,0.82);
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.dropdown-menu a:hover { background: rgba(201,161,74,0.1); color: var(--gold); }

/* ── Mobile menu ────────────────────────────────────────────────────── */
#mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
}
#mobile-menu.mob-open { display: block; }

.mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  user-select: none;
}
.mob-link:hover, .mob-link.nav-active { color: var(--gold); }

.mob-chevron {
  flex-shrink: 0;
  color: rgba(201,161,74,0.6);
  transition: transform 0.25s ease;
}

.mob-sub {
  display: none;
  margin: 2px 0 4px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.mob-sub.mob-sub-open { display: block; }

.mob-sub-link {
  display: block;
  padding: 9px 14px;
  font-size: 0.82rem;
  color: rgba(201,161,74,0.8);
  letter-spacing: 0.02em;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.mob-sub-link:hover { color: var(--gold); background: rgba(201,161,74,0.07); }

#menu-btn { cursor: pointer; transition: background 0.2s, border-color 0.2s; }
#menu-btn:hover { background: rgba(255,255,255,0.14) !important; border-color: rgba(201,161,74,0.4) !important; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn-gold { background: linear-gradient(135deg, #C9A14A, #e8c06a); color: var(--deep-blue); font-weight: 700; letter-spacing: 0.05em; border-radius: 4px; transition: all 0.3s; position: relative; overflow: hidden; text-decoration: none; display: inline-block; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,161,74,0.4); }
.btn-outline { border: 2px solid var(--gold); color: var(--gold); font-weight: 700; letter-spacing: 0.05em; border-radius: 4px; transition: all 0.3s; text-decoration: none; display: inline-block; }
.btn-outline:hover { background: var(--gold); color: var(--deep-blue); transform: translateY(-2px); }

.ripple { position: relative; overflow: hidden; }
.ripple::after { content:''; position:absolute; border-radius:50%; background:rgba(255,255,255,0.3); width:0; height:0; top:50%; left:50%; transform:translate(-50%,-50%); transition:width 0.4s, height 0.4s, opacity 0.4s; opacity:0; }
.ripple:active::after { width:200px; height:200px; opacity:1; transition:0s; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero-overlay { background: linear-gradient(135deg, rgba(11,29,58,0.85) 0%, rgba(11,29,58,0.4) 100%); }

/* ── Glass Card ──────────────────────────────────────────────────────── */
.glass-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(201,161,74,0.2); border-radius: 12px; }

/* ── Typography ──────────────────────────────────────────────────────── */
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 700; color: var(--deep-blue); }
.section-title span { color: var(--gold); }
.section-subtitle { color: var(--gray-text); font-size: 1.05rem; }
.gold-line { width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; }

/* ── Cards ───────────────────────────────────────────────────────────── */
.tour-card { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 24px rgba(11,29,58,0.08); transition: transform 0.35s, box-shadow 0.35s; background: #fff; }
.tour-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(11,29,58,0.16); }
.tour-card img { transition: transform 0.5s; }
.tour-card:hover img { transform: scale(1.07); }

.highlight-icon { width: 64px; height: 64px; background: linear-gradient(135deg, rgba(201,161,74,0.15), rgba(201,161,74,0.05)); border: 1px solid rgba(201,161,74,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { background: var(--deep-blue); }
.footer-link { color: #aab; transition: color 0.3s; text-decoration: none; }
.footer-link:hover { color: var(--gold); }

/* ── Scroll animations ───────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* ── Gallery ─────────────────────────────────────────────────────────── */
.masonry { columns: 3; column-gap: 16px; }
.masonry-item { break-inside: avoid; margin-bottom: 16px; border-radius: 10px; overflow: hidden; cursor: pointer; }
.masonry-item img { width: 100%; display: block; transition: transform 0.4s; }
.masonry-item:hover img { transform: scale(1.05); }
@media(max-width:768px){ .masonry { columns: 2; } }
@media(max-width:480px){ .masonry { columns: 1; } }

/* ── Lightbox ────────────────────────────────────────────────────────── */
#lightbox { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.92); z-index:9999; align-items:center; justify-content:center; }
#lightbox.active { display:flex; }
#lightbox img { max-width:90vw; max-height:90vh; border-radius:8px; box-shadow:0 0 60px rgba(201,161,74,0.3); }
#lightbox-close { position:absolute; top:20px; right:28px; color:#fff; font-size:2.5rem; cursor:pointer; line-height:1; }

/* ── Forms ───────────────────────────────────────────────────────────── */
.form-input { background: rgba(11,29,58,0.04); border: 1px solid rgba(11,29,58,0.15); border-radius: 6px; padding: 12px 16px; width: 100%; transition: border-color 0.3s, box-shadow 0.3s; font-family: inherit; }
.form-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,161,74,0.15); }

/* ── Misc components ─────────────────────────────────────────────────── */
.stat-card { border-left: 3px solid var(--gold); }
.amenity-badge { background: rgba(201,161,74,0.1); border: 1px solid rgba(201,161,74,0.3); color: var(--deep-blue); border-radius: 20px; padding: 4px 14px; font-size: 0.82rem; display: inline-block; }
.itinerary-day { border-left: 2px solid var(--gold); padding-left: 20px; position: relative; }
.itinerary-day::before { content:''; position:absolute; left:-7px; top:4px; width:12px; height:12px; background:var(--gold); border-radius:50%; }
.whatsapp-float { position:fixed; bottom:24px; right:24px; z-index:999; width:56px; height:56px; background:#25D366; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 20px rgba(37,211,102,0.4); transition:transform 0.3s; }
.whatsapp-float:hover { transform:scale(1.1); }
.page-hero { min-height: 340px; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; }
.page-hero-overlay { position:absolute; inset:0; background:linear-gradient(135deg, rgba(11,29,58,0.88), rgba(11,29,58,0.5)); }
.testimonial-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(11,29,58,0.07); border-top: 3px solid var(--gold); }
.service-box { border-radius: 12px; border: 1px solid rgba(201,161,74,0.15); transition: all 0.35s; }
.service-box:hover { border-color: var(--gold); box-shadow: 0 8px 32px rgba(201,161,74,0.15); transform: translateY(-4px); }
.nav-active { color: var(--gold) !important; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq-item { border: 1px solid rgba(201,161,74,0.12); transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item:hover { border-color: rgba(201,161,74,0.35); box-shadow: 0 4px 20px rgba(201,161,74,0.08); }
.faq-btn:focus { outline: none; }
.faq-body { border-top: 1px solid rgba(201,161,74,0.12); }
