/* Bahar-e-Haram Tours — Premium travel UI layer */

:root {
    --bhe-gold: #c9a227;
    --bhe-gold-light: #f0d78c;
    --bhe-gold-dark: #9a7b1a;
    --bhe-walnut: #120d06;
    --bhe-walnut-soft: #1f1609;
    --bhe-green: #1e4d3f;
    --bhe-green-light: #2d6b58;
    --bhe-cream: #faf7f0;
    --bhe-sand: #f3ede3;
    --bhe-text: #1a1510;
    --bhe-muted: #6b6560;
    --bhe-radius: 18px;
    --bhe-radius-lg: 26px;
    --bhe-radius-xl: 36px;
    --bhe-shadow-sm: 0 4px 20px rgba(18, 13, 6, 0.06);
    --bhe-shadow: 0 16px 48px rgba(18, 13, 6, 0.1);
    --bhe-shadow-lg: 0 28px 64px rgba(18, 13, 6, 0.14);
    --bhe-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --bhe-font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --bhe-font-body: 'Plus Jakarta Sans', 'Poppins', system-ui, sans-serif;
}

.bhe-site {
    font-family: var(--bhe-font-body);
    color: var(--bhe-text);
    background: var(--bhe-cream);
}

.bhe-site h1,
.bhe-site h2,
.bhe-site h3,
.bhe-site .bhe-hero-title {
    font-family: var(--bhe-font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ========== SCROLL REVEAL ========== */
[data-bhe-reveal],
.bhe-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s var(--bhe-ease), transform 0.75s var(--bhe-ease);
}

[data-bhe-reveal].is-visible,
.bhe-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-bhe-reveal-delay="1"] { transition-delay: 0.1s; }
[data-bhe-reveal-delay="2"] { transition-delay: 0.2s; }
[data-bhe-reveal-delay="3"] { transition-delay: 0.3s; }
[data-bhe-reveal-delay="4"] { transition-delay: 0.4s; }

/* ========== HEADER ========== */
.bhe-header {
    padding: 12px 0;
    transition: padding 0.35s var(--bhe-ease), background 0.35s;
}

.bhe-header .bhe-container {
    border-radius: 999px;
    background: rgba(12, 9, 5, 0.55);
    border: 1px solid rgba(201, 162, 39, 0.22);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
    transition: background 0.35s, box-shadow 0.35s, transform 0.35s;
}

.bhe-header.scrolled .bhe-container {
    background: rgba(12, 9, 5, 0.92);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.bhe-nav a {
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
}

.bhe-nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: var(--bhe-gold-light);
    border-radius: 2px;
    transition: width 0.3s var(--bhe-ease), left 0.3s var(--bhe-ease);
}

.bhe-nav a:hover::after,
.bhe-nav a.active::after {
    width: 60%;
    left: 20%;
}

.bhe-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bhe-gold-light), var(--bhe-gold));
    box-shadow: 0 6px 24px rgba(201, 162, 39, 0.35);
}

.bhe-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.6s var(--bhe-ease);
}

.bhe-cta:hover::before {
    transform: translateX(120%);
}

.bhe-header-quick {
    display: none;
    align-items: center;
    gap: 6px;
}

.bhe-header-quick a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.25s, box-shadow 0.25s;
}

.bhe-header-quick a:hover {
    transform: translateY(-2px);
    color: #fff;
}

.bhe-header-quick .bhe-hq-wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.bhe-header-quick .bhe-hq-call {
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid rgba(201, 162, 39, 0.45);
    color: var(--bhe-gold-light);
}

@media (min-width: 992px) {
    .bhe-header-quick { display: flex; }
}

/* Mobile menu premium */
.bhe-mobile-menu {
    background: linear-gradient(165deg, rgba(14, 10, 6, 0.98), rgba(6, 4, 2, 0.99));
}

.bhe-mobile-menu .bhe-mobile-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.bhe-mobile-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 600;
}

.bhe-mobile-contact .mc-wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
}

.bhe-mobile-contact .mc-call {
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: var(--bhe-gold-light);
}

/* ========== HERO ========== */
.bhe-hero {
    min-height: clamp(520px, 88svh, 920px) !important;
    background: var(--bhe-walnut);
}

.bhe-hero .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(8, 6, 4, 0.35) 0%,
        rgba(8, 6, 4, 0.08) 35%,
        rgba(8, 6, 4, 0.55) 100%
    ) !important;
}

.bhe-hero .hero-slide.active img {
    animation: bheKenBurns 14s ease-out forwards;
}

@media (max-width: 991px) {
    .bhe-hero .hero-slide.active img {
        animation: none;
    }
}

@keyframes bheKenBurns {
    from { transform: scale(1.04); }
    to { transform: scale(1.1); }
}

.bhe-hero-inner {
    position: absolute;
    left: 50%;
    bottom: clamp(88px, 14vh, 140px);
    transform: translateX(-50%);
    width: min(92%, 820px);
    text-align: center;
    z-index: 8;
    padding: 0 16px;
}

.bhe-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    margin-bottom: 16px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bhe-gold-light);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(201, 162, 39, 0.45);
    backdrop-filter: blur(10px);
}

