/* ==========================================================================
   AYESHA HAJJ UMRAH TRAVELS — STYLESHEET
   Sections: Reset, Variables, Typography, Header, Navigation, Hero, Buttons,
   Cards, Packages, Testimonials, Gallery, Contact, Footer, Responsive
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Everything except the sticky header lives inside .page-content.
   Keeping overflow-x:hidden OFF the <html>/<body> (and only on this
   wrapper) is what stops the header from breaking out of "sticky"
   and scrolling away with the page on mobile browsers. */
.page-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  overflow-x: hidden;
}
.site-footer { margin-top: auto; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; }

/* ---------- Variables ---------- */
:root {
  /* Color */
  --forest: #12301f;
  --forest-deep: #0b2116;
  --sage: #4f7a5c;
  --sage-light: #7a9c83;
  --ivory: #faf6ee;
  --ivory-deep: #f2ebdc;
  --charcoal: #262521;
  --charcoal-soft: #55534c;
  --gold: #ad8a4e;
  --gold-soft: #d9c49a;
  --line: #e2d9c6;
  --white: #ffffff;

  /* Type */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --max-w: 1200px;
  --header-h: 84px;
  --radius-img: 6px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--forest-deep); }

h1 { font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; }

p { color: var(--charcoal-soft); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p { margin-top: 0.9rem; font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--ivory-deep); }
.section--forest { background: var(--forest-deep); color: var(--ivory); }
.section--forest h1, .section--forest h2, .section--forest h3 { color: var(--ivory); }
.section--forest p { color: rgba(250,246,238,0.78); }

.divider-mark {
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.4rem;
}
.center .divider-mark { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 3px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-deep); }

.btn-outline {
  background: transparent;
  color: var(--forest-deep);
  border: 1px solid var(--forest-deep);
}
.btn-outline:hover { background: var(--forest-deep); color: var(--white); }

.btn-ghost-light {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(250,246,238,0.4);
}
.btn-ghost-light:hover { background: rgba(250,246,238,0.12); border-color: var(--ivory); }

.btn-gold { background: var(--gold); color: var(--forest-deep); }
.btn-gold:hover { background: var(--gold-soft); }

.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250,246,238,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--forest-deep); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.hamburger span { height: 2px; background: var(--forest-deep); width: 100%; transition: transform 0.25s, opacity 0.25s; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--ivory);
  z-index: 480;
  padding: 40px 32px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--forest-deep);
}
.mobile-nav .header-actions { margin-top: 32px; flex-direction: column; align-items: stretch; }

body.nav-open { overflow: hidden; }

