body, html {
    margin: 0;
    padding: 0;
    position: relative;
    color: #d4af37;
    background-color: black;
}

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Bungee';
    src: url('../fonts/Bungee-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Apply the font to your body or specific elements */
body {
    font-family: 'Bungee', sans-serif;
}

header {
    width: 100%;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    position: relative;
    top: 0;
    left: 0;
}

/* Navigation */
.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-list li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    color: #FEF8AC;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-list li a:hover {
    color: rgb(255, 0, 0);
}

/* Updated Background Section */
.background-section {
    background-image: url('../photos/background-1.jpg'); /* Absolute path from public_html */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Fixes the background image */
    position: relative; /* Allows text overlay */
    min-height: 100vh; /* Ensure it fills the viewport */
    padding-top: 12px; /* Pushes content below the navbar */
}

.background-section h1 {
    margin-top: 0px;
    font-size: 3em;
    color: #f6f2f2;
    font-family: 'Bungee', sans-serif;
    text-align: center;
}

/* Music Item */
.music-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(15, 14, 14);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.music-item img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
}

.music-info {
    flex-grow: 1;
    margin-left: 20px;
    text-align: left;
}

.music-info h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #d4af37;
    font-family: 'Playfair Display', serif;
}

audio {
    width: 100%;
    outline: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-list li a {
        font-size: 16px;
    }
    
    .music-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .music-info {
        margin-left: 0;
        margin-top: 15px;
    }

    audio {
        width: 100%;
    }
    
    .background-section {
        background-image: url('../photos/phonebackround2.webp'); /* Mobile background */
        background-size: cover;
        background-position: center;
        background-attachment: scroll; /* Prevent fixed background on mobile */
    }
}

/* Responsive Design for iPhones and small mobile phones */
@media (max-width: 480px) {
    header {
        padding: 1px 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 5px;
    }

    .nav-list li a {
        font-size: 14px; /* Smaller font size for mobile */
    }

    .background-section {
        background-image: url('../photos/phonebackround2.webp');
        background-size: contain;
        background-position: center top;
        min-height: 100vh;
    }

    .music-item {
        padding: 10px;
    }

    .music-info h2 {
        font-size: 1.2em; /* Smaller heading for mobile */
    }

    audio {
        width: 100%;
    }
}
