/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000, #8B0000, #4B0082);
    background-size: 400%;
    animation: AnimationName 15s ease infinite;
    color: white;
    line-height: 1.6;
}

@keyframes AnimationName {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}


/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: white;
    padding: 0.625rem 1.25rem;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
}

nav .logo {
    width: 20.375rem;
    height: auto;
    margin-right: 20rem;
}
/* logo size */
/* Medium screens (tablets) */
@media (max-width: 1024px) {
    nav .logo {
        width: 16rem; /* Reduce logo size */
    }
}

/* Small screens (mobile) */
@media (max-width: 768px) {
    nav .logo {
        width: 12rem; /* Smaller size for mobile */
    }
}

/* Very small screens */
@media (max-width: 480px) {
    nav .logo {
        max-width: 1200px; /* Resize but keep aspect ratio */
        height: auto;
        width: 80%;
       margin-right: 1rem;
    
    }
}
/* Navbar List Items */
nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    position: relative;
}

/* Style Dropdown Parent */
nav ul .dropdown {
    position: relative;
}

/* Hide Dropdown Menu Initially */
nav ul .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    list-style: none;
    padding: 10px 0;
    width: 150px;
    display: none;
    text-align: left;
    border-radius: 5px;
}

/* Style Dropdown Links */
nav ul .dropdown-menu li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease-in-out;
    position: relative;
}

/* Hover Effect - White Underline */
nav ul .dropdown-menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: red ;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

nav ul .dropdown-menu li a:hover::after {
    transform: scaleX(1);
}

/* Show Dropdown on Hover */
nav ul .dropdown:hover .dropdown-menu {
    display: block;
}

/* drop down box arrow */
.nav-link i {
    color: white;
    font-size: 12px;
    margin-left: 5px;
}

nav ul  li{
    padding-top: 10px;
}
nav ul li {
    list-style: none;
}

nav ul li a {
    color: white;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
    
}
/* Navbar Ticket Button (3D Red to White Gradient) */
nav .btn {
    background: red; /* Red to White gradient */
    border: none;
    color: black;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 6px 12px rgba(211, 210, 210, 0.3); /* 3D Shadow Effect */
    text-align: center;
    font-family: Arial, sans-serif;
    position: relative;
    display: inline-block;
}

/* Hover Effect (Turns White) */
nav .btn:hover {
    background: white;
    color: black;
    transform: scale(1.05) translateY(-3px); /* Lift effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Click Effect (Press Down) */
nav .btn:active {
    transform: scale(1) translateY(2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* Underline hover effect */
nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.125rem;
    width: 100%;
    height: 0.125rem;
    background-color: red;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

nav ul li a:hover {
    color: rgb(255, 147, 147);
}

/* Mobile Responsive Menu */
.icon {
    display: none;
    font-size: 1.5625rem;
    color: white;
    cursor: pointer;
}

.hamburger {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    z-index: 1000;
}


/* navbar-checking */
/* Mobile Navigation Overrides (for screens 768px and below) */
/* Modified Mobile Responsive Menu */
/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px; /* Right-aligned hamburger */
        font-size: 32px;
        cursor: pointer;
        z-index: 1000;
        background: none;
        border: none;
        color: white;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        width: 75%;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 80px 30px 20px;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto; /* Allow scrolling if needed */
    }

    .nav-menu.show {
        left: 0;
    }

    .dropdown-menu {
        position: relative;
        background: transparent !important;
        padding: 10px;
        border-radius: 5px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        max-height: 500px; /* Expand to fit content */
        opacity: 1;
        transition: max-height 0.3s ease-in, opacity 0.3s ease-in;
    }

    .dropdown.active + li {
        margin-top: 8rem; /* Push down the next menu item */
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        backdrop-filter: blur(5px);
        display: none;
        z-index: 998;
    }

    .menu-overlay.active {
        display: block;
    }

    .nav-menu .nav-item {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}











/* main */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header styles */
.header {
    text-align: center;
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.header p {
    font-size: 1.25rem;
    color: #cbd5e1;
}

/* Tabs styles */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 10px;
    background: rgba(17, 24, 39, 0.3);
    padding: 0.5rem;
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem; /* reduce padding for small screens */
    background-color: rgba(31, 41, 55, 0.4);
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}






.tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.tab:hover::before {
    transform: translateX(100%);
}

.tab:first-child {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.tab:last-child {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.tab.active {
    background-color: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.tab:hover:not(.active) {
    background-color: rgba(55, 65, 81, 0.8);
    transform: translateY(-1px);
}





  /* Toast styling */
  /* Centered message box */
  #toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    color: #333;
    border-left: 6px solid #007BFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px 24px;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 9999;
    max-width: 90%;
    text-align: center;
  }

  #toast.show {
    opacity: 1;
    visibility: visible;
  }




/* Content styles */
.content {
    background-color: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(75, 85, 99, 0.4);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
   
}
header{
    margin-top: 5rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Event banner styles */
.event-banner {
    margin-bottom: 2rem;
}

.event-banner img {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    border-radius: 0.75rem;
}

.event-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    color: #cbd5e1;
}





.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Tickets grid styles */
.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.ticket-card {
    background-color: rgba(31, 41, 55, 0.8);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.5s ease;
}

.ticket-card[data-type="silver"].hovered {
    background: linear-gradient(135deg, #718096, #4A5568);
    transform: scale(1.05);
}

.ticket-card[data-type="gold"].hovered {
    background: linear-gradient(135deg, #F6E05E, #D69E2E);
    transform: scale(1.05);
}

.ticket-card[data-type="platinum"].hovered {
    background: linear-gradient(135deg, #9F7AEA, #6B46C1);
    transform: scale(1.05);
}

.ticket-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ticket-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.ticket-price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.ticket-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.ticket-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

.ticket-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #dc2626;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ticket-button:hover {
    background-color: #b91c1c;
}

/* Policy and Terms styles */
.policy-content, .terms-content {
    color: #cbd5e1;
}

h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: white;
}

h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.policy-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-content .note {
    font-weight: 600;
    margin-top: 1rem;
}

.terms-content section {
    margin-bottom: 1.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .tabs {
        flex-direction: row;
        overflow-x: auto;
        padding: 0.75rem;
        gap: 0.5rem;
        background: rgba(17, 24, 39, 0.6);
        border-radius: 1rem;
        margin: 0 -0.5rem 2rem -0.5rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tabs::-webkit-scrollbar {
        display: none;
    }

    .tab {
        flex: 0 0 auto;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        border-radius: 0.5rem !important;
        white-space: nowrap;
        backdrop-filter: blur(8px);
    }

    .tab i {
        margin-right: 0.25rem;
    }

    .event-info {
        flex-direction: column;
        align-items: center;
    }

    .tickets-grid {
        grid-template-columns: 1fr;
    }
}