/* ==========================================================================
   ExploreBanaras — Premium Editorial Design System
   "Every Temple Has a Story. Every Ghat Has a History. Every Journey Has a Meaning."
   Palette: Warm Ivory, Pure White, Deep Maroon, Saffron, Antique Gold, Charcoal
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Primary Color Tokens */
    --bg-primary: #FAF7F0;        /* Warm Ivory base */
    --bg-surface: #FFFFFF;        /* Pure White card/surface */
    --bg-subtle: #F3EFE6;         /* Soft warm parchment */
    --bg-accent: #FFFDF9;         /* Off-white warm tint */
    --bg-dark-editorial: #1F1517; /* Deepest Espresso/Maroon for footer/hero accents */

    /* Heritage Brand Colors */
    --maroon-primary: #651C2D;    /* Deep Royal Maroon */
    --maroon-dark: #4A1220;       /* Dark Imperial Maroon */
    --maroon-light: #83273B;      /* Vibrant Rose Maroon */
    --maroon-subtle: rgba(101, 28, 45, 0.08);

    --saffron-primary: #D97706;   /* Sacred Saffron */
    --saffron-dark: #B45309;      /* Deep Ochre Saffron */
    --saffron-light: #F59E0B;     /* Golden Amber Saffron */
    --saffron-subtle: rgba(217, 119, 6, 0.10);
    --saffron-glow: 0 4px 20px rgba(217, 119, 6, 0.28);

    --gold-primary: #C49A50;      /* Antique Gold */
    --gold-dark: #9F7835;         /* Burnished Brass */
    --gold-light: #E8D5B0;        /* Pale Silk Gold */
    --gold-subtle: rgba(196, 154, 80, 0.15);

    /* Text & Neutral Tokens */
    --charcoal-primary: #252525;  /* Deep Charcoal body text */
    --charcoal-light: #3F3F46;    /* Medium Charcoal */
    --text-muted: #6B7280;        /* Slate Muted */
    --text-secondary: #4B5563;    /* Secondary Copy */

    /* Borders & Dividers */
    --border-color: #E7E1D4;      /* Soft Ivory Border */
    --border-hover: #C49A50;      /* Gold Border on hover */
    --border-gold: rgba(196, 154, 80, 0.40);

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-editorial: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Shadows & Elevations */
    --shadow-sm: 0 2px 8px rgba(37, 37, 37, 0.04);
    --shadow-md: 0 8px 24px rgba(101, 28, 45, 0.06);
    --shadow-lg: 0 16px 40px rgba(101, 28, 45, 0.10);
    --shadow-gold: 0 8px 30px rgba(196, 154, 80, 0.18);

    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    min-height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-primary);
    color: var(--charcoal-primary);
    font-family: var(--font-sans);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

main {
    flex: 1 0 auto;
    width: 100%;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.font-heading {
    font-family: var(--font-heading);
    color: var(--maroon-primary);
    letter-spacing: 0.03em;
    font-weight: 700;
}

.font-editorial {
    font-family: var(--font-editorial);
}

.font-sans {
    font-family: var(--font-sans);
}

p {
    color: var(--charcoal-light);
    margin-bottom: 1rem;
}

a {
    color: var(--maroon-primary);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--saffron-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Section Title Accents */
.ek-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--saffron-primary);
    margin-bottom: 0.5rem;
    position: relative;
}

.ek-eyebrow::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1.5px;
    background: var(--gold-primary);
    vertical-align: middle;
    margin-left: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--maroon-primary);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.section-subtitle {
    font-family: var(--font-editorial);
    font-size: 1.12rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.ek-topbar {
    background: var(--maroon-primary);
    color: var(--bg-primary);
    font-size: 0.82rem;
    padding: 0.45rem 1.5rem;
    border-bottom: 1px solid rgba(196, 154, 80, 0.25);
}

.ek-topbar a {
    color: var(--gold-light);
    font-size: 0.82rem;
}

.ek-topbar a:hover {
    color: #FFFFFF;
}

.ek-navbar-wrapper {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.ek-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    max-width: 1540px;
    width: 100%;
    margin: 0 auto;
}

.ek-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.ek-brand-symbol {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--maroon-primary), var(--maroon-dark));
    color: var(--gold-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid var(--gold-primary);
    box-shadow: 0 2px 8px rgba(101, 28, 45, 0.25);
    flex-shrink: 0;
}

