/* Baitullah Travels website — navy & gold, same colours as the CRM quotation PDFs */
:root {
    --navy: #0C1B33;
    --navy-2: #13264a;
    --gold: #C8A951;
    --gold-dark: #a8893a;
    --gold-soft: #f6efd9;
    --bg: #ffffff;
    --bg-alt: #F7F8FC;
    --text: #1f2937;
    --muted: #64748b;
    --line: #e5e7eb;
    --wa: #25D366;
    --makkah: #0C1B33;
    --madinah: #15803d;
    --radius: 14px;
    --shadow: 0 8px 28px rgba(12, 27, 51, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Poppins', 'Inter', Arial, sans-serif; color: var(--navy); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; }
h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; margin: 8px 0 0; }
.pre-line { white-space: pre-line; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: .2s; font-family: inherit; text-align: center; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; margin-top: 10px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

/* top bar + header */
.topbar { background: var(--navy); color: #cbd5e1; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #e2e8f0; margin-left: 18px; }
.topbar a:hover { color: var(--gold); }
.header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 14px rgba(12, 27, 51, .08); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.logo img { height: 52px; width: auto; }
.logo-text { font-family: 'Poppins', sans-serif; font-size: 20px; color: var(--navy); }
.logo-text strong { color: var(--gold-dark); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .nav-drop > a { padding: 10px 14px; color: var(--navy); font-weight: 500; border-radius: 8px; }
.nav > a.active, .nav-drop > a.active, .nav > a:hover, .nav-drop > a:hover { color: var(--gold-dark); }
.nav .btn { margin-left: 8px; }
.nav-drop { position: relative; }
.nav-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 8px; }
.nav-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: 15px; }
.nav-menu a:hover { background: var(--bg-alt); color: var(--navy); }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: block; }
.nav-toggle { display: none; background: none; border: 0; font-size: 28px; color: var(--navy); cursor: pointer; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% 0%, rgba(200, 169, 81, .22), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(45deg, rgba(255, 255, 255, .035) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .035) 75%), linear-gradient(45deg, rgba(255, 255, 255, .035) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .035) 75%); background-size: 36px 36px; background-position: 0 0, 18px 18px; pointer-events: none; }
/* Banner photo (from CRM → Website Settings, or the built-in one) with a navy overlay so the text stays readable */
.hero.has-photo { background-color: var(--navy); background-size: cover; background-position: center; }
.hero.has-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 27, 51, .82) 0%, rgba(12, 27, 51, .6) 40%, rgba(12, 27, 51, .28) 72%, rgba(12, 27, 51, .15) 100%); }
.hero.has-photo::after { display: none; }
.hero.has-photo h1, .hero.has-photo .lead, .hero.has-photo .eyebrow { text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { color: #fff; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.eyebrow.dark { color: var(--gold-dark); }
.lead { font-size: 18px; color: #dbe3ef; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.hero-card-title { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--navy); font-size: 18px; margin-bottom: 12px; }
.hero-cat { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; color: var(--navy); font-weight: 500; transition: .2s; }
.hero-cat:hover { border-color: var(--gold); background: var(--gold-soft); color: var(--navy); }
.hero-cat-n { background: var(--navy); color: #fff; font-size: 12px; border-radius: 999px; padding: 2px 9px; }
.hero-call { display: block; text-align: center; margin-top: 14px; font-weight: 600; color: var(--navy); }

/* sections */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { margin: 0; }
.link-more { font-weight: 600; white-space: nowrap; }
.empty { background: var(--bg-alt); border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* package card */
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--text); transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(12, 27, 51, .16); color: var(--text); }
.pcard-img { position: relative; height: 200px; background: var(--navy) center/cover no-repeat; }
.pcard-ph { width: 100%; height: 100%; object-fit: cover; }
.pcard-cat { position: absolute; top: 12px; left: 12px; background: rgba(12, 27, 51, .88); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.pcard-nights { position: absolute; bottom: 12px; right: 12px; background: var(--gold); color: var(--navy); font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.pcard-body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard-title { font-size: 18px; margin-bottom: 10px; }
.pcard-line { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-makkah { background: var(--makkah); }
.dot-madinah { background: var(--madinah); }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.pcard-tags span { background: var(--bg-alt); border: 1px solid var(--line); font-size: 12px; padding: 3px 9px; border-radius: 999px; color: var(--navy); }
.pcard-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.pcard-from { font-size: 12px; color: var(--muted); }
.pcard-price { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 21px; color: var(--navy); }
.pcard-price.small { font-size: 16px; }
.pcard-pp { display: block; font-size: 12px; color: var(--muted); }
.pcard-btn { color: var(--gold-dark); font-weight: 600; font-size: 14px; }

/* categories + features */
.grid-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cat-tile { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; color: var(--navy); border: 1px solid transparent; transition: .2s; }
.cat-tile:hover { border-color: var(--gold); color: var(--navy); }
.cat-icon { font-size: 28px; }
.cat-name { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 17px; }
.cat-n { font-size: 14px; color: var(--muted); }
.feature { text-align: center; padding: 10px; }
.f-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--gold-soft); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.feature p { color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 48px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #cbd5e1; margin: 0; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* page head + breadcrumbs */
.page-head { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 40px 0 34px; }
.page-head h1 { color: #fff; margin-bottom: 8px; }
.crumbs { font-size: 14px; color: #94a3b8; margin-bottom: 10px; }
.crumbs a { color: #cbd5e1; }
.crumbs a:hover { color: var(--gold); }
.lead-sm { color: #cbd5e1; margin: 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.meta { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); padding: 5px 12px; border-radius: 999px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-size: 14px; font-weight: 500; background: #fff; }
.chip span { color: var(--muted); margin-left: 4px; }
.chip.active, .chip:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.active span, .chip:hover span { color: var(--gold); }

/* package detail */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.gallery-main { height: 420px; border-radius: var(--radius); background: var(--navy) center/cover no-repeat; overflow: hidden; }
.gallery-ph { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumb { width: 96px; height: 66px; flex-shrink: 0; border-radius: 8px; background: center/cover no-repeat; border: 3px solid transparent; cursor: pointer; opacity: .75; }
.thumb.active, .thumb:hover { border-color: var(--gold); opacity: 1; }
.block { margin-top: 32px; }
.hotel { display: flex; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.hotel h3 { margin-bottom: 6px; }
.hotel-body { min-width: 0; }
.hotel-city { writing-mode: vertical-rl; transform: rotate(180deg); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 10px 6px; border-radius: 8px; text-align: center; }
.c-makkah { background: var(--makkah); }
.c-madinah { background: var(--madinah); }
.hotel-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.hotel-facts span { background: var(--bg-alt); border: 1px solid var(--line); font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.hotel-facts .tag-blue { background: #e0ecff; border-color: #c7dbff; color: #1d4ed8; }
.ticks { list-style: none; padding: 0; margin: 0 0 12px; }
.ticks li { position: relative; padding: 6px 0 6px 30px; }
.ticks li::before { content: '\2713'; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ticks li.sub { padding-top: 0; color: var(--muted); font-size: 14px; }
.ticks li.sub::before { display: none; }

.detail-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.price-box, .book-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; border-top: 4px solid var(--gold); }
.price-from { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.price-from strong { font-family: 'Poppins', sans-serif; font-size: 28px; color: var(--navy); display: block; line-height: 1.2; }
.price-from span { font-size: 13px; }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 6px; font-size: 15px; }
.price-table th { text-align: left; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.price-table th:last-child, .price-table td:last-child { text-align: right; }
.price-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.price-table td:last-child { font-weight: 700; color: var(--navy); }
.book-box h2 { font-size: 20px; }

/* forms */
.form label { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 12px; }
.form input, .form textarea { display: block; width: 100%; margin-top: 5px; padding: 11px 13px; border: 1px solid #cfd6e1; border-radius: 10px; font: inherit; font-size: 15px; color: var(--text); background: #fff; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 169, 81, .2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 15px; }
.alert.ok { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert.err { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* about + contact */
.about-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.prose { font-size: 17px; }
.prose h2 { margin-top: 28px; }
.lead-dark { font-size: 21px; color: var(--navy); font-family: 'Poppins', sans-serif; }
.about-card { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.contact-card { display: flex; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); }
a.contact-card:hover { border-color: var(--gold); color: var(--text); }
.contact-card strong { display: block; color: var(--navy); font-size: 14px; }
.contact-card span:last-child { font-size: 15px; word-break: break-word; }
.cc-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 320px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* footer */
.footer { background: var(--navy); color: #cbd5e1; padding-top: 52px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; }
.footer-brand { font-family: 'Poppins', sans-serif; color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.footer-head { color: var(--gold); font-weight: 600; margin-bottom: 12px; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
.footer a { display: block; color: #cbd5e1; margin-bottom: 7px; font-size: 15px; }
.footer a:hover { color: var(--gold); }
.footer-text { font-size: 15px; color: #94a3b8; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; color: #fff; margin: 0; }
.social a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; font-size: 14px; color: #94a3b8; }

.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); z-index: 60; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* responsive */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .detail-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .detail-side { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; box-shadow: 0 12px 24px rgba(12, 27, 51, .12); }
    .nav.open { display: flex; }
    .nav-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 12px; }
    .nav .btn { margin: 8px 0 0; }
    .header-in { position: relative; }
    .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 48px; gap: 28px; }
    .hide-sm, .topbar-item { display: none; }
    .hero.has-photo::before { background: rgba(12, 27, 51, .68); }
    .topbar-in { justify-content: center; }
    .gallery-main { height: 260px; }
}
@media (max-width: 600px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .grid-3, .grid-4, .contact-cards, .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-in { grid-template-columns: minmax(0, 1fr); }
    .page-head h1 { font-size: 26px; }
    .section { padding: 44px 0; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .logo img { height: 42px; }
    .logo-text { font-size: 17px; }
    .cta-in { flex-direction: column; align-items: flex-start; }
}
