/* --- FONTS --- */
@font-face {
    font-family: 'Monument Extended';
    src: url('../../fonts/MonumentExtended-Ultrabold.otf') format('opentype');
}

/* --- BASE STYLES --- */
body {
    background-color: rgb(32, 33, 33);
    color:  #c3b23e;
    margin: 0;
    font-family: sans-serif;
    overflow-x: hidden;
    overflow-y: scroll; /* Fix for pixel shifting between pages */
}

/* --- HEADER & NAVIGATION --- */
.main-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    gap: 20px;
}

.main-logo {
    width: 180px;
    height: auto;
    transition: transform 0.3s ease;
}

.main-logo:hover { transform: scale(1.05); }

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.social-links img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.social-links img:hover { transform: scale(1.2); }

.main-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.menu-item img {
    width: 140px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.menu-item img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* --- PLAYLIST & ROTATION --- */
.playlist-section {
    text-align: center;
    margin: 60px 0;
}

.playlist-header {
    font-family: 'Monument Extended', sans-serif;
    color: #c3b23e;
    font-size: 15px;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.playlist-img {
    width: 140px;
    height: auto;
    border-radius: 50%;
    cursor: pointer;
}

/* Rotation starts immediately */
.rotating {
    animation: spin 8s linear infinite;
}

.playlist-content {
    display: none; /* Toggled by JS */
    width: 85%;
    max-width: 500px;
    margin: 30px auto;
    background: rgba(26, 26, 26, 0.9);
    padding: 25px;
    border: 1px solid #c3b23e;
    border-radius: 15px;
}

.show-playlist { display: block !important; }

audio {
    width: 100%;
    margin-top: 5px;
    background-color: black;
    border-radius: 30px; /* Makes it look smoother */
}

/* Target internal browser controls for Chrome, Safari, Edge */
audio::-webkit-media-controls-panel {
    background-color: black;
}

/* Apply gold (#c3b23e) color to controls */
audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button,
audio::-webkit-media-controls-timeline,
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display,
audio::-webkit-media-controls-volume-slider {
    filter: invert(72%) sepia(18%) saturate(1215%) hue-rotate(9deg) brightness(93%) contrast(87%);
}

.song-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.song-list li {
    font-family: 'Monument Extended', sans-serif;
    font-size: 11px;
    padding: 12px;
    border-bottom: 1px solid #333;
    cursor: pointer;
    transition: 0.2s;
}

.song-list li:hover {
    color: #b41e34;
    background: rgba(195, 178, 62, 0.1);
}

/* --- GALLERY --- */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 40px 20px;
}

.gallery-item {
    height: 250px;
    width: auto;
    object-fit: cover;
    border-radius: 5px;
    transition: 0.3s;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .main-header {
        padding: 20px 10px;
        gap: 15px;
    }

    .main-logo {
        width: 140px;
    }

    .social-links {
        gap: 15px;
    }

    .social-links img {
        width: 30px;
        height: 30px;
    }

    .main-nav {
        gap: 10px;
    }

    .menu-item img {
        width: 100px;
    }

    .playlist-header {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .playlist-img {
        width: 120px;
    }

    .playlist-content {
        width: 95%;
        padding: 15px;
        background: black; /* Changed from dark grey to black */
    }

    .song-list li {
        padding: 10px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .main-logo {
        width: 120px;
    }

    .menu-item img {
        width: 85px;
    }
    
    .social-links img {
        width: 25px;
        height: 25px;
    }

    .playlist-header {
        font-size: 11px;
    }
}

.bandcamp-link {
    color: #c3b23e; /* Your Signature Gold/Yellow */
    text-decoration: none; 
    font-family: 'Monument Extended', sans-serif;
    font-weight: bold;
    text-transform: uppercase; /* Makes it look like a bold button */
    transition: all 0.4s ease; /* Smooth transition between colors */
}

.bandcamp-link:hover {
    color: #b41e34; /* Switches to your Crimson Red */
    /* This creates a deep red glow effect */
    text-shadow: 0 0 8px rgba(180, 30, 52, 0.6), 
                 0 0 20px rgba(180, 30, 52, 0.4); 
    letter-spacing: 1px; /* Subtle "expansion" effect */
}