/* ---------- Hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding: 110px 0 90px;
  color: var(--ivory);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,33,22,0.82), rgba(11,33,22,0.72));
  z-index: -1;
}
.page-hero h1 { color: var(--ivory); }
.page-hero .breadcrumb { font-size: 0.92rem; color: var(--gold-soft); margin-bottom: 1rem; font-weight: 600; }
.page-hero p { color: rgba(250,246,238,0.82); max-width: 620px; margin-top: 1rem; font-size: 1.08rem; }

/* ---------- Home Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--ivory);
  background: linear-gradient(180deg, rgba(9,26,17,0.72), rgba(9,26,17,0.82)),
              url('https://images.unsplash.com/photo-1513072064285-240f87fa81e8?auto=format&fit=crop&w=1800&q=80') center 30%/cover no-repeat;
}
.hero-inner { max-width: 660px; padding: 60px 0; }
.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.hero h1 { color: var(--ivory); margin-bottom: 1.3rem; }
.hero-sub { font-size: 1.15rem; color: rgba(250,246,238,0.86); max-width: 540px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero-trust {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: rgba(250,246,238,0.72);
  border-top: 1px solid rgba(250,246,238,0.22);
  padding-top: 1.4rem;
}

/* ---------- Why Choose Us cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-card {
  background: var(--white);
  border-top: 3px solid var(--forest);
  padding: 34px 26px;
}
.feature-card .icon { margin-bottom: 20px; }
.feature-card .icon svg { width: 34px; height: 34px; stroke: var(--forest); }
.feature-card h4 { margin-bottom: 10px; color: var(--forest-deep); }
.feature-card p { font-size: 0.94rem; }

/* ---------- Journey Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.94rem; }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px; right: -18px;
  width: 20px; height: 1px;
  background: var(--line);
  display: none;
}

/* ---------- Package Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.package-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.package-card__head {
  background: var(--forest-deep);
  color: var(--ivory);
  padding: 24px 26px;
}
.package-card__head .pkg-type { font-size: 0.82rem; color: var(--gold-soft); font-weight: 700; margin-bottom: 6px; }
.package-card__head h3 { color: var(--ivory); font-family: var(--font-display); }
.package-card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.pkg-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.pkg-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.pkg-row .label { color: var(--charcoal-soft); }
.pkg-row .value { font-weight: 600; color: var(--charcoal); text-align: right; }
.pkg-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--forest-deep);
  margin-top: 4px;
}
.pkg-price span { font-size: 0.95rem; font-family: var(--font-body); color: var(--charcoal-soft); font-weight: 500; }
.package-card__foot { padding: 0 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.pkg-note {
  font-size: 0.82rem;
  color: var(--charcoal-soft);
  font-style: italic;
}

.notice-bar {
  background: var(--ivory-deep);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 18px 22px;
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  margin-top: 40px;
}

/* ---------- Testimonials ---------- */
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 30px;
  position: relative;
}
.testi-mark { font-family: var(--font-display); font-size: 3rem; color: var(--gold-soft); line-height: 1; margin-bottom: 10px; }
.testi-card p { font-style: italic; color: var(--charcoal); font-size: 1.02rem; margin-bottom: 20px; }
.testi-name { font-weight: 700; color: var(--forest-deep); font-size: 0.92rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-img);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(11,33,22,0.85), transparent);
  color: var(--ivory);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .cap { opacity: 1; }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal-soft);
  background: var(--white);
  transition: all 0.2s ease;
}
.filter-btn.active, .filter-btn:hover { background: var(--forest); color: var(--ivory); border-color: var(--forest); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(11,20,15,0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 84vh; border-radius: 4px; }
.lightbox-close {
  position: absolute; top: 26px; right: 32px;
  color: var(--ivory); font-size: 2rem; line-height: 1;
}

/* ---------- Final CTA ---------- */
.cta-band { text-align: center; padding: 90px 0; }
.cta-band h2 { max-width: 640px; margin: 0 auto 1rem; }
.cta-band p { max-width: 540px; margin: 0 auto 2.2rem; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- About Page ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-grid img { border-radius: var(--radius-img); }
.approach-list { display: flex; flex-direction: column; gap: 0; margin-top: 28px; }
.approach-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.approach-list li:first-child { padding-top: 0; }
.approach-list .mark { color: var(--gold); font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; }
.approach-list strong { display: block; color: var(--forest-deep); margin-bottom: 3px; font-family: var(--font-body); }
.approach-list span.desc { font-size: 0.92rem; color: var(--charcoal-soft); }

/* ---------- Contact Page ---------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.contact-info-card {
  background: var(--forest-deep);
  color: var(--ivory);
  padding: 44px 36px;
}
.contact-info-card h3 { color: var(--ivory); margin-bottom: 24px; }
.contact-line { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-line svg { flex-shrink: 0; width: 20px; height: 20px; stroke: var(--gold-soft); margin-top: 2px; }
.contact-line a, .contact-line address { color: rgba(250,246,238,0.9); font-style: normal; font-size: 0.96rem; line-height: 1.5; }
.contact-line strong { display: block; font-size: 0.82rem; color: var(--gold-soft); font-weight: 700; margin-bottom: 4px; text-transform: none; }
.contact-whatsapp-row { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.enquiry-form { background: var(--white); border: 1px solid var(--line); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--forest-deep); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 0.96rem;
  border-radius: 3px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--charcoal-soft); margin-top: 14px; }

.map-embed { margin-top: 60px; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: rgba(250,246,238,0.82); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(250,246,238,0.14); }
.footer-brand img { height: 50px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(250,246,238,0.68); font-size: 0.92rem; max-width: 300px; }
.footer-col h4 { color: var(--ivory); font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 20px; font-weight: 600; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: rgba(250,246,238,0.72); font-size: 0.94rem; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-col address { font-style: normal; color: rgba(250,246,238,0.72); font-size: 0.94rem; line-height: 1.7; }
.footer-bottom {
  padding: 26px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(250,246,238,0.5);
}

/* ---------- Utility ---------- */
/* Visible by default so content never disappears if JS fails to load.
   JS adds .reveal-init (to hide, ready for animation) and then .in
   (to reveal) once it actually runs — see js/script.js */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.reveal-init { opacity: 0; transform: translateY(18px); }
.reveal.reveal-init.in { opacity: 1; transform: translateY(0); }
.text-center { text-align: center; }
.mt-lg { margin-top: 64px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .about-img { order: -1; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding: 150px 0 80px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .grid-4, .grid-3, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta-actions, .hero-actions { width: 100%; }
  .page-hero { padding: 90px 0 60px; }
  .contact-info-card, .enquiry-form { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
