@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    /* background-color: #f5f5f5; */
    overflow-x: hidden; /* Prevents horizontal scroll */
    background-color: white;
}

/* Base Styles */
h1 {
    color: white;
    font-size: 28px;
    margin: 0;
}
/* === General Navbar Styles === */
.navbar {
    background-color: #7f18d9;
    color: white;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* === Logo Styling === */
#logo {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 700;
    color: white;
    margin: 0;
}

/* === Hamburger Button === */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

/* === Navigation Links === */
.nav-links {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-size: clamp(0.875rem, 3vw, 1rem);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar a:hover {
    background-color: #d0aaf2;
    color: black;
}

/* === Dropdown Button === */
.dropbtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.dropbtn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* === Dropdown Content === */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 100;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-content a {
    display: block;
    color: black;
    text-decoration: none;
    padding: 12px 16px;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #d0aaf2;
    color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #d0aaf2;
}

/* === Responsive Styles === */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-top: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
    }

    .dropdown-content a {
        text-align: center;
    }
}

@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }

    .mobile-menu-toggle {
        display: none;
    }
}

  

.sidebar {
    width: 250px;
    background-color: #f5edff;
    padding: 20px;
    position: fixed;
    top: 70px; /* This should match your header height */
    left: 0;
    bottom: 0; /* Stretches to bottom of viewport */
    overflow-y: auto;
    border-right: 1px solid #e0d0ff;
}

.sidebar h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #7f18d9;  /* Matches your header */
}

.nav-link {
    display: block;
    padding: 10px 15px;  /* Added horizontal padding */
    margin: 5px 0;       /* Spacing between links */
    font-weight: bold;
    text-decoration: none;
    color: #5a189a;      /* Dark purple for readability */
    border-radius: 6px;   /* Rounded corners */
    transition: background-color 0.2s;
}

.nav-link:hover {
    background-color: #e0d0ff;  /* Light purple hover */
}

.nav-link.active {
    background-color: #7f18d9;  /* Header color for active state */
    color: white;               /* White text for contrast */
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 50px 20px;
    background-color: #7f18d9;
    color: white;
    text-align: left;
}

.footer > div {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.footer h3 {
    margin-bottom: 10px;
    color: white;
}

.footer p{
    color: white;
}

.footer .icons {
    flex: 1 1 100%;
    text-align: center;
    margin-top: 30px;
}

.footer .icons a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer > div {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer .icons {
        margin-top: 25px; 
    }
}

.content {
    margin-left: 250px;
    /* Match sidebar width */
    padding: 20px;
    /* margin-top: 5px; */
    /* Match header height */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    padding: 0; 
}

main {
    max-width: 800px;
    margin: 50px auto; 
    padding: 30px;
    /* background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    text-align: center; 
}

.main h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

main div {
    margin-bottom: 20px;
}

main strong {
    display: block;
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 5px;
}

main p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 600px;
}


@media (max-width: 768px) {
    main {
        width: 90%;
        padding: 20px;
    }

    main h1 {
        font-size: 1.8rem;
    }

    main strong {
        font-size: 1.1rem;
    }

    main p {
        font-size: 0.95rem;
    }
}
.info {
    display: flex;
    flex-direction: column;
    gap: 1px; 
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.left {
    text-align: left;
    flex: 1;
    margin-left: 23%;
}

.right {
    text-align: left;
    flex: 1;
    margin-right: 20%;
}
main{
    margin-left: 20%;
    margin-right: 20%;
    padding: 0;
    box-sizing: border-box;
    min-height: 100vh;
    background: white;
}

.filter-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 10px 20px;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto; 
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 10px; 
}

.filter-right {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

#categoryFilter {
    width: 200px;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
}

#searchBar {
    width: 250px;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

iframe {
    display: block; 
    margin: 40px auto; 
    width: 60%; 
    height: 500px; 
    border: 2px solid #ccc;
    border-radius: 10px; 
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2); 
}

#browse2 {
    margin-left: 0px; 
}
#banner2{
    margin: 0;
    padding: 0;
}
.card a {
    text-decoration: none; 
    color: inherit;
    display: inline-block; 
}

.card a:hover {
    text-decoration: underline;
    color: inherit;
}
.ticket-section {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    border: none;
    max-width: 500px;
    margin-left: 50%;
    margin-right: auto;
    position: relative;
    top: 50px; 
}

.ticket-section h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    align-content: center;
}

.ticket-option {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
    margin-right: -60%;
    font-size: 20px;
}

.ticket-option h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.ticket-option select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.checkout-btn {
    background-color: #333;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    margin-left: 40%;
    width: 100%;
}

.checkout-btn:hover {
    background-color: #555;
}
/* .buy-tickets-btn {
    background-color: #d3d3d3;
    color: black;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none; 
    display: inline-block; 
    transition: background-color 0.3s ease;
} */

/* .buy-tickets-btn:hover {
    background-color: #b0b0b0;
} */
html {
    scroll-behavior: smooth;
}


.buy-tickets-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 500px;
    /* margin-left: 80%; */
    margin: auto;
    /* margin-right: ; */
}

.buy-tickets-btn:hover {
    background-color: #45a049;
}

.dashboard-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: calc(100vh - 150px);
}

.dashboard-wrapper {
    display: flex;
    gap: 20px;
}

.events-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-box {
    display: flex;
    justify-content: space-between;
    background-color: #ddd;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
}
.upload-container {
    display: flex;
    gap: 20px; 
    margin-top: 10px;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.input-group p {
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 200px;
}
@media (max-width: 600px) {
    .upload-container {
        flex-direction: column;
        gap: 10px;
    }
}
