:root {
    --primary: #003FCA;
    --primary-container: rgba(208, 220, 235, 0.5);
    --on-primary: #ffffff;
    --primary-container: rgba(5, 25, 49, 0.5);
    --on-surface: #3a3a3a;
    --on-surface-variant: #575757;
    --background: #ffffff;
    --surface: #ffffff;
    --surface-variant: #EDEDED;
    --secondary: #000000;
    --on-secondary: #b9b9b9;
}


/* ===========================
   NAVBAR / HEADER
   =========================== */
/* Header Styles */
.header {
    background: #ffffff !important;
    backdrop-filter: blur(13.9px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-out;
    font-size: 16px;
}

.header-container {
    max-width: 1440px !important;
}

/* Protect header logo from year-specific CSS resets */
.header .logo-img {
    height: 43.651px;
    width: 90px;
    vertical-align: baseline;
    border: 0;
    background: transparent;
}

.header .logo a {
    display: inline-flex;
    align-items: center;
}



/* Header slide up animation */
.header.slide-up {
    transform: translateY(-100%);
}

/* Header slide down animation */
.header.slide-down {
    transform: translateY(0);
}

.header-nav-wrapper {
    gap: 40px;
}

.nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 40px !important;
    list-style: none;
    margin: 0 !important;
    padding: 0;
}

.nav-menu li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-menu a,
.header button {
    font-family: 'Unbounded', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400;
    color: var(--on-surface) !important;
    text-decoration: none;
    line-height: 26px;
}

.header button {
    color: var(--on-primary) !important;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* Active menu item styling */
.nav-menu a.active {
    color: var(--primary) !important;
}

.mobile-nav-menu a.active {
    color: var(--primary) !important;
    font-weight: 600;
}

.nav-dot {
    width: 6px;
    height: 6px;
}

.btn-register {
    background: var(--primary);
    color: var(--on-primary);
    padding: 16px 24px !important;
    border-radius: 1000px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 16px !important;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background: #0060ca;
    transform: translateY(-2px);
    box-shadow: 0 -4px 12px rgba(0, 112, 234, 0.3);
}

/* Ensure header Buy Tickets button is consistent across all year pages */
.header .btn.btn-primary {
    background: #003FCA !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 1000px !important;
    padding: 12px 24px !important;
    font-family: 'Unbounded', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    transition: all 0.3s ease;
}

.header .btn.btn-primary:hover {
    background: #0060ca !important;
    transform: translateY(-2px);
    box-shadow: 0 -4px 12px rgba(0, 112, 234, 0.3);
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0;
    z-index: 1000;
    animation: slideDown 0.3s ease-out;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: left bottom;
    overflow: hidden;
    background: url('/assets/images/mega menu/menu-pattern.png') top center;
    background-color: #FF4B00;
}

.mega-menu-container {
    /* max-width: 1440px !important; */
    margin: 0 auto;
}

.mega-menu p {
    font-size: 16px !important;
    color: #8b91c9;
}

.mega-menu.d-none {
    display: none !important;
}

.mega-menu-content {
    padding: 0;
}

.mega-menu-title {
    font-size: 76px;
    font-weight: 800;
    line-height: 86px;
    color: var(--on-primary);
    margin-bottom: 15px;
}

.mega-menu-grid {
    display: flex;
    gap: 0;
    height: 100vh;
    align-items: center;
    position: relative;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 9;
    transition: all 0.6s ease;
    max-width: 40%;
    background: #000;
    height: 100vh;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.mega-menu-image-column {
    max-width: 60%;
    width: 100%;
    align-items: end;
    justify-content: end;
    display: flex;
    background: transparent;
    margin-top: 250px;
}


.mega-menu-item {
    font-size: 24px !important;
    font-weight: 400;
    color: var(--on-primary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0px 0 0 36px;
    display: flex;
    align-items: center;
    position: relative;
    gap: 16px;
    font-family: 'Poppins', sans-serif;
}

.mega-menu-item::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 0;
    top: 8px;

    background-image: url("data:image/svg+xml,%3Csvg width='55' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 3H14V14' stroke='%23FF4B00' stroke-width='2'/%3E%3Cpath d='M2.5 13.5L14 3' stroke='%23FF4B00' stroke-width='2'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-size: contain;
}

.mega-menu-item:hover {
    color: var(--primary);
    text-decoration: none;
    margin-left: 5px;
}

.events-nav-link {
    cursor: pointer;
    transition: color 0.3s ease;
}

.events-nav-link.active {
    color: #6366f1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mega Menu Image Preview */
.mega-menu-image-preview {
    position: fixed;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    overflow: hidden;
    box-shadow: 18px 35px 18px 0px rgb(0 0 0 / 30%);
    max-width: 480px;
    width: 480px;
    height: auto;
    border-radius: 3px;
}

.mega-menu-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mega-menu-image-preview.show {
    opacity: 1;
}


.social-media-icon-mobile .social-icon {
    background: #fff ! important;
}

.social-media-icon-mobile .social-icon svg {
    fill: #0C1220;
}


@media (min-width: 1024px) {

    .mega-menu-image-column::after {
        content: "";
        position: absolute;
        width: 129px;
        height: 129px;
        right: 37px;
        top: -95px;
        background-image: url("data:image/svg+xml,%3Csvg width='55' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 3H14V14' stroke='%23FFFFFF' stroke-width='2'/%3E%3Cpath d='M2.5 13.5L14 3' stroke='%23FFFFFF' stroke-width='2'/%3E%3C/svg%3E");

        background-repeat: no-repeat;
        background-size: contain;
    }
}

@media (min-width: 992px) {
    .menu-colums {
        position: relative;
        height: 100vh;
        max-width: 525px;
        width: 100%;
        width: 100%;
        justify-content: start;
        padding: 240px 0 0;
    }

    .menu-colums:before {
        content: "";
        position: absolute;
        top: -60px;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('/assets/images/mega menu/global.png') no-repeat;
        background-size: contain;
    }

    .navigsection {
        align-items: end;
        position: relative;
        padding-right: 30px;
    }

    .navigsection:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 122px;
        height: 122px;
        background: url('/assets/images/mega menu/cornerbg.png') no-repeat;
        background-size: contain;
    }

    .event-menu-item {
        min-height: 63px;
        display: flex;
        align-items: center;
        position: relative;
        max-width: 350px ! important;
        justify-content: start;
        margin: 0 auto;
        padding: 0 ! important;
    }

    .social-media-icon-mobile .social-icons {
        margin-top: 60px;
    }
}


@media (max-width: 1500px) {
    .navigsection:after {
        display: none;
    }
}

/* Responsive Mega Menu */
@media (max-width: 1024px) {
    .mega-menu-column {
        max-width: 100%;
    }

    .mega-menu {
        background-color: #000;
        background-image: none;
    }

    .mega-menu-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
        display: grid;
        padding: 0;
        align-items: start;
    }

    .mega-menu-image-column img,
    .menu-colums:before {
        display: none;
    }

    .mega-menu-column {
        height: auto !important;
        align-items: start;
    }

    .menu-colums {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 25px;
    }
}


@media (max-width: 992px) {
    .header {
        padding: 0;
    }

    .logo {
        display: flex;
    }
}

@media (max-width: 768px) {
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        height: auto;
    }

    .mega-menu-item {
        font-size: 18px;
    }

    .mega-menu-title {
        font-size: 40px;
        line-height: 48px;
    }

    .mega-menu {
        padding: 20px 0;
        height: 110vh !important;
        position: fixed;
    }


    .mega-menu-content {
        padding: 0 15px;
    }

    .mega-menu-image-preview {
        display: none !important;
    }

    .mega-menu-column {
        gap: 40px;
    }


    .header-nav-wrapper {
        gap: 10px;
    }

}


/* ===========================
   GALLERY STYLES (from gallery.css)
   =========================== */

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;

}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: var(--on-surface);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background: var(--surface);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav.active {
    max-height: max-content;
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu li:last-child {
    margin-bottom: 0;
}

.mobile-nav-menu a {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--on-surface);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .mobile-nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }
}

