﻿
.ev-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
}

.day-nav {
    position: sticky;
    top: 120px;
    height: 80vh;
    overflow: auto;
}

.day-link {
    display: block;
    padding: 14px 18px;
    margin-bottom: 8px;
    border-radius: 14px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    transition: .25s ease;
}

    .day-link:hover {
        background: #f4f6fb;
        transform: translateX(4px);
    }

    .day-link.active {
        background: #0d6efd;
        color: white;
    }

.day-hero {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    margin-bottom: 18px;
}

    .day-hero img {
        width: 100%;
        height: 460px;
        object-fit: cover;
        transition: 1s ease;
    }

    .day-hero:hover img {
        transform: scale(1.04);
    }

.day-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 55px;
    background: linear-gradient( transparent, rgba(0,0,0,.9) );
    color: white;
}

.day-card {
    background: white;
    border-radius: 22px;
    padding: 46px;
    margin-bottom: 70px;
    box-shadow: 0 12px 34px rgba(0,0,0,.08);
}

.transport {
    background: #f6f8fc;
    border-left: 4px solid #0d6efd;
    padding: 16px 18px;
    margin-top: 12px;
    border-radius: 12px;
}

.activity-chip {
    background: #eef4ff;
    padding: 7px 16px;
    border-radius: 30px;
    margin: 6px;
    display: inline-block;
    font-size: 14px;
}

.hotel-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    transition: .35s ease;
}

    .hotel-card:hover {
        transform: translateY(-6px);
    }

    .hotel-card img {
        height: 170px;
        width: 100%;
        object-fit: cover;
    }

.gallery img {
    cursor: pointer;
    transition: .4s ease;
}

    .gallery img:hover {
        transform: scale(1.05);
    }


.map-card {
    border-radius: 26px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 18px 48px rgba(0,0,0,.12);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

    .lightbox img {
        max-width: 90%;
        max-height: 85%;
        border-radius: 16px;
    }

.toggle-btn {
    border: none;
    background: #eef2ff;
    padding: 8px 16px;
    border-radius: 12px;
    margin-top: 10px;
}

.org-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    padding: 12px 0;
    min-height: 70px; /* 🔥 ensures same height always */
    display: flex;
    align-items: center; /* vertical centering */
    transition: transform .35s ease;
}

    .org-header.hide-header {
        transform: translateY(-100%);
    }

.org-logo-placeholder {
    width: 42px;
    height: 42px;
    display: inline-block;
}

.org-logo {
    height: 42px;
    width: auto;
    border-radius: 6px;
}

.org-name {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    color: #111;
}

.org-brand:hover {
    opacity: 0.85;
    transition: 0.2s ease;
}

.org-subtitle {
    font-size: 13px;
    color: #666;
}

.org-link {
    font-size: 14px;
    text-decoration: none;
    color: #0d6efd;
}

.back-btn {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(0,0,0,0.05);
    transition: 0.2s ease;
}

    .back-btn:hover {
        background: rgba(0,0,0,0.1);
        transform: translateX(-2px);
    }

.hero-wrap {
    height: calc(100vh);
    overflow: hidden;
}

.hero-img {
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2), transparent);
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-desc {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
}

/* BADGES */
.hero-badges {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 10px 16px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

    .badge-item span.material-symbols-rounded {
        font-size: 20px;
    }

/* ===== SIDEBAR CONTAINER (3D GLASS) ===== */
.day-nav {
    position: sticky;
    top: 110px;
    height: 78vh;
    overflow: auto;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.5);
    scroll-behavior: smooth;
}

    /* ===== CUSTOM SCROLLBAR ===== */
    .day-nav::-webkit-scrollbar {
        width: 6px;
    }

    .day-nav::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.2);
        border-radius: 10px;
    }

    .day-nav::-webkit-scrollbar-track {
        background: transparent;
    }