.bhe-hero-title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 6.5vw, 3.75rem);
    line-height: 1.08;
    color: #fff;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}

.bhe-hero-subtitle {
    margin: 0 auto 28px;
    max-width: 52ch;
    font-size: clamp(0.95rem, 2.4vw, 1.12rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
}

.bhe-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 22px;
}

.bhe-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s var(--bhe-ease), box-shadow 0.3s, background 0.3s;
}

.bhe-hero-btn--primary {
    background: linear-gradient(135deg, var(--bhe-gold-light), var(--bhe-gold));
    color: var(--bhe-walnut);
    box-shadow: 0 10px 32px rgba(201, 162, 39, 0.4);
}

.bhe-hero-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(201, 162, 39, 0.5);
    color: var(--bhe-walnut);
}

.bhe-hero-btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
}

.bhe-hero-btn--ghost:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25d366;
    color: #fff;
    transform: translateY(-3px);
}

.bhe-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

.bhe-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.bhe-hero-trust i {
    color: var(--bhe-gold-light);
}

/* Hide legacy corner hero elements when premium inner is present */
.bhe-hero-inner ~ .hero-slide-label,
.bhe-hero-inner ~ .hero-ghost-btn {
    display: none !important;
}

.bhe-hero .hero-dots {
    bottom: clamp(52px, 8vh, 72px) !important;
}

.bhe-hero .hero-dot {
    width: 10px;
    height: 10px;
    transition: all 0.35s var(--bhe-ease);
}

.bhe-hero .hero-dot.active {
    width: 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bhe-gold), var(--bhe-gold-light));
}

.bhe-hero .hero-progress {
    bottom: clamp(36px, 5vh, 48px) !important;
    width: min(200px, 40vw);
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
}

/* Section rail */
.bhe-section-rail {
    position: sticky;
    top: calc(var(--bhe-header-h, 74px) - 4px);
    z-index: 900;
    background: rgba(250, 247, 240, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(18, 13, 6, 0.06);
    box-shadow: 0 4px 24px rgba(18, 13, 6, 0.04);
}

.bhe-section-rail-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 16px;
    max-width: 1320px;
    margin: 0 auto;
}

.bhe-section-rail-inner::-webkit-scrollbar { display: none; }

.bhe-section-rail a {
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--bhe-muted);
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.3s var(--bhe-ease);
}

.bhe-section-rail a:hover,
.bhe-section-rail a.is-active {
    color: var(--bhe-walnut);
    background: linear-gradient(135deg, var(--bhe-gold-light), var(--bhe-gold));
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.25);
    transform: translateY(-1px);
}

/* ========== PAGE HERO ========== */
.bhe-page-hero__bg {
    transition: transform 8s ease-out;
}

.bhe-page-hero.is-visible .bhe-page-hero__bg {
    transform: scale(1.06);
}

.bhe-page-hero::before {
    background: linear-gradient(
        155deg,
        rgba(18, 13, 6, 0.72) 0%,
        rgba(30, 77, 63, 0.45) 55%,
        rgba(18, 13, 6, 0.65) 100%
    ) !important;
}

/* ========== PACKAGE CARDS (kp-card on homepage) ========== */
.kp-card {
    border-radius: var(--bhe-radius-lg) !important;
    border: 1px solid rgba(18, 13, 6, 0.06) !important;
    box-shadow: var(--bhe-shadow-sm) !important;
    overflow: hidden;
    transition: transform 0.45s var(--bhe-ease), box-shadow 0.45s var(--bhe-ease) !important;
}

.kp-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--bhe-shadow-lg) !important;
}

.kp-card-media img {
    transition: transform 0.7s var(--bhe-ease) !important;
}

.kp-card:hover .kp-card-media img {
    transform: scale(1.06) !important;
}

.kp-card--featured {
    border: 2px solid rgba(201, 162, 39, 0.45) !important;
    box-shadow: 0 20px 50px rgba(201, 162, 39, 0.15) !important;
}

.kp-btn {
    border-radius: 999px !important;
    font-weight: 700 !important;
    transition: transform 0.25s, box-shadow 0.25s !important;
}

.kp-btn:hover {
    transform: translateY(-2px) !important;
}

/* ========== PACKAGES PAGE CARDS ========== */
.package-card {
    border-radius: var(--bhe-radius-lg) !important;
    border: 1px solid rgba(18, 13, 6, 0.06) !important;
    box-shadow: var(--bhe-shadow-sm) !important;
    transition: transform 0.45s var(--bhe-ease), box-shadow 0.45s !important;
}

.package-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--bhe-shadow-lg) !important;
}

.package-card-img {
    background: var(--bhe-walnut) !important;
}

.package-card-img img {
    transition: transform 0.7s var(--bhe-ease);
}

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

.package-card-img-overlay {
    background: linear-gradient(180deg, transparent 20%, rgba(12, 9, 5, 0.82) 100%) !important;
}

.package-card-feature i {
    color: var(--bhe-green) !important;
}

