:root {
    font-size: 16px;
}
/* In your style.css file, update the body rule */
body {
    background-color: white;
    margin: 0;
    font-family: Arial, sans-serif;
    color: black;
    text-align: center;
    /* UPDATE: Increased padding to make space for the floating bar */
    padding-bottom: 100px; 
}

main {
    text-align: center;
}
.content-section {
    padding: 4rem 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}
h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

header {
    padding: 1.25rem;
}
nav {
    display: flex;
    justify-content: center;
}
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}
nav ul li a {
    color: black;
    text-decoration: none;
    padding: 0.6rem 1rem;
    transition: background-color 0.3s;
}
nav ul li a:hover {
    background-color: #ddd;
}


#hero {
    /* Minimal padding, mostly on the top */
    padding: 1rem 1.25rem 0.5rem 1.25rem;
}
.hero-logo {
    display: block;
    margin: 0 auto;
    height: auto;
    /* Final size reduction */
    max-width: 350px;
}

#music {
    /* Minimal top padding for a little separation */
    padding-top: 0.5rem;
    padding-bottom: 2.5rem;
    background-color: #f7f7f7;
}

footer {
    text-align: center;
    padding: 1.25rem;
    margin-top: 2.5rem;
    border-top: 1px solid #ddd;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    nav ul li {
        width: 100%;
        text-align: center;
    }
    nav ul li a {
        display: block;
    }
    .hero-logo {
        max-width: 80%;
    }
}

/* ==== SWIPER CAROUSEL STYLES ==== */
.swiper {
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.swiper-slide img, .swiper-slide iframe {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.swiper-slide a:hover .slide-caption {
    opacity: 1;
}
.swiper-button-next, .swiper-button-prev {
    color: white;
}

/* ==== STICKY IMAGE BAR ==== */


/* Replace your existing .sticky-image-bar rule with this entire block */
.sticky-image-bar {
    position: fixed;
    /* NEW: Move it up slightly from the edge */
    bottom: 1rem;       
    /* NEW: These three lines center the bar horizontally */
    left: 50%;
    transform: translateX(-50%);
    /* NEW: Set a width and a max-width */
    width: 90%;
    max-width: 700px;
    height: 70px;
    z-index: 1000;
    
    /* --- FIX for the background image --- */
    background-image: url('../RESOURCES/mspaint_select_bar.png');
    background-size: contain; /* This prevents stretching and maintains aspect ratio */
    background-repeat: no-repeat;
    background-position: center; /* This centers the contained background image */

    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
}
.bar-slot {
    display: block;
    height: 75%;
    flex-grow: 1;
    margin: 0 5px;
    transition: background-color 0.2s ease;
}
.bar-slot:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
.bar-slot img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the logo fits without being stretched or cropped */
}