/* Scroll behavior - add top padding to body when header is fixed */
body.header-fixed {
    padding-top: 0;
}

/* MEga Menu Enhancement */
.glare {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
}

.smoke {
    position: absolute;
    bottom: -50px;
    left: 400px;
    z-index: 3;
}

.mega-menu-image {
    width: 100%
}

.mega-menu-mic {
    position: relative;
    z-index: 1;
    left: 60px;
    bottom: -200px;
}

.Dropdown-icon {
    position: relative;
    left: 15px;
    margin-right: 15px;
}

.glow {
    position: absolute;
    right: 0;
    bottom: 0;
}

.diamond-big {
    position: absolute;
    left: 0px;
    top: 0;
    animation: spin 10s linear infinite;
}

.diamond-small {
    position: absolute;
    right: -150px;
    top: 0;
    animation: spin 10s linear infinite;
}

.star-big {
    position: absolute;
    right: 0;
    bottom: 0px;
    z-index: 1;
    animation: spin 10s linear infinite;
}

.star-small {
    position: absolute;
    bottom: 0px;
    left: 0;
    animation: spin 10s linear infinite;
}

.rotate {
    animation: spin 10s linear infinite;
}

.dropdown-menu.show {
    display: block;
    padding: 15px;
    width: 300px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.new-badge {
    padding: 4px 10px;
    background: #ff4b00;
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 400;
    margin-left: 0;
    text-transform: uppercase;
}

/* Header Avatar Styles */
.header-avatar-wrapper {
    position: relative;
    margin-left: 15px;
}

.header-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /* background: linear-gradient(135deg, #0a1628 0%, #1a237e 100%); */
    background: #0244CD;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Unbounded', sans-serif;
}

.header-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 63, 202, 0.3);
}

.header-avatar-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
    overflow: visible;
}

.header-avatar-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-avatar-dropdown a.dropdown-item,
.header-avatar-dropdown button.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--on-surface) !important;
    text-decoration: none;
    font-size: 16px !important;
    font-family: 'Unbounded', sans-serif !important;
    font-weight: 400;
    transition: background-color 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    line-height: 26px;
}

.header-avatar-dropdown a.dropdown-item:hover,
.header-avatar-dropdown button.dropdown-item:hover {
    background-color: var(--surface-variant);
    color: var(--primary) !important;
}

.header-avatar-dropdown .dropdown-item-form {
    margin: 0;
    display: block;
}

.header-avatar-dropdown button.logout-btn {
    color: #dc3545 !important;
    width: 100%;
    display: block;
}

.header-avatar-dropdown button.logout-btn:hover {
    background-color: #fff5f5;
    color: #dc3545 !important;
}

.dropdown-menu p {
    color: var(--secondary);
}

a.dropdown-item:focus {
    background: none;
}

.nav-menu li a.buyticketbtn {
    background: #003FCA !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 1000px !important;
    padding: 12px 24px !important;
    font-family: 'Unbounded', sans-serif !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    transition: all 0.3s ease;
}