/* =====================================================
   SAFAR-E-KAABA — GLOBAL STYLESHEET
   ===================================================== */

:root {
  --gold: #B8962E;
  --gold-light: #D4AF55;
  --gold-pale: #F5E9C8;
  --green: #0A2118;
  --green-mid: #133426;
  --green-light: #1C5037;
  --green-soft: #EBF2EE;
  --white: #FFFFFF;
  --off-white: #FAF8F4;
  --text: #1A1A1A;
  --text-muted: #5A6B64;
  --border: #E2D9C8;
  --shadow-sm: 0 2px 12px rgba(10, 33, 24, 0.08);
  --shadow-md: 0 8px 32px rgba(10, 33, 24, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 33, 24, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
.font-display {
  font-family: 'Cormorant Garamond', serif;
}

.font-arabic {
  font-family: 'Scheherazade New', serif;
  direction: rtl;
}

/* ── UTILITIES ── */
.text-gold {
  color: var(--gold);
}

.bg-green {
  background: var(--green);
}

.section-pad {
  padding: 80px 0;
}

.section-pad-sm {
  padding: 50px 0;
}

/* ─── ANNOUNCEMENT BAR ─── */
.announce-bar {
  background: var(--green);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(184, 150, 46, 0.3);
}

.announce-bar .hijri {
  font-family: 'Scheherazade New', serif;
  font-size: 1rem;
  color: var(--gold-light);
  direction: rtl;
}

.announce-bar .phone-link {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}

.announce-bar .phone-link:hover {
  color: #fff;
}

.announce-bar .bismillah {
  font-family: 'Scheherazade New', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  direction: rtl;
}

/* ─── NAVBAR ─── */
.main-nav {
  background: var(--white);
  box-shadow: 0 2px 24px rgba(10, 33, 24, 0.08);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s;
}

.main-nav.scrolled {
  box-shadow: 0 4px 32px rgba(10, 33, 24, 0.16);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 14px 0;
}

.nav-brand-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold-light);
  box-shadow: 0 4px 12px rgba(10, 33, 24, 0.25);
}

.nav-brand-ar {
  display: block;
  font-family: 'Scheherazade New', serif;
  font-size: 0.82rem;
  color: var(--gold);
  direction: rtl;
}

.nav-brand-en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--green);
}

.main-nav .navbar-nav .nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text) !important;
  padding: 22px 15px !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
}

.main-nav .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s;
  border-radius: 2px 2px 0 0;
}

.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-link.active {
  color: var(--gold) !important;
}

.main-nav .navbar-nav .nav-link:hover::after,
.main-nav .navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.dropdown-menu {
  border: none;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
  animation: dropIn .2s ease;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.dropdown-item {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--text);
  transition: all .15s;
}

.dropdown-item:hover {
  background: var(--gold-pale);
  color: var(--green);
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green) !important;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 50px;
  padding: 9px 22px;
  transition: all .3s;
  box-shadow: 0 4px 14px rgba(184, 150, 46, 0.4);
  text-decoration: none;
  display: inline-block;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 150, 46, 0.5);
  color: var(--green) !important;
}

/* ─── SECTION HEADERS ─── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 580px;
}

/* ─── BUTTONS ─── */
.btn-primary-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green) !important;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 15px 36px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all .3s;
  box-shadow: 0 6px 24px rgba(184, 150, 46, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(184, 150, 46, 0.55);
  color: var(--green) !important;
}

.btn-outline-green {
  background: transparent;
  color: var(--green) !important;
  border: 2px solid var(--green);
  border-radius: 50px;
  padding: 13px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all .3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline-green:hover {
  background: var(--green);
  color: #fff !important;
}

.btn-outline-white {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  padding: 13px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all .3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff !important;
}

.btn-view-pkg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition: all .25s;
}

