:root {
    --primary-deep: #0d2b5e;
    --primary-mid: #17458f;
    --gold: #f0a500;
    --gold-light: #f7c948;
    --raspberry: #d41367;
    --white: #ffffff;
    --black: #1a1f2e;
    --soft-bg: #f5f6fa;
    --card-bg: #ffffff;
    --text-muted: #5a6e7c;
    --border-subtle: #e8ecf1;
    --icon-color: #45afa5;
    --shadow-elegant: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.06);
    --shadow-lift: 0 4px 8px rgba(0, 0, 0, 0.05), 0 18px 38px rgba(13, 43, 94, 0.12);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --dark-bg: #0d1117;
    --text-light: #f0f3f8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: "Barlow", system-ui, -apple-system, sans-serif;
    color: var(--black);
    background-color: var(--white);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }

/* ========== NAVBAR (advanced mega menu, same as trip-detail) ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    background-color: transparent !important;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
    transform: translateY(0);
}
.navbar-hidden { transform: translateY(-100%); }
.navbar.scrolled {
    background-color: rgba(10, 20, 40, 0.92) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: white !important;
    text-decoration: none;
}
.navbar-brand span { color: var(--gold); }
@media (max-width: 768px) { .navbar-brand { font-size: 1.4rem; } }

.navbar-toggler {
    border: none !important;
    padding: 0.25rem 0.5rem;
    background: transparent;
    outline: none;
    box-shadow: none !important;
    margin-left: auto;
}
.custom-toggler-icon {
    width: 28px;
    height: 22px;
    position: relative;
    display: inline-block;
}
.custom-toggler-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.25s ease;
}
.custom-toggler-icon span:nth-child(1) { top: 0; }
.custom-toggler-icon span:nth-child(2) { top: 10px; }
.navbar-toggler:not(.collapsed) .custom-toggler-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}
.navbar-toggler:not(.collapsed) .custom-toggler-icon span:nth-child(2) {
    transform: rotate(-45deg);
    top: 10px;
}

/* Desktop mega menu – smooth transition */
.mega-dropdown { position: static; }
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1a1f2e 100%);
    border-top: 3px solid var(--gold);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 20px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1050;
}
.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 2rem;
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.mega-nav-col ul, .mega-submenu-list { list-style: none; padding: 0; }
.mega-nav-col li, .mega-submenu-list li { margin-bottom: 0.9rem; }
.mega-nav-col .mega-nav-link {
    background: none;
    border: none;
    color: #f0f0f0;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
}
.mega-nav-col .mega-nav-link:hover,
.mega-nav-col .mega-nav-link.active { color: var(--gold); }

/* ========== FIXED HEIGHT SUBMENU – FITS 6 ITEMS ========== */
.mega-submenu-col {
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 1.5rem;
    min-width: 220px;
}
.mega-submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 3;
    column-gap: 1.5rem;
    column-rule: 1px solid rgba(255,255,255,0.1);
    /* Fixed height to fit exactly 6 items (38px per item + gaps) */
    height: 240px;
    column-fill: auto;
    overflow: hidden;
}
.mega-submenu-list li {
    break-inside: avoid;
    margin-bottom: 0.4rem;
}
.mega-submenu-list a {
    display: block;
    padding: 0.3rem 0;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s, padding-left 0.2s;
}
.mega-submenu-list a:hover {
    color: var(--gold);
    padding-left: 0.3rem;
}

/* ========== RESPONSIVE: single column for submenu on smaller screens ========== */
@media (max-width: 992px) {
    .mega-submenu-list {
        column-count: 1;
        height: auto; /* auto height on smaller screens */
    }
}

.mega-cards-col { margin-left: auto; }
.director-cards-static { display: flex; gap: 1rem; flex-wrap: wrap; }
.enhanced-card {
    position: relative;
    width: 220px;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.enhanced-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 35px rgba(0,0,0,0.4);
}
.enhanced-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.enhanced-card:hover img { transform: scale(1.05); }
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
    padding: 1rem;
    text-align: left;
}
.card-overlay h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.2rem; }
.card-overlay p { font-size: 0.7rem; opacity: 0.9; }
@media (max-width: 1200px) { .enhanced-card { width: 180px; height: 240px; } }

/* Mobile menu overlay */
@media (max-width: 991px) {
    .mega-menu { display: none !important; }
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 20, 40, 0.98);
        backdrop-filter: blur(16px);
        z-index: 1050;
        padding: 5rem 1rem 2rem;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    .navbar-collapse.show { transform: translateX(0); }
    .mobile-menu-container { width: 100%; max-width: 500px; margin: 0 auto; }
    .mobile-menu-level { display: none; }
    .mobile-menu-level.active-level { display: block; }
    .mobile-menu-level .back-btn {
        display: flex;
        align-items: center;
        gap: 10px;
        background: none;
        border: none;
        color: var(--gold);
        font-weight: 600;
        font-size: 1.1rem;
        padding: 1rem 0;
        margin-bottom: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        width: 100%;
        cursor: pointer;
    }
    .mobile-menu-level ul { list-style: none; padding: 0; }
    .mobile-menu-level li { border-bottom: 1px solid rgba(255,255,255,0.1); }
    .mobile-menu-level li a, .mobile-menu-level .menu-item {
        display: block;
        padding: 1rem 0.5rem;
        color: white;
        font-size: 1.1rem;
        font-weight: 500;
        text-decoration: none;
        cursor: pointer;
    }
    .has-submenu { display: flex; justify-content: space-between; align-items: center; }
    .has-submenu i { color: rgba(255,255,255,0.6); }
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.92) !important;
    margin: 0 0.5rem;
    text-transform: uppercase;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--gold) !important; }
.whatsapp-btn {
    background-color: #25D366;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    color: white !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.2s;
}
.whatsapp-btn:hover { background-color: #128C7E; transform: translateY(-2px); }
.custom-logo-link{margin-left:60px;}