.ek-brand-text {
    display: flex;
    flex-direction: column;
}

.ek-brand-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--maroon-primary);
    line-height: 1.1;
    white-space: nowrap;
}

.ek-brand-name span {
    color: var(--saffron-primary);
}

.ek-brand-tagline {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
    white-space: nowrap;
}

.ek-nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(0.35rem, 0.75vw, 0.95rem);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 1;
}

.ek-nav-menu > li {
    flex-shrink: 0;
}

.ek-nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--charcoal-primary);
    padding: 0.45rem 0.25rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.ek-nav-link:hover,
.ek-nav-link.active {
    color: var(--maroon-primary);
}

.ek-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--saffron-primary);
    transition: width 0.25s ease;
}

.ek-nav-link:hover::after,
.ek-nav-link.active::after {
    width: 100%;
}

/* Nav Dropdown Styling & Mechanics */
.ek-nav-menu .nav-item.dropdown {
    position: relative;
}

.ek-nav-menu .dropdown-toggle::after {
    display: none !important;
}

.ek-nav-menu .dropdown-menu {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 14px 36px rgba(101, 28, 45, 0.12);
    background: #FFFFFF;
    min-width: 240px;
    padding: 0.5rem;
    margin-top: 0.25rem;
    z-index: 1200;
}

@media (min-width: 992px) {
    .ek-nav-menu .nav-item.dropdown > .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 0.35rem;
        animation: ekMenuFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .ek-nav-menu .nav-item.dropdown:hover > .dropdown-menu,
    .ek-nav-menu .nav-item.dropdown:focus-within > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.ek-nav-menu .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@keyframes ekMenuFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ek-nav-menu .dropdown-item {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--charcoal-primary);
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ek-nav-menu .dropdown-item:hover {
    background-color: var(--bg-subtle);
    color: var(--maroon-primary);
    transform: translateX(3px);
}

.ek-nav-menu .dropdown-item.active,
.ek-nav-menu .dropdown-item:active {
    background-color: var(--maroon-primary);
    color: #FFFFFF;
}

@media (min-width: 992px) and (max-width: 1280px) {
    .ek-nav-menu {
        gap: 0.4rem;
    }
    .ek-nav-link {
        font-size: 0.82rem;
        padding: 0.35rem 0.15rem;
    }
    .ek-brand-name {
        font-size: 1.2rem;
    }
    .ek-brand-tagline {
        display: none;
    }
    .btn-ek-primary {
        padding: 0.5rem 0.85rem;
        font-size: 0.82rem;
    }
}

/* Pulse Live Darshan Dot */
.ek-live-dot {
    width: 8px;
    height: 8px;
    background-color: #EF4444;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: ekPulse 1.8s infinite;
}

@keyframes ekPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Nav Actions & Buttons */
.ek-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

/* Buttons */
.btn-ek-primary {
    background: linear-gradient(135deg, var(--saffron-primary), var(--saffron-dark));
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--saffron-dark);
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.22);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-ek-primary:hover {
    background: linear-gradient(135deg, var(--saffron-dark), #92400E);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
    transform: translateY(-2px);
    color: #FFFFFF !important;
}

.btn-ek-maroon {
    background: linear-gradient(135deg, var(--maroon-primary), var(--maroon-dark));
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--maroon-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.btn-ek-maroon:hover {
    background: linear-gradient(135deg, var(--maroon-light), var(--maroon-primary));
    transform: translateY(-2px);
    color: #FFFFFF !important;
}

.btn-ek-outline {
    background: transparent;
    color: var(--maroon-primary) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.35rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--maroon-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-ek-outline:hover {
    background: var(--maroon-primary);
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.btn-ek-outline-gold {
    background: transparent;
    color: var(--gold-dark) !important;
    border: 1.5px solid var(--gold-primary);
    font-weight: 600;
    padding: 0.6rem 1.35rem;
    border-radius: var(--radius-sm);
}

.btn-ek-outline-gold:hover {
    background: var(--gold-primary);
    color: #FFFFFF !important;
}

/* Mobile Nav Toggle */
.ek-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--maroon-primary);
    font-size: 1.25rem;
    padding: 0.45rem 0.75rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.ek-hero-wrap {
    position: relative;
    background: var(--bg-dark-editorial);
    overflow: hidden;
}

.ek-hero-slide {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5rem 1.5rem;
    overflow: hidden;
}

.ek-hero-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.ek-hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

.ek-hero-iframe-bg {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ek-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(31, 21, 23, 0.45) 0%,
        rgba(31, 21, 23, 0.65) 55%,
        rgba(31, 21, 23, 0.95) 100%
    );
    z-index: 2;
}

.ek-hero-content {
    position: relative;
    z-index: 5;
    max-width: 860px;
    text-align: center;
    color: #FFFFFF;
}

.ek-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 154, 80, 0.18);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(6px);
    margin-bottom: 1.5rem;
}

