html {
    scroll-behavior: smooth;
}

/* ==========================================
   UNIFIED HEADER & NAVIGATION STYLES
   ========================================== */
header {
    background-color: white;
    padding: 15px 0;
    position: fixed; 
    top: 0;
    width: 100%;
    z-index: 1000; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    transition: padding 0.3s ease;
}

/* Navigation Links */
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0066cc;
}

.nav-links a.active {
    color: #0066cc;
    font-weight: bold;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #0066cc;
    bottom: -10px;
    left: 0;
    border-radius: 5px;
}

/* ==========================================
   BODY SECTIONS (Your custom designs)
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: blueviolet;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px, 1fr));
    gap: 20px;
}

.event-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #0066cc;
}

.event-date {
    background-color: #f4f4f4;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.event-date .day { font-size: 2.0rem; font-weight: bold; color: #666; }
.event-date .date { font-size: 1.5rem; font-weight: bold; color: #0066cc; }

.event-details { padding: 20px; }
.event-details h3 { margin: 0 0 10px 0; color: #333; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 15px;
}

.gallery-item {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #eee;
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3; 
    display: block;
    transition: transform 0.3s ease; 
}

.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.05); }

.cta-section { background-color: #f9f9f9; padding: 60px 0; text-align: center; }

.button-group { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; }

.btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary { background-color: #0066cc; color: #ffffff; border: 2px solid #0066cc; }
.btn-secondary { background-color: transparent; color:#0066cc; border: 2px solid #0066cc; }

.btn-primary:hover { background-color: #004a99; border-color: #004a99; }
.btn-secondary:hover { background-color: #0066cc; color:#ffffff ; }

.site-footer { background-color: #1a1a1a; color: #cccccc; padding-top: 60px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }

.footer-col h3 { color: #ffffff; margin-bottom: 20px; font-size: 1.2rem; border-bottom: 2px solid #0066cc; display: inline-block; padding-bottom: 5px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col li a { color: #cccccc; text-decoration: none; transition: 0.3s ease; }
.footer-col li a:hover { color: #0066cc; }

.footer-bottom { background-color: #000000; text-align: center; padding: 20px 0; border-top: 1px solid #333333; }
.footer-bottom p { margin: 0; }

.global-wallpaper {
    background-image: url('https://images.unsplash.com/photo-1438232992991-995b7058bbb3?q=80&w=1200&auto=format&fit=crop'); 
    background-attachment: fixed; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.events-section, .gallery-section, .cta-section {
    background-color: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(8px); 
    padding: 60px 0; 
}

.events-section h2, .gallery-section h2 { color: #111111; text-align: center; margin-bottom: 40px; font-size: 2.5rem; }

.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.appear { opacity: 1; transform: translateY(0); }

.audio-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; background-color: rgba(255, 255, 255, 0.9); padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); margin-top: 20px; }
.now-playing { display: flex; flex-direction: column; align-items: center; text-align: center; border-right: 2px solid #eee; padding-right: 20px; }
.track-artwork img { border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); margin-bottom: 20px; }
.track-info h3 { margin: 0; color: #0066cc; }
.track-info p { color: #666; margin-bottom: 20px; }
audio { width: 100%; outline: none; }
.playlist h3 { margin-top: 0; margin-bottom: 15px; border-bottom: 2px solid #0066cc; display: inline-block; padding-bottom: 5px; }
.playlist ul { list-style: none; padding: 0; margin: 0; }
.playlist li { padding: 15px; background-color: #f9f9f9; margin-bottom: 10px; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 10px; }
.playlist li:hover { background-color: #e6f2ff; transform: translateX(5px); }
.playlist li.active-track { background-color: #0066cc; color: white; font-weight: bold; }

/* ==========================================
   MOBILE RESPONSIVENESS (Screens < 768px)
   ========================================== */
@media (max-width: 768px) {
    
    header { padding: 15px 20px; }

    /* 1. Show the Hamburger icon */
    .menu-toggle { display: flex !important; }

    /* 2. Hide the navigation initially and style the dropdown */
    .nav-links {
        display: none !important; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: #ffffff;
        text-align: center;
        padding: 0 !important; /* <--- This forces it to center and removes the left shift! */
        margin: 0 !important;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    /* 3. Make the links full-width and touchable */
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 15px 0; }

    /* 4. This class is triggered when you click the hamburger! */
    .nav-links.show-mobile { display: flex !important; }

    /* Stack other grids */
    h1, h2 { font-size: 2rem; }
    .events-grid, .gallery-grid, .audio-dashboard { grid-template-columns: 1fr; gap: 20px; }
    .now-playing { border-right: none; border-bottom: 2px solid #eee; padding-right: 0; padding-bottom: 20px; margin-bottom: 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}