/* ================================================================
   GEZIBILET - STATIC TWO-ROW NAVBAR
   ================================================================ */

:root {
    --navbar-top-h: 68px;
    --navbar-bottom-h: 46px;
    --navbar-total-h: calc(var(--navbar-top-h) + var(--navbar-bottom-h));
}

body {
    padding-top: var(--navbar-total-h);
}

.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background: #ffffff;
    border-bottom: 1px solid #edf1f6;
    box-shadow: 0 2px 10px rgba(13, 27, 63, 0.05);
    font-family: var(--font-body);
}

.navbar-container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 16px;
}

.navbar-top {
    min-height: var(--navbar-top-h);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 0;
}

.navbar-top-left {
    flex: 0 0 auto;
    min-width: 180px;
}

.brand-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 0px;
    color: #000000;
    font-family: var(--font-display);
    font-size: clamp(26px, 2.1vw, 34px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.logo-dot {
    color: #DC2626;
    font-weight: 700;
}

.brand-year {
    font-family: "Georgia", serif;
    font-size: clamp(17px, 1.15vw, 23px);
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0;
}

.navbar-top-right-wrapper {
    position: relative;
    isolation: isolate;
    flex: 1;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 4px 16px 4px 30px;
    margin-left: 12px;
    border-radius: 999px;
}

.navbar-top-right-bg {
    position: absolute;
    inset: 0;
    background: #f3f4f7;
    border-radius: 999px;
    overflow: hidden;
    z-index: -1;
}

.navbar-top-right-bg::after {
    content: "";
    position: absolute;
    right: -16px;
    top: -12px;
    width: min(40%, 300px);
    height: 88px;
    border-radius: 999px;
    background: radial-gradient(circle at 22% 48%, #eef5ff 0%, #e9eff9 56%, #e4eaf5 100%);
}

.navbar-top-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex: 1;
    gap: 20px;
}

.top-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1a1f4a;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    transition: color 0.2s ease;
}

.top-contact-item i {
    font-size: 14px;
    color: inherit;
    transition: color 0.2s ease;
}

.top-contact-item:hover {
    color: #d71429;
}

.top-contact-item--phone {
    color: #d71429;
    font-weight: 700;
}

.navbar-top-auth {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.auth-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    color: #1a1f4a;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #d71429;
}

.auth-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 18px;
    border: 1.5px solid #d71429;
    border-radius: 999px;
    background: transparent;
    color: #d71429;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.auth-btn-outline:hover {
    background: #d71429;
    color: #ffffff;
    border-color: #d71429;
}

.user-dropdown-wrapper {
    position: relative;
    display: inline-flex;
}

.user-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border: 1.5px solid #d71429;
    border-radius: 999px;
    background: #ffffff;
    color: #d71429;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-family: inherit;
}

.user-dropdown-btn:hover,
.user-dropdown-wrapper:hover .user-dropdown-btn {
    background: #d71429;
    color: #ffffff;
}

.user-dropdown-icon {
    font-size: 18px;
}

.user-dropdown-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-dropdown-title {
    font-size: 14px;
    font-weight: 700;
}

.user-dropdown-name {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.user-dropdown-chevron {
    font-size: 12px;
    margin-left: 6px;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: #ffffff;
    border: 1px solid #d71429;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
    padding: 12px 0;
}

.user-dropdown-wrapper.is-active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: #1a1f4a;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.user-dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.user-dropdown-item:hover {
    background: #f8fafd;
    color: #d71429;
}

.user-dropdown-divider {
    height: 1px;
    background: #d71429;
    margin: 8px 0;
}

.user-dropdown-logout {
    color: #d71429;
}

.user-dropdown-logout:hover {
    background: #fdf2f3;
}

.navbar-hamburger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #1a1f4a;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.navbar-hamburger:hover {
    background: #f5f8fc;
    color: #d71429;
    border-color: #cfd9e8;
}

.navbar-bottom {
    min-height: var(--navbar-bottom-h);
    height: var(--navbar-bottom-h);
    display: flex;
    align-items: center;
    border-top: 1px solid #edf2f8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* overflow: hidden; Removed to allow dropdowns */
    position: relative;
    z-index: 10;
}