.ek-hero-title {
    font-family: var(--font-editorial);
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    color: #FFFFFF;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ek-hero-title em {
    font-family: var(--font-editorial);
    font-style: italic;
    color: var(--gold-light);
}

.ek-hero-desc {
    font-size: 1.15rem;
    color: #E2E8F0;
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.ek-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ek-scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--gold-light);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.8;
}

.ek-scroll-indicator i {
    animation: ekBounce 2s infinite;
}

@keyframes ekBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* ==========================================================================
   Section B: Today's Kashi Strip
   ========================================================================== */
.ek-today-strip {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 3;
}

.ek-today-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    max-width: 1360px;
    margin: 0 auto;
}

.ek-today-col {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0.5rem 0.75rem;
    border-right: 1px solid var(--border-color);
}

.ek-today-col:last-child {
    border-right: none;
}

.ek-today-icon {
    width: 44px;
    height: 44px;
    background: var(--maroon-subtle);
    border: 1px solid rgba(101, 28, 45, 0.15);
    border-radius: var(--radius-sm);
    color: var(--maroon-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.ek-today-icon.saffron {
    background: var(--saffron-subtle);
    color: var(--saffron-primary);
    border-color: rgba(217, 119, 6, 0.2);
}

.ek-today-icon.gold {
    background: var(--gold-subtle);
    color: var(--gold-dark);
    border-color: rgba(196, 154, 80, 0.25);
}

.ek-today-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.ek-today-val {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--charcoal-primary);
    line-height: 1.2;
}

/* ==========================================================================
   Section C: Explore by Interest Tiles
   ========================================================================== */
.ek-category-tile {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    display: block;
    position: relative;
    overflow: hidden;
}

.ek-category-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--maroon-primary), var(--saffron-primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ek-category-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.ek-category-tile:hover::before {
    opacity: 1;
}

.ek-category-icon {
    width: 68px;
    height: 68px;
    background: var(--maroon-subtle);
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--maroon-primary);
    transition: all 0.3s ease;
}

.ek-category-tile:hover .ek-category-icon {
    background: var(--maroon-primary);
    color: var(--gold-light);
    transform: scale(1.08);
}

.ek-category-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--maroon-primary);
    margin-bottom: 0.5rem;
}

.ek-category-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* ==========================================================================
   Editorial Cards System (Temples, Ghats, Tours, Stories)
   ========================================================================== */
.ek-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

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

.ek-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-color: var(--bg-subtle);
}

.ek-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ek-card:hover .ek-card-img {
    transform: scale(1.05);
}

.ek-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ek-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--maroon-primary);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.ek-card-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.ek-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

/* Badges */
.ek-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
}

.badge-live {
    background: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FCA5A5;
}

.badge-fact {
    background: #E0E7FF;
    color: #3730A3;
    border: 1px solid #C7D2FE;
}