/* ===== LINKS ===== */
.day-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    border-radius: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all .25s ease;
    position: relative;
}

    /* ICON */
    .day-link .material-symbols-rounded {
        font-size: 20px;
        opacity: 0.7;
    }

    /* ===== HOVER (FLOAT EFFECT) ===== */
    .day-link:hover {
        background: rgba(255,255,255,0.7);
        transform: translateX(6px) translateY(-2px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
    }

    /* ===== ACTIVE (3D PRESSED STYLE) ===== */
    .day-link.active {
        background: linear-gradient(135deg, #0d6efd, #4a8cff);
        color: white;
        transform: translateX(6px);
        box-shadow: 0 10px 25px rgba(13,110,253,0.4), inset 0 2px 6px rgba(255,255,255,0.3);
    }

        /* ACTIVE ICON */
        .day-link.active .material-symbols-rounded {
            opacity: 1;
        }

    /* ===== LEFT INDICATOR BAR ===== */
    .day-link::before {
        content: "";
        position: absolute;
        left: -8px;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 0;
        background: #0d6efd;
        border-radius: 10px;
        transition: 0.25s ease;
    }

    .day-link.active::before {
        height: 60%;
    }

.material-symbols-rounded {
    vertical-align: middle;
    line-height: 1;
}

@media (max-width:1100px) {

    .ev-layout {
        grid-template-columns: 1fr;
    }

    .day-nav {
        display: none;
    }

    .day-card {
        padding: 28px;
    }
}

@media (max-width:768px) {

    .org-header {
        min-height: 58px;
        padding: 8px 0;
    }

    .org-logo {
        height: 32px;
    }

    .org-name {
        font-size: 14px;
        line-height: 1.15;
    }

    .back-btn {
        padding: 5px 8px;
        font-size: 12px;
    }

        .back-btn .material-symbols-rounded {
            font-size: 16px;
        }

    .org-header .form-select {
        font-size: 12px;
        padding: 4px 24px 4px 8px;
        min-height: 34px;
    }

    .org-name {
        font-size: 16px;
    }

    .org-subtitle {
        font-size: 12px;
    }
}

.day-date-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(6px);
    font-size: .85rem;
    font-weight: 500;
}

@media print {
    /* =========================
       PAGE
    ========================= */

    @page {
        size: A4;
        margin: 8mm;
    }

    html,
    body {
        background: #fff !important;
        overflow: visible !important;
        width: 100% !important;
        height: auto !important;
        print-color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
    }
    /* =========================
       REMOVE BROWSER PRINT INFO
       (works in most browsers)
    ========================= */

    html {
        margin: 0 !important;
        padding: 0 !important;
    }

    body {
        margin: 0 !important;
        padding: 0 !important;
    }
    /* =========================
       HIDE UI
    ========================= */

    .print-hide,
    .day-nav,
    .toggle-btn,
    .back-btn,
    .lightbox,
    .org-header select,
    .leaflet-control,
    .leaflet-top,
    .leaflet-bottom,
    #resume-follow-btn {
        display: none !important;
    }
    /* =========================
       HEADER
    ========================= */

    .org-header {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        background: #fff !important;
        border-bottom: 1px solid #e5e5e5 !important;
        box-shadow: none !important;
        padding: 8px 0 !important;
        margin-bottom: 10px !important;
        transform: none !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    .org-logo {
        max-height: 42px !important;
        width: auto !important;
    }

    .org-name {
        font-size: 15px !important;
        color: #111 !important;
    }
    /* =========================
       COVER PAGE
    ========================= */

    .hero-wrap {
        position: relative !important;
        height: 230mm !important;
        min-height: auto !important;
        overflow: hidden !important;
        border-radius: 18px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        page-break-after: always !important;
        break-after: page !important;
        background: #fff !important;
    }

    .hero-img {
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
        filter: none !important;
        opacity: 1 !important;
        print-color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
    }

    .hero-overlay {
        position: absolute !important;
        inset: 0 !important;
        z-index: 2 !important;
        display: flex !important;
        align-items: flex-end !important;
        padding: 24mm 18mm !important;
        background: transparent !important;
        color: #fff !important;
        print-color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
    }
    /* =========================
       HERO TEXT
    ========================= */

    .hero-title {
        font-size: 34px !important;
        line-height: 1.15 !important;
        margin-bottom: 14px !important;
        color: #fff !important;
        text-shadow: 0 2px 10px rgba(0,0,0,.75), 0 1px 4px rgba(0,0,0,.9) !important;
    }

    .hero-desc {
        font-size: 15px !important;
        line-height: 1.6 !important;
        max-width: 760px !important;
        color: #fff !important;
        text-shadow: 0 2px 8px rgba(0,0,0,.75), 0 1px 3px rgba(0,0,0,.9) !important;
    }
    /* =========================
       HERO BADGES
    ========================= */

    .hero-badges {
        margin-top: 18px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .badge-item {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 8px 14px !important;
        border-radius: 999px !important;
        background: rgba(255,255,255,.88) !important;
        border: none !important;
        color: #111 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        print-color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
    }

        .badge-item .material-symbols-rounded {
            font-size: 18px !important;
        }
    /* =========================
       MAIN LAYOUT
    ========================= */

    .container,
    .ev-layout,
    .story-wrap {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }
    /* =========================
       REMOVE EXTRA GAP AFTER COVER
    ========================= */

    .hero-wrap + .container,
    .hero-wrap + .ev-layout,
    .hero-wrap + div {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    #day-1 {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    /* =========================
       DAY HERO
    ========================= */

    .day-hero {
        overflow: hidden !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

        .day-hero img {
            width: 100% !important;
            height: 200px !important;
            object-fit: cover !important;
            display: block !important;
        }

    .day-overlay {
        background: rgba(0,0,0,.55) !important;
        color: #fff !important;
        padding: 18px !important;
        print-color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
    }
    /* =========================
       DAY CARD
    ========================= */

    .day-card {
        display: block !important;
        overflow: hidden !important;
        border: 1px solid #e6e6e6 !important;
        border-radius: 0 0 14px 14px !important;
        box-shadow: none !important;
        margin-bottom: 24px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

        .day-card p,
        .day-card div,
        .day-card span,
        .day-card small {
            color: #111 !important;
        }
    /* =========================
       HOTEL / TRANSPORT
    ========================= */

    .hotel-card,
    .transport,
    .gallery,
    .row,
    .col-md-6,
    .col-md-4 {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .hotel-card {
        border: 1px solid #eee !important;
        box-shadow: none !important;
    }

    .transport {
        border: 1px solid #eee !important;
        padding: 12px !important;
        border-radius: 10px !important;
        margin-bottom: 10px !important;
    }
    /* =========================
       GALLERY
    ========================= */

    .gallery img {
        height: 180px !important;
        object-fit: cover !important;
    }
    /* =========================
       IMAGES
    ========================= */

    img {
        max-width: 100% !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        print-color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
    }
    /* =========================
       TYPOGRAPHY
    ========================= */

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    p,
    li {
        orphans: 3 !important;
        widows: 3 !important;
    }
    /* =========================
       LINKS
    ========================= */

    a,
    a:visited {
        color: inherit !important;
        text-decoration: none !important;
    }

        a[href]:after {
            content: none !important;
        }
    /* =========================
       REMOVE EFFECTS
    ========================= */

    * {
        animation: none !important;
        transition: none !important;
        box-shadow: none !important;
        print-color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
    }
    /* =========================
       PREVENT RANDOM BLANK PAGE
    ========================= */

    .hero-wrap::before,
    .hero-wrap::after {
        display: none !important;
        content: none !important;
    }


    #inclusions-section,
    #exclusions-section,
    #importantnotes-section,
    #pricingpolicies-section,
    #passport-section,
    #visa-section,
    #sim-section,
    #cancellation-section,
    #flight-section {
        margin-top: 14px !important;
        margin-bottom: 14px !important;
        padding-bottom: 8px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }
        /* TIGHTER HEADING ONLY FOR STATIC SECTIONS */

        #inclusions-section h4,
        #exclusions-section h4,
        #importantnotes-section h4,
        #pricingpolicies-section h4,
        #passport-section h4,
        #visa-section h4,
        #sim-section h4,
        #cancellation-section h4,
        #flight-section h4 {
            margin-bottom: 14px !important;
        }
        /* ONLY COMPACT ITEMS INSIDE STATIC SECTIONS */

        #inclusions-section .transport,
        #exclusions-section .transport,
        #importantnotes-section .transport,
        #pricingpolicies-section .transport,
        #passport-section .transport,
        #visa-section .transport,
        #sim-section .transport,
        #cancellation-section .transport,
        #flight-section .transport {
            margin-bottom: 8px !important;
            padding: 10px !important;
        }
    /* REMOVE EXTRA SPACE AT VERY END */

    .story-wrap {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    #flight-section:last-child,
    #cancellation-section:last-child,
    #sim-section:last-child,
    #visa-section:last-child,
    #passport-section:last-child,
    #pricingpolicies-section:last-child,
    #importantnotes-section:last-child,
    #exclusions-section:last-child,
    #inclusions-section:last-child {
        margin-bottom: 0 !important;
    }
    /* =========================
       COMPACT INCLUSION / EXCLUSION ITEMS
    ========================= */

    #inclusions-section .row,
    #exclusions-section .row {
        margin-left: -2px !important;
        margin-right: -2px !important;
        row-gap: 0 !important;
    }
    /* REMOVE BOOTSTRAP COLUMN SPACE */

    #inclusions-section .col-md-6,
    #exclusions-section .col-md-6 {
        padding-left: 2px !important;
        padding-right: 2px !important;
        margin-bottom: 2px !important;
    }
    /* REMOVE mb-3 EFFECT */

    #inclusions-section .mb-3,
    #exclusions-section .mb-3 {
        margin-bottom: 2px !important;
    }
    /* ULTRA COMPACT CARD */

    #inclusions-section .transport,
    #exclusions-section .transport {
        padding: 6px 8px !important;
        margin-bottom: 0 !important;
        min-height: auto !important;
        line-height: 1.2 !important;
        border-radius: 8px !important;
    }
    /* FLEX SPACING */

    #inclusions-section .d-flex,
    #exclusions-section .d-flex {
        gap: 4px !important;
        align-items: flex-start !important;
    }
    /* ICON */

    #inclusions-section .material-symbols-rounded,
    #exclusions-section .material-symbols-rounded {
        font-size: 14px !important;
        line-height: 1 !important;
        margin-top: 1px !important;
        flex-shrink: 0 !important;
    }
    /* TEXT */

    #inclusions-section .transport div,
    #exclusions-section .transport div {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
    }
    /* REMOVE LAST EXTRA SPACE */

    #inclusions-section .transport:last-child,
    #exclusions-section .transport:last-child {
        margin-bottom: 0 !important;
    }
}