.package-card-btn.btn-primary {
    background: linear-gradient(135deg, var(--bhe-gold-light), var(--bhe-gold)) !important;
    color: var(--bhe-walnut) !important;
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.3) !important;
    border-radius: 999px !important;
}

.package-card-btn.btn-secondary {
    color: var(--bhe-green) !important;
    border: 1.5px solid rgba(30, 77, 63, 0.25) !important;
    border-radius: 999px !important;
    background: #fff !important;
}

.kashmir-packages-section .section-title .bhe-packages-badge {
    color: var(--bhe-green) !important;
    border: 1px solid rgba(30, 77, 63, 0.12);
    border-radius: 999px !important;
    padding: 10px 20px !important;
}

/* ========== SECTIONS & CARDS ========== */
.bhe-section {
    padding: clamp(56px, 9vw, 96px) 0;
}

.bhe-section-head .eyebrow {
    color: var(--bhe-green);
    font-weight: 700;
    letter-spacing: 0.12em;
}

.bhe-card {
    border-radius: var(--bhe-radius-lg);
    border: 1px solid rgba(18, 13, 6, 0.05);
    transition: transform 0.4s var(--bhe-ease), box-shadow 0.4s;
}

.bhe-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--bhe-shadow-lg);
}

.bhe-dest-card {
    border-radius: var(--bhe-radius-lg);
    transition: transform 0.4s var(--bhe-ease), box-shadow 0.4s;
}

.bhe-dest-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--bhe-shadow-lg);
}

.bhe-btn--primary {
    background: linear-gradient(135deg, var(--bhe-gold-light), var(--bhe-gold));
    color: var(--bhe-walnut);
}

.bhe-btn--green {
    background: linear-gradient(135deg, var(--bhe-green-light), var(--bhe-green));
}

/* ========== FOOTER ========== */
.bhe-footer {
    margin-top: 0;
}

.bhe-footer-main {
    background: linear-gradient(180deg, var(--bhe-walnut-soft), var(--bhe-walnut));
    padding: clamp(48px, 7vw, 72px) 0 28px;
}

.bhe-footer-social a {
    transition: transform 0.3s var(--bhe-ease), background 0.3s;
}

.bhe-footer-social a:hover {
    transform: translateY(-3px);
    background: rgba(201, 162, 39, 0.28);
}

.bhe-footer-links a {
    transition: color 0.2s, padding-left 0.2s;
}

.bhe-footer-links a:hover {
    padding-left: 4px;
}

/* ========== CONTACT FAB ========== */
.bhe-fab {
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--bhe-ease);
    pointer-events: none;
}

.bhe-fab.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.bhe-fab-toggle {
    position: relative;
    animation: bheFabPulse 2.5s ease-in-out infinite;
}

.bhe-fab-toggle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: bheFabRing 2.5s ease-out infinite;
    pointer-events: none;
}

@keyframes bheFabPulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(45, 91, 77, 0.4); }
    50% { box-shadow: 0 12px 36px rgba(45, 91, 77, 0.55); }
}

@keyframes bheFabRing {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.35); opacity: 0; }
}

.bhe-fab-action {
    transition: transform 0.3s var(--bhe-ease), box-shadow 0.3s;
}

.bhe-fab-action:hover {
    transform: scale(1.1) translateY(-2px);
}

.bhe-fab-call {
    background: linear-gradient(135deg, var(--bhe-gold-light), var(--bhe-gold)) !important;
    color: var(--bhe-walnut) !important;
}

.bhe-fab-menu .bhe-fab-action {
    animation: bheFabIn 0.35s var(--bhe-ease) backwards;
}

.bhe-fab.is-open .bhe-fab-menu .bhe-fab-action:nth-child(1) { animation-delay: 0.05s; }
.bhe-fab.is-open .bhe-fab-menu .bhe-fab-action:nth-child(2) { animation-delay: 0.1s; }
.bhe-fab.is-open .bhe-fab-menu .bhe-fab-action:nth-child(3) { animation-delay: 0.15s; }

@keyframes bheFabIn {
    from { opacity: 0; transform: translateY(12px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Sticky mobile contact bar */
.bhe-mobile-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9980;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(12, 9, 5, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(201, 162, 39, 0.2);
    gap: 10px;
}

.bhe-mobile-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
}

.bhe-mobile-bar a:active {
    transform: scale(0.98);
}

.bhe-mobile-bar .mb-wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
}

.bhe-mobile-bar .mb-call {
    background: linear-gradient(135deg, var(--bhe-gold-light), var(--bhe-gold));
    color: var(--bhe-walnut);
}

@media (max-width: 767px) {
    .bhe-mobile-bar {
        display: flex;
    }

    body.bhe-site {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .bhe-fab {
        bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    }

    .bhe-hero-inner {
        bottom: clamp(72px, 12vh, 110px);
    }

    .bhe-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bhe-hero-btn {
        width: 100%;
    }

    .bhe-hero-trust {
        font-size: 0.72rem;
        gap: 10px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bhe-hero .hero-slide.active img,
    .bhe-fab-toggle,
    .bhe-fab-toggle::before {
        animation: none !important;
    }

    [data-bhe-reveal],
    .bhe-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
