/* ============================================================
   Barakah Umrah Theme — Main Stylesheet
   Version: 1.0.0
   ============================================================ */

/* ── RESET & ROOT VARIABLES ──────────────────────────────── */
:root {
  --gold:         #A67C2E;
  --gold-light:   #C9A84C;
  --gold-pale:    #F0D98A;
  --gold-bg:      #FBF5E6;
  --ivory:        #FFFDF7;
  --cream:        #F7F2E8;
  --cream-mid:    #EDE4D0;
  --deep:         #2C1F0A;
  --charcoal:     #3D2E12;
  --warm-gray:    #7A6A50;
  --muted:        #5C4E35;
  --text:         #2C1F0A;
  --emerald:      #1B4A3A;
  --emerald-light:#2E7A5E;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--ivory) !important;
  color: var(--text) !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 300;
  overflow-x: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide WordPress theme header/footer when using this theme */
.site-header, .site-footer,
#masthead, #colophon,
.main-navigation, .nav-primary,
.wp-block-template-part[data-type="core/template-part/header"],
.wp-block-template-part[data-type="core/template-part/footer"] {
  display: none !important;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ── NAVIGATION ──────────────────────────────────────────── */
#bj-nav {
  position: fixed; top: 0; width: 100%; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5rem;
  background: linear-gradient(to bottom, rgba(255,253,247,0.97), transparent);
  transition: background 0.4s, box-shadow 0.4s;
}
#bj-nav.scrolled {
  background: rgba(255,253,247,0.98);
  box-shadow: 0 1px 20px rgba(44,31,10,0.08);
}
.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem; letter-spacing: 0.18em;
  color: var(--gold) !important; text-transform: uppercase;
}
.nav-links { display: flex; gap: 2.8rem; list-style: none; }
.nav-links a {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted) !important; transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold) !important; }

.nav-cta {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ivory) !important; background: var(--gold);
  padding: 0.65rem 1.6rem;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── HERO ────────────────────────────────────────────────── */
.bj-hero {
  position: relative; height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,168,76,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 80% 20%, rgba(27,74,58,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(240,217,138,0.12) 0%, transparent 50%),
    linear-gradient(165deg, #FFFDF7 0%, #FBF5E6 40%, #F2EAD4 100%);
}
.hero-arch {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px; opacity: 0.12;
  pointer-events: none;
}
.hero-ornament {
  font-size: 1.1rem; letter-spacing: 0.5em; color: var(--gold);
  margin-bottom: 2rem; font-family: 'Cinzel', serif;
  opacity: 0; animation: fadeUp 1s 0.3s forwards;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.8rem;
  opacity: 0; animation: fadeUp 1s 0.5s forwards;
  position: relative; z-index: 1;
}
.bj-hero h1 {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 300 !important;
  font-size: clamp(3.5rem, 8vw, 7.5rem) !important;
  line-height: 1.0 !important; letter-spacing: -0.01em !important;
  color: var(--deep) !important; max-width: 900px;
  opacity: 0; animation: fadeUp 1.2s 0.7s forwards;
  border: none !important; padding: 0 !important; margin: 0 !important;
  position: relative; z-index: 1;
}
.bj-hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.3rem; color: var(--warm-gray); margin-top: 1.8rem;
  max-width: 520px; line-height: 1.7;
  opacity: 0; animation: fadeUp 1s 1s forwards;
  position: relative; z-index: 1;
}
.hero-divider {
  display: flex; align-items: center; gap: 1.2rem; margin: 2.5rem auto;
  opacity: 0; animation: fadeUp 1s 1.2s forwards; position: relative; z-index: 1;
}
.hero-divider span { width: 60px; height: 1px; background: var(--gold); opacity: 0.5; }
.hero-divider i { color: var(--gold); font-size: 0.9rem; font-style: normal; }
.hero-actions {
  display: flex; gap: 1.4rem;
  opacity: 0; animation: fadeUp 1s 1.4s forwards; position: relative; z-index: 1;
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  opacity: 0; animation: fadeUp 1s 2s forwards; z-index: 1;
}
.hero-scroll span {
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--warm-gray);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  font-family: 'Cinzel', serif; font-size: 0.72rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--deep) !important; background: var(--gold);
  padding: 1rem 2.6rem; transition: all 0.3s;
  position: relative; overflow: hidden; display: inline-block;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gold-light); transform: translateX(-100%); transition: transform 0.3s;
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  font-family: 'Cinzel', serif; font-size: 0.72rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold) !important; border: 1px solid var(--gold);
  padding: 1rem 2.6rem; transition: all 0.3s;
  background: transparent; display: inline-block;
}
.btn-outline:hover { background: rgba(166,124,46,0.08); }

/* ── STATS STRIP ─────────────────────────────────────────── */
.stats-strip {
  border-top: 1px solid rgba(166,124,46,0.2);
  border-bottom: 1px solid rgba(166,124,46,0.2);
  background: var(--cream);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 2.5rem 2rem; text-align: center;
  border-right: 1px solid rgba(166,124,46,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: var(--gold); display: block;
}
.stat-label {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--warm-gray); margin-top: 0.3rem;
}