.navbar-wrapper.is-scrolled .navbar-bottom {
    min-height: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    border-top-width: 0;
}


/* Navbar structure correctly maintained below */

.nav-main-link:hover {
    color: #c7102b;
}

.nav-main-link.is-active {
    color: #c7102b;
}

.campaign-link {
    color: #ef8f11;
    font-weight: 800;
}

.campaign-link i {
    color: #1a1f4a;
    font-size: 12px;
    transform: rotate(-23deg);
}

.campaign-link:hover {
    color: #da7f0e;
}

#mobileOverlay.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 20, 43, 0.46);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0.24s ease;
    z-index: 1600;
}

#mobileOverlay.mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

#mobileDrawer.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(90vw, 380px);
    background: #ffffff;
    z-index: 1610;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.2, 0.85, 0.32, 1);
    border-left: 1px solid #ebeff6;
    box-shadow: -12px 0 32px rgba(11, 24, 56, 0.14);
    display: flex;
    flex-direction: column;
}

#mobileDrawer.mobile-drawer.is-open {
    transform: translateX(0);
}

.mobile-drawer-head {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 0 22px;
    border-bottom: 1px solid #edf1f7;
}

.mobile-drawer-head h3 {
    font-family: var(--font-display);
    font-size: 20px;
    color: #171d47;
    font-weight: 800;
    letter-spacing: -0.01em;
}

#drawerClose.mobile-drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 1px solid #dde5f1;
    background: #ffffff;
    color: #1a1f4a;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#drawerClose.mobile-drawer-close:hover {
    background: #f4f7fb;
    color: #d71429;
}

.mobile-drawer-body {
    overflow-y: auto;
    padding: 14px 20px 22px;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eef2f8;
    padding-bottom: 10px;
}

.mobile-nav-item+.mobile-nav-item {
    margin-top: 3px;
}

.mobile-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    color: #171d47;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
    color: #c7102b;
    background: #f8fafd;
}

.mobile-nav-link.is-active {
    color: #c7102b;
    background: #f8fafd;
}

.mobile-nav-link--featured {
    color: #ef8f11;
}

.mobile-nav-link--featured i {
    color: #1a1f4a;
    font-size: 14px;
    transform: rotate(-23deg);
}

.mobile-drawer-contact {
    padding: 14px 0 6px;
    border-bottom: 1px solid #eef2f8;
}

.mobile-contact-phone,
.mobile-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    color: #1a1f4a;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-contact-phone {
    color: #d71429;
    font-weight: 700;
}

.mobile-contact-phone:hover,
.mobile-contact-link:hover {
    background: #f7f9fc;
}

.mobile-drawer-auth {
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-user-welcome {
    margin: 0 0 4px;
    color: #1a1f4a;
    font-size: 14px;
    font-weight: 600;
}

.mobile-auth-btn {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mobile-auth-btn--ghost {
    background: #f7f9fc;
    color: #1a1f4a;
    border-color: #dfe7f3;
}

.mobile-auth-btn--ghost:hover {
    background: #eef3fa;
}

.mobile-auth-btn--outline {
    background: #ffffff;
    color: #d71429;
    border-color: #d71429;
}

.mobile-auth-btn--outline:hover {
    background: #d71429;
    color: #ffffff;
}

/* ================================================================
   MEGA MENU SYSTEM (GetYourGuide Style)
   ================================================================ */

.navbar-links {
    width: 100%;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: clamp(16px, 2.2vw, 36px);
    margin: 0;
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-item.mega-wrapper {
    position: static;
}

.nav-main-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 0 4px;
    color: #171d47;
    font-family: var(--font-display);
    font-size: clamp(14px, 0.94vw, 16px);
    font-weight: 600;
    line-height: 1;
    transition: color 0.2s ease;
}

.nav-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #edf1f6;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scaleY(0.98);
    transform-origin: top center;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.4s;
    z-index: 1000;
    overflow: hidden;
    pointer-events: none;
}

/* Larger invisible bridge to prevent closing */
.nav-mega-menu::before {
    content: "";
    position: absolute;
    top: -40px;
    /* Increased bridge height */
    left: 0;
    right: 0;
    height: 40px;
    background: transparent;
    pointer-events: auto;
}

.nav-item.mega-wrapper:hover .nav-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scaleY(1);
    pointer-events: auto;
}

