/* ===== Elaaf-e-Kaaba Travels & Tours — Theme ===== */
:root {
  --gold: #C9971C;
  --gold-light: #E8C766;
  --gold-soft: #FBF5E6;
  --maroon: #8E1B24;
  --red: #D7262E;
  --ink: #1E1A16;
  --muted: #6B6259;
  --cream: #FFFCF6;
  --border: #EADFC8;
  --radius: 14px;
}

body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}
h1, h2, h3, h4, .serif { font-family: "Playfair Display", Georgia, serif; }
.urdu { font-family: "Noto Nastaliq Urdu", serif; line-height: 2.2; direction: rtl; }
a { color: var(--maroon); }

.text-gold { color: var(--gold) !important; }
.text-maroon { color: var(--maroon) !important; }
.bg-gold-soft { background: var(--gold-soft); }
.bg-maroon { background: var(--maroon); }

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #2a1d05; font-weight: 600; border: 0; border-radius: 50px; padding: .7rem 1.6rem;
}
.btn-gold:hover { filter: brightness(1.05); color: #2a1d05; }
.btn-maroon { background: var(--maroon); color: #fff; border-radius: 50px; padding: .7rem 1.6rem; font-weight: 600; border: 0; }
.btn-maroon:hover { background: #6f141b; color: #fff; }
.btn-outline-light { border-radius: 50px; padding: .7rem 1.6rem; }

/* Top bar */
.topbar { background: var(--maroon); color: #f5e9d0; font-size: .85rem; }
.topbar a { color: #f5e9d0; text-decoration: none; }

/* Navbar */
.navbar { background: #fff; box-shadow: 0 2px 18px rgba(0,0,0,.06); }
.navbar-brand img { height: 62px; }
.brand-text strong { display:block; font-family:"Playfair Display",serif; color: var(--maroon); font-size: 1.15rem; line-height: 1.1; }
.brand-text small { color: var(--gold); letter-spacing: 2px; font-size: .65rem; }
.navbar .nav-link { font-weight: 500; color: var(--ink); margin: 0 .35rem; }
.navbar .nav-link.active, .navbar .nav-link:hover { color: var(--maroon); }

/* Hero */
.hero {
  position: relative; color: #fff; min-height: 88vh; display: flex; align-items: center;
  background: linear-gradient(110deg, rgba(30,15,10,.88) 30%, rgba(30,15,10,.35)),
    url("https://images.unsplash.com/photo-1720549973451-018d3623b55a?w=1800&q=80") center/cover no-repeat;
}
.hero .eyebrow { color: var(--gold-light); letter-spacing: 3px; font-size: .8rem; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.15; }
.hero .verse { color: var(--gold-light); font-size: 1.6rem; }
.hero-stats .stat strong { font-size: 1.6rem; color: var(--gold-light); display:block; font-family:"Playfair Display",serif; }
.hero-stats .stat span { font-size: .8rem; color: #e8dccb; }

.page-hero {
  color:#fff; padding: 110px 0 70px;
  background: linear-gradient(rgba(40,15,12,.82), rgba(40,15,12,.82)),
    url("https://images.unsplash.com/photo-1605976528013-638e49b6599f?w=1800&q=80") center/cover;
}
.page-hero.tickets {
  background: linear-gradient(rgba(40,15,12,.8), rgba(40,15,12,.8)),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=1800&q=80") center/cover;
}

/* Search / quote box */
.quote-box { background:#fff; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.18); padding: 1.6rem; color: var(--ink); }
.quote-box label { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.form-control, .form-select { border-radius: 10px; border-color: var(--border); padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(201,151,28,.18); }

/* Sections */
section { padding: 80px 0; }
.section-title .eyebrow { color: var(--gold); letter-spacing: 3px; font-size: .78rem; text-transform: uppercase; font-weight: 600; }
.section-title h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--ink); }
.divider { width: 70px; height: 3px; background: var(--gold); margin: 14px auto 0; border-radius: 3px; }

/* Trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--border); padding: 26px 0; }
.trust-item { display:flex; align-items:center; gap:.75rem; }
.trust-item i { font-size: 1.8rem; color: var(--gold); }
.trust-item strong { display:block; font-size: .95rem; }
.trust-item span { font-size: .78rem; color: var(--muted); }

/* Package cards */
.pkg-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; height:100%; transition: .25s; display:flex; flex-direction:column; }
.pkg-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.1); }
.pkg-card .pkg-img { height: 190px; background-size: cover; background-position: center; position: relative; }
.pkg-card .badge-tier { position:absolute; top:14px; left:14px; background: var(--maroon); color:#fff; border-radius: 50px; padding: .3rem .9rem; font-size: .75rem; }
.pkg-card .badge-days { position:absolute; top:14px; right:14px; background: var(--gold); color:#2a1d05; border-radius: 50px; padding: .3rem .9rem; font-size: .75rem; font-weight:600; }
.pkg-card .pkg-body { padding: 1.3rem; flex:1; display:flex; flex-direction:column; }
.pkg-card h3 { font-size: 1.25rem; }
.hotel-line { font-size: .87rem; display:flex; gap:.5rem; margin-bottom:.35rem; }
.hotel-line i { color: var(--gold); }
.hotel-line .dist { margin-left:auto; font-size:.75rem; background: var(--gold-soft); color: var(--maroon); padding: 0 .55rem; border-radius: 50px; white-space: nowrap; }
.inc-list { list-style:none; padding:0; display:flex; flex-wrap:wrap; gap:.4rem; margin: .8rem 0; }
.inc-list li { font-size: .74rem; background:#f6f1e7; border-radius: 50px; padding: .2rem .65rem; }
.price-row { border-top: 1px dashed var(--border); padding-top: .9rem; margin-top:auto; }
.price-row small { color: var(--muted); font-size: .72rem; }
.price-row .price { font-size: 1.45rem; font-weight: 700; color: var(--maroon); font-family:"Playfair Display",serif; }
.sharing-table { font-size:.8rem; width:100%; margin-bottom:.8rem; }
.sharing-table td { padding: .2rem 0; }
.sharing-table td:last-child { text-align:right; font-weight:600; }

/* Filter pills */
.filter-pills .btn { border-radius: 50px; border:1px solid var(--border); background:#fff; font-size:.88rem; margin: .2rem; }
.filter-pills .btn.active { background: var(--maroon); color:#fff; border-color: var(--maroon); }

/* Service tiles */
.service-tile { background:#fff; border-radius: var(--radius); padding: 1.8rem 1.4rem; height:100%; border:1px solid var(--border); text-align:center; }
.service-tile .ico { width:64px; height:64px; border-radius:50%; background: var(--gold-soft); color: var(--maroon); display:grid; place-items:center; font-size:1.6rem; margin: 0 auto 1rem; }
.service-tile h4 { font-size: 1.1rem; }
.service-tile p { font-size:.88rem; color: var(--muted); margin:0; }

/* Steps */
.step { position:relative; padding-left: 70px; margin-bottom: 1.8rem; }
.step .num { position:absolute; left:0; top:0; width:50px; height:50px; border-radius:50%; background: var(--maroon); color: var(--gold-light); font-family:"Playfair Display",serif; font-size:1.3rem; display:grid; place-items:center; }

/* Testimonials */
.testi { background:#fff; border-radius: var(--radius); padding: 1.6rem; border:1px solid var(--border); height:100%; }
.testi .stars { color: var(--gold); }
.testi p { font-size: .92rem; color: #3b342d; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--maroon), #5a0f15); color:#fff; border-radius: 20px; padding: 3rem; }

/* FAQ */
.accordion-button:not(.collapsed) { background: var(--gold-soft); color: var(--maroon); box-shadow:none; }
.accordion-button:focus { box-shadow: none; }
.accordion-item { border-color: var(--border); }

/* Airline logos (text chips) */
.airline-chip { background:#fff; border:1px solid var(--border); border-radius: 12px; padding: 1rem; text-align:center; font-weight:600; height:100%; }
.airline-chip small { display:block; color: var(--muted); font-weight:400; font-size:.75rem; }

/* Footer */
footer { background: #1d1310; color: #cbbfae; padding-top: 60px; font-size: .9rem; }
footer h5 { color: var(--gold-light); font-family:"Playfair Display",serif; margin-bottom: 1rem; }
footer a { color:#cbbfae; text-decoration:none; }
footer a:hover { color: var(--gold-light); }
footer .logo-round { width: 90px; background:#fff; border-radius:50%; padding:4px; }
.copyright { border-top: 1px solid #3a2c25; padding: 18px 0; margin-top: 40px; font-size: .8rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color:#fff; display:grid; place-items:center; font-size: 1.8rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 999; text-decoration:none; }
.wa-float:hover { color:#fff; transform: scale(1.06); }

@media (max-width: 767px) {
  section { padding: 56px 0; }
  .hero { min-height: auto; padding: 70px 0; }
  .navbar-brand img { height: 50px; }
  .cta-band { padding: 2rem 1.4rem; }
}

/* Dropdown + service tile hover */
.dropdown-item { font-size: .9rem; padding: .5rem 1.1rem; }
.dropdown-item:hover { background: var(--gold-soft); color: var(--maroon); }
.service-tile { transition: .25s; }
.service-tile.position-relative:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.08); border-color: var(--gold); }

/* Nav fit */
.navbar .nav-link { white-space: nowrap; margin: 0 .15rem; font-size: .95rem; }
.navbar .btn-gold { white-space: nowrap; padding: .55rem 1.2rem; }
@media (min-width: 992px) and (max-width: 1399px) { .brand-text { display: none !important; } .navbar .nav-link { font-size: .9rem; } }

/* ===== Hero video ===== */
.hero { background: #1e0f0a; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(110deg, rgba(30,15,10,.9) 25%, rgba(30,15,10,.45) 65%, rgba(30,15,10,.25)); }
.hero > .container { position: relative; z-index: 2; }

/* Hero entrance */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.hero-content > * { opacity: 0; animation: fadeUp .9s ease forwards; }
.hero-content > *:nth-child(1) { animation-delay: .2s; }
.hero-content > *:nth-child(2) { animation-delay: .35s; }
.hero-content > *:nth-child(3) { animation-delay: .5s; }
.hero-content > *:nth-child(4) { animation-delay: .65s; }
.hero-content > *:nth-child(5) { animation-delay: .8s; }
.hero-content > *:nth-child(6) { animation-delay: .95s; }
.hero-form { opacity: 0; animation: fadeLeft 1s .6s ease forwards; }
.page-hero h1, .page-hero .lead, .page-hero nav, .page-hero .urdu { opacity: 0; animation: fadeUp .8s ease forwards; }
.page-hero .lead { animation-delay: .2s; }

/* Gold shimmer on hero highlight */
@keyframes shimmer { to { background-position: 200% center; } }
.hero h1 .text-gold { background: linear-gradient(90deg, var(--gold), #fff3c4, var(--gold)); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: shimmer 4s linear infinite; }

/* Scroll cue */
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--gold-light); font-size: 1.6rem; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* Navbar shrink */
.navbar { transition: padding .3s, box-shadow .3s; }
.navbar.scrolled { padding-top: .2rem !important; padding-bottom: .2rem !important; box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.navbar.scrolled .navbar-brand img { height: 50px; transition: height .3s; }

/* Buttons */
.btn-gold, .btn-maroon { transition: transform .2s, box-shadow .2s, filter .2s; }
.btn-gold:hover, .btn-maroon:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(142,27,36,.25); }

/* Image zoom on package cards */
.pkg-card .pkg-img { transition: transform .6s; }
.pkg-card:hover .pkg-img { transform: scale(1.06); }
.pkg-card .pkg-img .badge-tier, .pkg-card .pkg-img .badge-days { transition: transform .6s; }
.pkg-card:hover .pkg-img .badge-tier, .pkg-card:hover .pkg-img .badge-days { transform: scale(.945); }

/* Service icon spin */
.service-tile .ico { transition: transform .5s, background .3s, color .3s; }
.service-tile:hover .ico { transform: rotateY(360deg); background: var(--maroon); color: var(--gold-light); }

/* WhatsApp pulse */
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: pulse 2s infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* Back to top */
.to-top { position: fixed; right: 26px; bottom: 92px; width: 44px; height: 44px; border-radius: 50%; background: var(--maroon); color: var(--gold-light);
  display: grid; place-items: center; z-index: 998; opacity: 0; pointer-events: none; transition: .3s; text-decoration: none; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-content > *, .hero-form, .page-hero h1, .page-hero .lead, .page-hero nav, .page-hero .urdu { opacity: 1; }
  .hero-video { display: none; }
}

.hero-stats .stat strong .counter { font-size: inherit; color: inherit; }

/* ===== WordPress / Elementor fixes ===== */
.elementor-widget[class*="elementor-widget-ek_"] { margin-bottom: 0 !important; --widgets-spacing: 0; }
.elementor-section:has(> .elementor-container .elementor-widget[class*="elementor-widget-ek_"]) > .elementor-container { max-width: 100% !important; }
.elementor-column-gap-no > .elementor-column > .elementor-element-populated { padding: 0; }
.e-con:has(> .elementor-widget[class*="elementor-widget-ek_"]) { --padding-top:0px; --padding-bottom:0px; --padding-left:0px; --padding-right:0px; --content-width:100%; --gap:0px; --row-gap:0px; --widgets-spacing:0px; }
.navbar .menu-item a { text-decoration: none; }
.admin-bar .navbar.sticky-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .navbar.sticky-top { top: 46px; } }
.entry-content { padding: 60px 0; }
.ek-pkg-single .spec-table td { padding: .55rem .2rem; border-bottom: 1px dashed var(--border); }
