
/* =======================================================
   MEGA MENU — BEAUTIFUL & FULLY RESPONSIVE
   ======================================================= */

/* ── Widen the dropdown for mega layout ── */
.mega-menu {
    min-width: 860px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 0;
    overflow: hidden;
}
.nav-dropdown:hover .mega-menu {
    transform: translateX(-50%) translateY(0);
}

/* ── Inner flex wrapper ── */
.mega-menu-inner {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 1.2rem 0;
}

/* ── Each column ── */
.mega-col {
    flex: 1;
    padding: 0 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Vertical divider between columns ── */
.mega-col-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(166,124,49,0.25), transparent);
    align-self: stretch;
    flex-shrink: 0;
}

/* ── Column header / category label ── */
.mega-col-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 0.8rem 0.6rem;
    font-family: var(--f-body, 'Outfit'), sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #A67C31;
    border-bottom: 1px solid rgba(166,124,49,0.18);
    margin-bottom: 0.5rem;
}
.mega-col-icon {
    font-size: 0.5rem;
    opacity: 0.7;
}

/* ── Individual tour links ── */
.mega-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--ink-mid, #4A3F36);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    white-space: normal;
    font-size: 0.85rem;
    font-weight: 400;
}
.mega-menu .dropdown-item:hover {
    background: rgba(166,124,49,0.08);
    color: #A67C31;
    transform: translateX(3px);
    padding-left: 0.8rem; /* override old rule */
}

/* ── Emoji icon ── */
.item-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    line-height: 1;
}

/* ── Text block: name + subtitle ── */
.item-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.item-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: inherit;
    line-height: 1.2;
    font-family: var(--f-body, 'Outfit'), sans-serif;
}
.item-sub {
    font-size: 0.7rem;
    color: #8A7B6F;
    font-weight: 400;
    line-height: 1.2;
    font-family: var(--f-body, 'Outfit'), sans-serif;
    letter-spacing: 0.2px;
}
.mega-menu .dropdown-item:hover .item-name { color: #A67C31; }
.mega-menu .dropdown-item:hover .item-sub  { color: #C49A3C; }

/* =======================================================
   MOBILE MEGA MENU — Collapsible Accordion
   ======================================================= */
@media (max-width: 768px) {
    .mega-menu {
        min-width: unset;
        width: 100%;
        left: auto;
        transform: none !important;
        border-radius: 0;
        padding: 0;
        position: static;
        box-shadow: none;
        border: none;
        border-left: 2px solid rgba(166,124,49,0.3);
        background: transparent;
    }
    .nav-dropdown.active .mega-menu {
        display: block;
    }
    .mega-menu-inner {
        flex-direction: column;
        padding: 0.5rem 0;
        gap: 0;
    }
    .mega-col {
        padding: 0 0 0 1rem;
        gap: 0;
    }
    .mega-col-divider {
        display: none;
    }
    .mega-col-header {
        font-size: 0.72rem;
        padding: 0.8rem 0.5rem 0.5rem;
        border-bottom: none;
        margin-bottom: 0.2rem;
    }
    .mega-menu .dropdown-item {
        padding: 0.5rem 0.5rem;
        border-radius: 6px;
        gap: 8px;
    }
    .mega-menu .dropdown-item:hover {
        transform: none;
        padding-left: 0.8rem;
    }
    .item-icon {
        font-size: 1rem;
    }
    .item-name {
        font-size: 0.8rem;
    }
    .item-sub {
        display: none; /* hide subtitles on mobile to save space */
    }
}