.mega-container {
    width: 100%;
    max-width: 100%;
    /* Edge-to-edge feel */
    margin: 0;
    padding: 0 40px;
    display: flex;
    min-height: 480px;
}

/* Left Sidebar */
.mega-sidebar {
    width: 280px;
    padding: 32px 0;
    border-right: 1px solid #f0f2f5;
}

.sidebar-title {
    padding: 0 32px 20px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title i {
    color: #e1162f;
    font-size: 8px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-item i {
    font-size: 12px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s ease;
}

.sidebar-item:hover,
.sidebar-item.is-active {
    background: #ffffff;
    color: #e1162f;
}

.sidebar-item.is-active i {
    opacity: 1;
    transform: translateX(0);
}

/* Main Content Area */
.mega-content {
    flex: 1;
    padding: 40px 60px;
    background: #ffffff;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2-Column Grid as requested */
    gap: 24px 40px;
}

.tour-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.tour-item:hover {
    transform: translateX(5px);
}

.tour-icon {
    width: 44px;
    height: 44px;
    background: #fdf2f3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tour-icon i {
    color: #e1162f;
    font-size: 18px;
}

.tour-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tour-title {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
}

.tour-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.tour-item:hover .tour-title {
    color: #e1162f;
}

/* Mobile Submenu Styles */
.mobile-nav-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-submenu-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #1a1f4a;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-nav-item.is-open .mobile-submenu-toggle {
    transform: rotate(180deg);
    color: #e1162f;
}

.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 10px 15px;
    display: none;
    max-height: 280px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-nav-item.is-open .mobile-submenu {
    display: block;
}

.mobile-submenu-link {
    display: block;
    padding: 8px 12px;
    color: #4a5568;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-submenu-link:hover {
    background: #f7fafc;
    color: #e1162f;
}

@media (max-width: 1250px) {
    .mega-content {
        padding: 30px 40px;
    }
}

@media (max-width: 1100px) {
    .nav-mega-menu {
        display: none;
        /* Handled by mobile drawer */
    }
}

@media (max-width: 1250px) {
    .navbar-top-right-wrapper {
        padding-left: 20px;
        gap: 12px;
    }

    .navbar-top-center {
        gap: 12px;
    }

    .top-contact-item {
        font-size: 13px;
    }

    .auth-link,
    .auth-btn-outline {
        font-size: 13px;
    }

    .nav-main-link {
        font-size: 14px;
    }
}

@media (max-width: 1100px) {
    :root {
        --navbar-top-h: 72px;
        --navbar-bottom-h: 0px;
        --navbar-total-h: var(--navbar-top-h);
    }

    .navbar-top {
        min-height: var(--navbar-top-h);
        padding: 10px 0;
    }

    .navbar-top-right-wrapper {
        background: transparent;
        margin-left: auto;
        min-height: auto;
        padding: 0;
        border-radius: 0;
        flex: 0 0 auto;
        overflow: visible;
    }

    .navbar-top-right-wrapper::after {
        display: none;
    }

    .navbar-top-center,
    .navbar-bottom,
    .navbar-top-auth .auth-link,
    .navbar-top-auth .auth-btn-outline,
    .navbar-top-auth .user-dropdown-wrapper {
        display: none;
    }

    .navbar-top-left {
        min-width: auto;
    }

    .brand-logo {
        font-size: clamp(24px, 5.6vw, 31px);
    }

    .brand-year {
        font-size: clamp(16px, 4vw, 20px);
    }

    .navbar-hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    :root {
        --navbar-top-h: 66px;
        --navbar-total-h: var(--navbar-top-h);
    }

    .navbar-container {
        padding: 0 14px;
    }

    .navbar-top {
        padding: 8px 0;
    }

    .brand-logo {
        font-size: clamp(21px, 7.2vw, 27px);
    }

    .brand-year {
        font-size: clamp(14px, 4.6vw, 18px);
    }

    #mobileDrawer.mobile-drawer {
        width: 100%;
        max-width: 100%;
    }
}