/* ── SECTION HEADER ──────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  font-size: 0.68rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 300 !important; font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
  color: var(--deep) !important; line-height: 1.2 !important; border: none !important;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-desc {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.1rem; color: var(--warm-gray);
  max-width: 540px; margin: 1.2rem auto 0; line-height: 1.8;
}

/* ── PACKAGES ────────────────────────────────────────────── */
.bj-packages { padding: 7rem 5rem; }
.packages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px;
  background: rgba(166,124,46,0.15);
}
.pkg-card {
  background: var(--ivory); padding: 3rem 2.5rem;
  position: relative; overflow: hidden; transition: background 0.4s; cursor: pointer;
}
.pkg-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.pkg-card:hover { background: var(--gold-bg); }
.pkg-card:hover::before { opacity: 1; }
.pkg-card.featured {
  background: linear-gradient(135deg, #FDFAF0, #F5F0E4);
  border: 1px solid rgba(166,124,46,0.3);
  box-shadow: 0 8px 40px rgba(166,124,46,0.12);
}
.pkg-badge {
  font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--emerald-light); background: rgba(27,74,58,0.1);
  padding: 0.35rem 0.8rem; display: inline-block; margin-bottom: 1.5rem;
  border: 1px solid rgba(27,74,58,0.15);
}
.pkg-name {
  font-family: 'Cinzel', serif; font-size: 1.1rem;
  letter-spacing: 0.08em; color: var(--deep); margin-bottom: 0.5rem;
}
.pkg-nights {
  font-size: 0.75rem; letter-spacing: 0.15em; color: var(--warm-gray);
  text-transform: uppercase; margin-bottom: 2rem;
}
.pkg-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; font-weight: 300; color: var(--gold);
}
.pkg-price sup { font-size: 1rem; vertical-align: super; }
.pkg-price-note { font-size: 0.72rem; color: var(--warm-gray); margin-bottom: 2rem; }
.pkg-divider { height: 1px; background: rgba(166,124,46,0.15); margin: 1.8rem 0; }
.pkg-features { list-style: none !important; }
.pkg-features li {
  font-size: 0.85rem; color: var(--muted); padding: 0.5rem 0;
  display: flex; align-items: center; gap: 0.8rem;
  border-bottom: 1px solid rgba(44,31,10,0.05);
}
.pkg-features li::before { content: '✦'; font-size: 0.55rem; color: var(--gold); flex-shrink: 0; }
.pkg-cta {
  display: block; text-align: center; font-family: 'Cinzel', serif;
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold) !important; border: 1px solid rgba(166,124,46,0.4);
  padding: 0.9rem; margin-top: 2rem; transition: all 0.3s;
}
.pkg-cta:hover { background: var(--gold); color: var(--ivory) !important; }
.pkg-card.featured .pkg-cta { background: var(--gold); color: var(--ivory) !important; border-color: var(--gold); }
.pkg-card.featured .pkg-cta:hover { background: var(--charcoal); border-color: var(--charcoal); }

/* ── HOW IT WORKS ────────────────────────────────────────── */
.bj-journey { padding: 7rem 5rem; }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.journey-visual { position: relative; }
.journey-card-main {
  background: linear-gradient(135deg, #FBF5E6, #EDE4D0);
  border: 1px solid rgba(166,124,46,0.2); padding: 3rem; aspect-ratio: 4/5;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.journey-card-main::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(201,168,76,0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(27,74,58,0.06) 0%, transparent 40%);
}
.kaaba-silhouette {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -60%); opacity: 0.07;
}
.journey-card-main h3 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 2rem !important; font-weight: 300 !important;
  color: var(--deep) !important; position: relative; z-index: 1;
}
.journey-card-main p {
  font-size: 0.82rem; color: var(--warm-gray); margin-top: 0.8rem;
  line-height: 1.7; position: relative; z-index: 1;
}
.journey-card-float {
  position: absolute; right: -2rem; top: 2rem;
  background: var(--emerald); border: 1px solid rgba(166,124,46,0.2);
  padding: 1.5rem 1.8rem; width: 180px;
}
.float-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; color: var(--gold-light); display: block;
}
.float-label { font-size: 0.68rem; letter-spacing: 0.15em; color: #C4B99A; text-transform: uppercase; }
.journey-content h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 300 !important; font-size: clamp(2rem, 3.5vw, 3rem) !important;
  line-height: 1.2 !important; margin-bottom: 1.5rem; color: var(--deep) !important;
  border: none !important;
}
.journey-content h2 em { font-style: italic; color: var(--gold); }
.journey-content p { color: var(--warm-gray); line-height: 1.9; font-size: 0.9rem; margin-bottom: 1.5rem; }
.steps-list { list-style: none !important; margin: 2.5rem 0; }
.step-item {
  display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.2rem 0;
  border-bottom: 1px solid rgba(166,124,46,0.1);
}
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; color: var(--gold); opacity: 0.5; flex-shrink: 0; line-height: 1;
}
.step-text strong {
  display: block; font-size: 0.85rem; color: var(--deep);
  font-family: 'Cinzel', serif; letter-spacing: 0.06em; margin-bottom: 0.3rem;
}
.step-text span { font-size: 0.8rem; color: var(--warm-gray); line-height: 1.6; }