.btn-view-pkg:hover {
  background: var(--gold);
  color: var(--green);
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: linear-gradient(135deg, rgba(10, 33, 24, 0.97) 0%, rgba(28, 80, 55, 0.9) 100%),
    url('https://images.unsplash.com/photo-1564769625905-50e93615e769?w=1600&auto=format&fit=crop&q=80') center/cover no-repeat;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(184, 150, 46, 0.025) 40px, rgba(184, 150, 46, 0.025) 41px),
    repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(184, 150, 46, 0.025) 40px, rgba(184, 150, 46, 0.025) 41px);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184, 150, 46, 0.18);
  border: 1px solid rgba(184, 150, 46, 0.45);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}

.page-hero h1 em {
  color: var(--gold-light);
  font-style: italic;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color .2s;
}

.breadcrumb-nav a:hover {
  color: var(--gold-light);
}

.breadcrumb-nav span {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-nav strong {
  color: var(--gold-light);
}

/* ─── PKG CARDS ─── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media(max-width:992px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:576px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }
}

.pkg-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: all .3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pkg-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pkg-card.best-deal::before {
  content: 'Best Deal';
  position: absolute;
  top: 14px;
  left: -1px;
  background: var(--gold);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px 5px 10px;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  z-index: 2;
}

.pkg-img-wrap {
  height: 148px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--green-mid), var(--green));
}

.pkg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.pkg-card:hover .pkg-img-wrap img {
  transform: scale(1.06);
}

.pkg-stars-overlay {
  position: absolute;
  bottom: 10px;
  left: 12px;
  display: flex;
  gap: 3px;
}

.pkg-stars-overlay i {
  color: var(--gold-light);
  font-size: 0.75rem;
}

.pkg-star-label {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(10, 33, 24, 0.8);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pkg-body {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pkg-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
  line-height: 1.35;
}

.pkg-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.pkg-price .currency {
  font-size: 1.2rem;
  vertical-align: super;
  font-weight: 600;
  color: var(--gold);
}

.pkg-price-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pkg-includes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pkg-include-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-soft);
  color: var(--green-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.pkg-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-wa {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
}

.btn-wa:hover {
  background: #1ebe5d;
  color: #fff;
}

.btn-details {
  flex: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
}

.btn-details:hover {
  background: var(--gold);
  color: var(--green);
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, rgba(10, 33, 24, 0.95), rgba(28, 80, 55, 0.9)),
    url('https://images.unsplash.com/photo-1591604129939-f1efa4d9f7fa?w=1400&q=80') center/cover;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(184, 150, 46, 0.12), transparent 65%);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 36px;
}

.cta-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 20px auto;
}

/* ─── FOOTER ─── */
.main-footer {
  background: #060F0B;
  padding: 70px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  display: block;
}

.footer-brand-arabic {
  font-family: 'Scheherazade New', serif;
  font-size: 0.9rem;
  color: var(--gold-light);
  direction: rtl;
  display: block;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all .2s;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green);
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(184, 150, 46, 0.2);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '›';
  color: var(--gold);
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: rgba(184, 150, 46, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gold-light);
}

.footer-contact-item span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.footer-contact-item a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color .2s;
}

.footer-contact-item a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color .2s;
}

.footer-legal a:hover {
  color: var(--gold-light);
}

.footer-atol-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(184, 150, 46, 0.1);
  border: 1px solid rgba(184, 150, 46, 0.25);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 50px;
}

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: transform .3s;
  animation: waPulse 3s infinite;
}

.wa-float:hover {
  transform: scale(1.12);
  color: #fff;
  animation: none;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5)
  }

  50% {
    box-shadow: 0 6px 36px rgba(37, 211, 102, 0.75), 0 0 0 8px rgba(37, 211, 102, 0.1)
  }
}

/* ─── SCROLL ANIMATION ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media(max-width:991px) {
  .page-hero {
    padding: 70px 0 60px;
  }
}

@media(max-width:768px) {
  .section-pad {
    padding: 55px 0;
  }

  .announce-bar .bismillah {
    display: none;
  }
}

@media(max-width:480px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }
}