.badge-legend {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.badge-tradition {
    background: #FCE7F3;
    color: #9D174D;
    border: 1px solid #FBCFE8;
}

.badge-gold {
    background: var(--gold-subtle);
    color: var(--gold-dark);
    border: 1px solid var(--gold-light);
}

.badge-saffron {
    background: var(--saffron-subtle);
    color: var(--saffron-dark);
    border: 1px solid rgba(217, 119, 6, 0.25);
}

/* ==========================================================================
   Section F: Secrets & Magazine Layout
   ========================================================================== */
.ek-story-hero {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.ek-story-hero .story-img-wrap {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.ek-story-hero .story-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ek-story-hero:hover .story-img-wrap img {
    transform: scale(1.04);
}

.ek-story-hero .story-body {
    padding: 2rem;
}

.ek-story-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    margin-bottom: 1rem;
}

.ek-story-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.ek-story-thumb {
    width: 120px;
    height: 100px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

/* ==========================================================================
   Section H: History Timeline
   ========================================================================== */
.ek-timeline-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.ek-timeline {
    position: relative;
    padding-left: 2.5rem;
}

.ek-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-primary), var(--saffron-primary), var(--maroon-primary));
}

.ek-timeline-node {
    position: relative;
    margin-bottom: 2.5rem;
}

.ek-timeline-node:last-child {
    margin-bottom: 0;
}

.ek-timeline-node::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 3px solid var(--gold-primary);
    box-shadow: 0 0 0 4px var(--maroon-subtle);
}

.ek-timeline-era {
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--saffron-primary);
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
}

.ek-timeline-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--maroon-primary);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Section L: Trip Planner Quiz CTA
   ========================================================================== */
.ek-planner-banner {
    background: linear-gradient(135deg, var(--maroon-primary), var(--maroon-dark));
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 4rem 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gold-primary);
    position: relative;
    overflow: hidden;
}

.ek-planner-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 154, 80, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.ek-planner-banner h2 {
    color: var(--gold-light);
    font-size: 2.25rem;
}

.ek-planner-banner p {
    color: #E2E8F0;
    font-size: 1.1rem;
}

.ek-form-control {
    background: #FFFFFF;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--charcoal-primary);
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.25s ease;
}

.ek-form-control:focus {
    border-color: var(--saffron-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.ek-footer {
    background: var(--bg-dark-editorial);
    color: #E2E8F0;
    border-top: 3px solid var(--gold-primary);
    padding-top: 4.5rem;
    padding-bottom: 2rem;
    position: relative;
    margin-top: auto;
    width: 100%;
}

.ek-footer h4,
.ek-footer h5 {
    color: var(--gold-light);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.ek-footer p,
.ek-footer .ek-footer-text,
.ek-footer .text-muted {
    color: #CBD5E1 !important;
    font-size: 0.92rem;
    line-height: 1.7;
}

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

.ek-footer-links li {
    margin-bottom: 0.65rem;
}

.ek-footer-links a {
    color: #CBD5E1;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.ek-footer-links a:hover {
    color: var(--gold-light);
    padding-left: 6px;
}

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

.ek-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(196, 154, 80, 0.3);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.ek-footer-social a:hover {
    background: var(--saffron-primary);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.ek-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.75rem;
    margin-top: 3.5rem;
    font-size: 0.88rem;
    color: #E2E8F0;
}

.ek-footer-bottom a,
.ek-footer-bottom .text-muted {
    color: #CBD5E1 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ek-footer-bottom a:hover {
    color: #F59E0B !important;
    text-decoration: underline;
}

/* ==========================================================================
   Responsive Grid Helpers
   ========================================================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 991px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .ek-nav-menu, .ek-topbar { display: none; }
    .ek-mobile-toggle { display: block; }
    .section-title { font-size: 1.85rem; }
}

@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .ek-today-col { border-right: none; border-bottom: 1px solid var(--border-color); }
    .section-title { font-size: 1.6rem; }
    .ek-planner-banner { padding: 2.5rem 1.25rem; }
}
