/* ==========================================================================
   Alhijaz Travel — lightweight static rebuild
   Custom CSS, no framework. Replaces ~40 WP/Elementor stylesheets.
   ========================================================================== */

:root {
  --gold: #ffbf2f;
  --gold-dark: #e0a91f;
  --dark: #15110d;
  --dark-2: #201a14;
  --text: #334155;
  --text-light: #64748b;
  --cream: #fff8ec;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-white { background: #fff; color: var(--dark); }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn-red { background: var(--gold); color: var(--dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}
.site-header.scrolled .brand-logo { color: var(--gold-dark); }
.site-header.scrolled .navbar,
.site-header.scrolled .nav-toggle {
  background: transparent;
  box-shadow: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: inline-block; }
.brand-logo {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0.2px;
}
.brand-logo .brand-accent {
  font-style: italic;
  color: var(--gold);
}
.footer-brand .logo { margin-bottom: 16px; }

.navbar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 50px;
  padding: 8px 10px;
  box-shadow: var(--shadow);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  justify-content: center;
  max-width: 780px;
  margin: 0 auto;
}
.navbar a {
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.92rem;
  color: var(--dark);
  font-weight: 500;
  white-space: nowrap;
}
.navbar a.active,
.navbar a:hover { color: var(--gold-dark); }

.nav-item.has-dropdown { position: relative; }
.nav-item.has-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 14px;
  min-width: 220px;
}
.dropdown-inner {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown { display: block; }
.dropdown a { display: block; border-radius: 10px; }

.nav-toggle {
  display: none;
  background: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: var(--shadow);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  margin-top: -94px;
  padding-top: 94px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,17,13,0.55) 0%, rgba(21,17,13,0.35) 35%, rgba(21,17,13,0.85) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
  width: 100%;
}
.hero h2, .hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  max-width: 900px;
}
.hero p.lead {
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 24px 0 32px;
  font-size: 1.05rem;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.breadcrumb {
  color: rgba(255,255,255,0.85);
  font-family: "Playfair Display", serif;
  font-style: italic;
  margin-top: 24px;
  font-size: 1.05rem;
}
.breadcrumb a { color: #fff; }

.hero.hero-inner-page { min-height: 62vh; align-items: center; text-align: center; }
.hero.hero-inner-page .hero-inner { padding: 140px 0 70px; display: flex; flex-direction: column; align-items: center; }
.hero.hero-inner-page h1 { text-align: center; }
.hero-ornament { width: 56px; margin-bottom: 20px; opacity: 0.9; }

.hero.hero-home { align-items: center; text-align: center; }
.hero.hero-home .hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero.hero-home .eyebrow { justify-content: center; }
.hero.hero-home h2 { margin-left: auto; margin-right: auto; }
.hero.hero-home .hero-actions { margin-top: 46px; justify-content: center; }

/* ---------- Sections ---------- */
section { padding: 90px 0; position: relative; overflow: hidden; scroll-margin-top: 90px; }
.section-tight { padding: 60px 0; }
.section-dark { background: var(--dark); color: rgba(255,255,255,0.8); }
.section-cream { background: var(--cream); }

/* subtle Islamic-pattern texture behind every plain-color section (not the photo hero) */
section:not(.hero)::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/bg-islamic.png');
  background-repeat: repeat;
  background-size: 640px;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.section-dark::after { opacity: 0.1; }
section > .container { position: relative; z-index: 1; }

.section-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--dark); }
.section-dark .section-head h2 { color: #fff; }
.section-head.one-line { max-width: 900px; }
.section-head.one-line h2 { white-space: nowrap; }
@media (max-width: 700px) {
  .section-head.one-line h2 { white-space: normal; font-size: 1.5rem; }
}

/* trust badges */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  justify-content: center;
}
.badges img { max-height: 56px; width: auto; filter: grayscale(1); opacity: 0.75; transition: 0.2s; }
.badges img:hover { filter: none; opacity: 1; }

/* agent cards */
.agents { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 50px; }
.agent-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.agent-card h4 { color: #fff; font-size: 1.15rem; margin-bottom: 4px; }
.agent-card .role { color: var(--gold); font-size: 0.85rem; margin-bottom: 16px; }
.agent-card .socials { display: flex; gap: 12px; justify-content: center; }
.agent-card .socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.agent-card .wa-btn { margin-top: 18px; }

/* counter / stats */
.stats { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; margin-top: 40px; }
.stat { text-align: center; }
.stat .num { font-size: 3rem; font-weight: 700; color: var(--gold); }
.stat .label { color: var(--text-light); }

/* two-col feature */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-split img { border-radius: var(--radius-lg); }
.feature-split h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; }

/* icon steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; margin-top: 50px; }
.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.step-card .step-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
  margin: 0 auto 18px;
}

/* package cards */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; margin-top: 40px; }
.pkg-grid.portrait { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pkg-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
  display: block;
}
.pkg-card.tall { aspect-ratio: 3 / 4; }
.pkg-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.pkg-card:hover img { transform: scale(1.06); }
.pkg-card .pkg-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}

.center-cta { text-align: center; margin-top: 44px; }

/* CTA panel */
.cta-panel {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  color: #fff;
}
.cta-panel h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta-panel p { max-width: 520px; margin: 18px auto 32px; color: rgba(255,255,255,0.75); }

/* two service cards */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 46px; }
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.service-card p { margin-bottom: 24px; color: var(--text-light); }

/* testimonials */
.testi-feature {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}
.testi-feature .stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
.testi-feature blockquote { font-size: 1.15rem; font-style: italic; margin: 0 0 16px; color: var(--dark); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.testi-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.testi-card blockquote { margin: 0 0 20px; font-style: italic; color: var(--text); }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-who strong { display: block; font-size: 0.95rem; }
.testi-who span { font-size: 0.8rem; color: var(--text-light); }

/* schedule embed */
.schedule-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.schedule-embed iframe { width: 100%; height: 80vh; border: none; display: block; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: rgba(255,255,255,0.85);
}
.contact-card h3 { color: #fff; margin-bottom: 8px; }
.contact-line { display: flex; gap: 14px; margin-top: 22px; }
.contact-line .ic {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.65); padding-top: 80px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-top h4 { color: #fff; margin-bottom: 20px; font-size: 1rem; }
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top li { margin-bottom: 12px; }
.footer-top a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0; flex-wrap: wrap; gap: 16px; font-size: 0.85rem;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
}
.footer-legal { display: flex; gap: 20px; }

/* ---------- WhatsApp floating ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-bubble {
  background: #fff;
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  color: var(--dark);
}
.wa-btn-float {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.wa-btn-float svg { width: 28px; height: 28px; }

/* ---------- Icons (inline SVG currentColor) ---------- */
.icon { width: 1em; height: 1em; display: inline-block; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .navbar { display: none; }
  .nav-toggle { display: flex; }
  .navbar.open {
    display: flex;
    position: absolute;
    top: 80px;
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: stretch;
    max-width: none;
  }
  .navbar.open .nav-item.has-dropdown .dropdown { position: static; padding-top: 0; display: block; }
  .navbar.open .nav-item.has-dropdown .dropdown-inner { box-shadow: none; padding: 0; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split .img-col { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .testi-feature { grid-template-columns: 1fr; text-align: center; }
  .testi-feature .stars { justify-content: center; display: flex; }
}

@media (max-width: 560px) {
  section { padding: 60px 0; }
  .hero { min-height: 100vh; }
  .cta-panel { padding: 44px 24px; }
  .wa-bubble { display: none; }
}