/* ── DESTINATIONS ────────────────────────────────────────── */
.bj-destinations { padding: 7rem 5rem; background: var(--cream); }
.dest-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto;
  gap: 1.5px; background: rgba(166,124,46,0.15); margin-top: 4rem;
}
.dest-card {
  background: var(--ivory); padding: 3rem 2.5rem;
  position: relative; overflow: hidden; transition: background 0.3s;
}
.dest-card:hover { background: var(--gold-bg); }
.dest-card:first-child { grid-row: span 2; }
.dest-icon { font-size: 2.5rem; margin-bottom: 1.5rem; opacity: 0.8; }
.dest-city {
  font-family: 'Cinzel', serif; font-size: 1rem;
  letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.4rem;
}
.dest-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.6rem;
  font-weight: 300; color: var(--deep); margin-bottom: 0.8rem;
}
.dest-desc { font-size: 0.82rem; color: var(--warm-gray); line-height: 1.8; }
.dest-bg-pattern { position: absolute; right: -2rem; bottom: -2rem; font-size: 8rem; opacity: 0.03; pointer-events: none; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.bj-testimonials { padding: 7rem 5rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
.testi-card {
  background: var(--ivory); border: 1px solid rgba(166,124,46,0.15);
  padding: 2.5rem; position: relative;
  box-shadow: 0 4px 24px rgba(44,31,10,0.05);
}
.testi-card::before {
  content: '"'; font-family: 'Cormorant Garamond', serif;
  font-size: 6rem; color: var(--gold); opacity: 0.15;
  position: absolute; top: 1rem; left: 1.5rem; line-height: 1;
}
.testi-text {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.05rem; color: var(--muted); line-height: 1.8;
  margin-bottom: 2rem; position: relative; z-index: 1;
}
.testi-author { display: flex; align-items: center; gap: 1rem; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--emerald));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-size: 0.85rem; color: var(--ivory);
  flex-shrink: 0;
}
.testi-name { font-size: 0.82rem; color: var(--deep); font-family: 'Cinzel', serif; letter-spacing: 0.06em; }
.testi-origin { font-size: 0.72rem; color: var(--warm-gray); margin-top: 0.15rem; }
.testi-stars { color: var(--gold); font-size: 0.7rem; letter-spacing: 0.1em; margin-bottom: 0.3rem; }

/* ── CTA BANNER ──────────────────────────────────────────── */
.bj-cta {
  margin: 0 5rem 7rem;
  background: linear-gradient(135deg, #2C1F0A, #1B4A3A);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 5rem; text-align: center; position: relative; overflow: hidden;
}
.bj-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.1), transparent 70%);
}
.bj-cta h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 300 !important; font-size: clamp(2rem, 4vw, 3.2rem) !important;
  color: #FAF6EE !important; margin-bottom: 1rem; position: relative; z-index: 1;
  border: none !important;
}
.bj-cta h2 em { font-style: italic; color: var(--gold-pale); }
.bj-cta > p {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.1rem; color: rgba(250,246,238,0.7);
  margin-bottom: 2.5rem; position: relative; z-index: 1;
}
.cta-actions { display: flex; gap: 1.2rem; justify-content: center; position: relative; z-index: 1; }

/* ── FOOTER ──────────────────────────────────────────────── */
#bj-footer {
  border-top: 1px solid rgba(166,124,46,0.15);
  background: var(--cream); padding: 4rem 5rem 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem;
}
.footer-brand .logo {
  font-family: 'Cinzel', serif; font-size: 1.1rem; letter-spacing: 0.18em;
  color: var(--gold) !important; display: block; margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.82rem; color: var(--warm-gray); line-height: 1.8; }
.footer-col h4 {
  font-family: 'Cinzel', serif; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none !important; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { font-size: 0.82rem; color: var(--warm-gray) !important; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--gold) !important; }
.footer-bottom {
  border-top: 1px solid rgba(166,124,46,0.12);
  padding-top: 2rem; display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--warm-gray); margin: 0; }
.footer-license { font-size: 0.72rem; color: var(--warm-gray); letter-spacing: 0.08em; }

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem;
  background: #25D366; color: white !important;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 9998; transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); color: white !important; }

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s, transform 0.8s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.3); }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  #bj-nav { padding: 1.2rem 2rem; }
  .nav-links { display: none; }
  .bj-packages, .bj-journey, .bj-destinations, .bj-testimonials { padding: 5rem 2rem; }
  .packages-grid { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-visual { display: none; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .dest-card:first-child { grid-row: span 1; grid-column: span 2; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .bj-cta { margin: 0 2rem 5rem; padding: 3rem 2rem; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  #bj-footer { padding: 3rem 2rem 2rem; }
}
@media (max-width: 600px) {
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card:first-child { grid-column: span 1; }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .bj-cta { margin: 0 1rem 4rem; }
}
