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

body {
    font-family: 'Helvetica Neue', system-ui, sans-serif;
    overflow-x: hidden;
    color: white;
    touch-action: manipulation;
}

#carousel {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.image-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.current {
    opacity: 1;
}

.next {
    opacity: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 0;
}

/* Navigation */
nav.top-nav {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 100;
}

nav.bottom-nav {
    position: fixed;
    bottom: 30px;
    left: 40px;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.3s ease;
}

/* Underline effects */
nav.top-nav a::after {
    content: '';
    position: absolute;
    left: 100%;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: #ffd700;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

nav.bottom-nav a::after {
    content: '';
    position: absolute;
    left: 100%;
    top: -8px;
    width: 0;
    height: 1px;
    background: #ffd700;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

nav a:hover::after {
    left: 0;
    width: 100%;
}

nav a:hover {
    color: #ffd700;
}

/* Content Sections */
.content-section {
    min-height: 100vh;
    padding: 150px 100px;
    display: none;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    position: relative;
    z-index: 10;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    position: relative;
}

.content-section h2 {
    margin-bottom: 40px;
    font-size: 2.8rem;
    letter-spacing: 1px;
    color: #ffd700;
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ffd700;
}

.content-section p {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 700px;
}

.email-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #ffd700;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.email-button:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.section-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: transparent;
    color: #ffd700;
    border: 1px solid #ffd700;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.section-button:hover {
    background: #ffd700;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.festival-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

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

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border: 1px solid #ffd700;
    border-radius: 4px;
    top: 100%;
    left: 0;
    margin-top: 5px;
}

.dropdown-item {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}
/* Calendar Styles */
.view-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.toggle-button {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid #ffd700;
    color: #ffd700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-button.active {
    background: #ffd700;
    color: #000;
}

.toggle-button:hover {
    background: rgba(255, 215, 0, 0.2);
}

.calendar-container {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 25px;
    max-width: 1000px;
    margin-top: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.calendar-month {
    margin: 0;
    font-size: 1.8rem;
    color: #ffd700;
    text-align: center;
    flex-grow: 1;
    letter-spacing: 1px;
}

.nav-button {
    background: transparent;
    border: 1px solid #ffd700;
    color: #ffd700;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-button:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-1px);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day-header {
    padding: 12px;
    text-align: center;
    font-weight: 500;
    color: #ffd700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-day {
    min-height: 120px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.calendar-day.empty {
    background: transparent;
    border: none;
}

.calendar-day:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.calendar-day-number {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 1rem;
    color: #ffd700;
    font-weight: bold;
}

.calendar-event {
    margin-top: 25px;
    padding: 10px;
    background: rgba(255, 215, 0, 0.15);
    border-left: 3px solid #ffd700;
    font-size: 0.85rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-event:hover {
    background: rgba(255, 215, 0, 0.25);
    transform: translateX(3px);
}

.event-title {
    font-weight: 500;
    color: #ffd700;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.event-details {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Month Events List */
.month-events {
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.month-events h3 {
    color: #ffd700;
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.month-events h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ffd700;
}

.events-month-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.events-month-nav h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #ffd700;
}

.events-nav-button {
    background: rgba(255,215,0,0.1);
    border: 1px solid #ffd700;
    color: #ffd700;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.events-nav-button:hover {
    background: rgba(255,215,0,0.3);
}

.event-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.event-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #ffd700;
    border-radius: 0 4px 4px 0;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(5px);
}

.event-item-date {
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.event-item-title {
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.event-item-details {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Close Button */
.close-section {
    position: absolute;
    top: 30px;
    left: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 100;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
}

.close-section:hover {
    color: #ffd700;
}

/* Mobile Month Navigation */
.mobile-month-nav {
    display: none; /* Hidden by default */
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    background: rgba(0,0,0,0.9);
    padding: 10px 0;
    z-index: 10;
}

.mobile-month-nav h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #ffd700;
}

.mobile-nav-button {
    background: rgba(255,215,0,0.1) !important;
    border: 1px solid #ffd700;
    color: #ffd700;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.mobile-nav-button:active {
    background: rgba(255,215,0,0.3) !important;
}

/* Mobile Month Navigation - Always hidden on desktop */
.mobile-month-nav {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav.top-nav {
        top: 15px;
        right: 15px;
    }
    
    nav.bottom-nav {
        bottom: 15px;
        left: 15px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .content-section {
        padding: 80px 20px;
    }
    
    .content-wrapper {
        padding: 20px;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
     .festival-buttons {
        flex-direction: column;
    }
    
    .dropdown-menu {
        position: static;
        margin-top: 10px;
    }
    
    /* Mobile calendar view */
    #calendar-view {
        display: none !important;
    }
    
    #events-view {
        display: block !important;
        margin-top: 0;
        padding: 15px;
    }
    
    .view-toggle {
        display: none;
    }
    
    .mobile-month-nav {
        display: flex;
        position: sticky;
        top: 0;
        background: rgba(0,0,0,0.9);
        padding: 10px 0;
        z-index: 10;
    }
    
    .events-month-nav {
        display: none; /* Hide desktop-style nav on mobile */
    }
    
    .calendar-header {
        display: none;
    }
    
    .event-item {
        padding: 15px;
    }
    
    .close-section {
        top: 15px;
        left: 15px;
        font-size: 1.8rem;
    }
    
    .section-button, .email-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .content-section {
        padding: 70px 15px;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .event-item {
        padding: 12px;
    }
    
    .event-item-title {
        font-size: 1rem;
    }
    
    .event-item-details {
        font-size: 0.85rem;
    }
    
    .mobile-month-nav h3 {
        font-size: 1.1rem;
    }
    
    .mobile-nav-button {
        padding: 5px 10px;
    }
}
