body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f4;
}

.ticket-img {
  height: 100px;
  width: 20%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  display: block;
}


* {
    scrollbar-color: #1C1C1C #FFFFFF;
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    width: 10px;
}
*::-webkit-scrollbar-track {
    background: #FFFFFF;
}
*::-webkit-scrollbar-thumb {
    background: #1C1C1C;
    border-radius: 6px;
}

.banner {
    width: 100%;
    height: 300px;
    display: table;
    color: white;
    text-align: left;
    padding-left: 20px;
    background-repeat: no-repeat;
    background-position: left center;
    box-sizing: border-box;
    margin: 0;
    padding: 4%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: url('images/banner07.jpg') center/cover no-repeat;
    filter: blur(10px);
    z-index: -1;
    transform: scale(1.1);
}

.banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: -1;
}

.banner * {
    position: relative;
    z-index: 2;
}

.bannersection {
    max-width: 83%;
    margin: auto;
    padding-top: 140px;
}

.banner span {
    font-size: 36px;
    font-weight: 800;
    color: black;
}

.tabs {
    position: absolute;
    top: 90%;
    display: flex;
    gap: 20px;
}

.tab {
    font-size: 16px;
    font-weight: 300;
    cursor: pointer;
    padding-bottom: 5px;
    color: black;
}

.tab.active {
    padding-top: 10px;
}

.container {
    width: 80%;
    margin: auto;
    display: flex;
    gap: 20px;
    margin-top: -30px;
    margin-bottom: 30px;
}

.left-section {
    flex: 2;
    background: transparent;
    padding: 20px;
    border-radius: 10px;
}

.right-section {
    flex: 1;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: -100px;
    z-index: 10;
}

.inner-section {
    padding: 0 15px 10px 15px;
}

.filters {
    display: flex;
    gap: 20px;
    justify-content: left;
    align-items: left;
    margin: 25px 0 20px 0;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.filter-btn {
    background: white;
    border: 1px solid #9B59B6;
    padding: 6px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    color: #9B59B6;
    transition: background-color 0.3s ease;
}

.filter-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #9B59B6;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .filter-btn::after {
    transform: rotate(180deg);
}

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

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    border-radius: 10px;
    border: 1px solid #9B59B6;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-top: 2px;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 10px;
}

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

.dropdown:hover .filter-btn {
    background-color: #f9f9f9;
}

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

.event {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #dcdcdc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.event:hover .see-tickets {
    background: #9B59B6;
    color: white;
    transform: translateX(-7px);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.event:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.event-info {
    display: flex;
    flex-direction: column;
}

.event-date {
    font-weight: 700;
    color: #9B59B6;
}

.event-title {
    font-weight: 700;
    font-size: 18px;
}

.event-location {
    font-size: 14px;
    color: gray;
}

.see-tickets {
    background: none;
    border: 2px solid #9B59B6;
    color: #9B59B6;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
}

.carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.carousel-wrapper {
    display: flex;
    transition: transform 1s ease;
}

.carousel-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.carousel-button {
    position: absolute;
    top: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    display: none;
}

.carousel-button-prev {
    left: 10px;
}
.carousel-button-next {
    right: 10px;
}

.carousel:hover .carousel-button {
    display: block;
}

.pagination {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.page-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    border: none;
    background: none;
    color: black;
}
.page-button.active {
    background-color: #9B59B6;
    color: white;
}
.nav-button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
    color: gray;
}
.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-container {
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.popup-header {
    background-color: #9B59B6;
    color: white;
    padding: 15px 20px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-title {
    margin: 0;
    font-size: 20px;
}

.popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.popup-iframe {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.separator {
    border-top: 1px solid #ccc;
    margin: 10px 0;
    width: 63%;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        width: 90%;
    }
    .right-section {
        margin-top: 0;
    }
    .filters {
        flex-wrap: wrap;
        gap: 10px;
    }
    .filter-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
    .banner span {
        font-size: 24px;
    }
    .bannersection {
        padding-top: 80px;
        max-width: 90%;
    }
    .tabs {
        flex-direction: column;
        gap: 10px;
        top: 95%;
    }
    .event {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .see-tickets {
        align-self: flex-end;
    }
    .carousel-wrapper img {
        height: 150px;
    }
    .popup-container {
        width: 95%;
        max-height: 90vh;
    }
    .popup-iframe {
        height: calc(90vh - 60px);
    }
    .separator {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .banner span {
        font-size: 20px;
    }
    .filter-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    .page-button {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .event-title {
        font-size: 16px;
    }
    .event-location {
        font-size: 12px;
    }
    .carousel-wrapper img {
        height: 120px;
    }
    .close {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }
}
