/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #aaa;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.button {
    display: inline-block;
    background-color: #eee;
    color: #121212;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.button:hover {
    background-color: #ddd;
    color: #121212;
}

/* Header & Navigation */
header {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 10; /* Ensure it stays on top */
    width: 100%;  /* Ensure header spans the full width */
    box-sizing: border-box; /* Include padding in width calculation */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box; /* Include padding in width calculation */
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-list li {
    margin-right: 2rem;
    box-sizing: border-box; /* Include margin in width calculation */
}

.nav-list li:last-child {
    margin-right: 0;
}

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

.dropbtn {
    background-color: transparent;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box; /* Include padding in width calculation */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}

.dropdown-content a {
    color: black;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    box-sizing: border-box; /* Include padding in width calculation */
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    height: 90vh; /* 90% viewport height */
    width: 100%;  /* Full width */
    position: relative;
    overflow: hidden; /* Hide any overflow */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the content */
    align-items: center; /* Horizontally center the content */
    text-align: center;
    box-sizing: border-box; /* Include padding/border in width */

}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3; /* Subtle background */
    z-index: 1;
}

.hero-buttons {
    position: relative; /* Bring buttons forward */
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    box-sizing: border-box; /* Include margin/padding in width */
}

/* About Section */
.about {
    padding: 4rem 0;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box; /* Include padding in width calculation */
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box; /* Include padding/border in width */
}

.about-image {
    margin-top: 2rem;
    max-width: 500px;
    box-sizing: border-box; /* Include margin/padding in width */
}

/* Songs Section */
.songs {
    background-color: #0a0a0a;
    padding: 4rem 0;
    text-align: center;
    box-sizing: border-box; /* Include padding/border in width */
}

.song-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box; /* Include padding in width calculation */
}

.song-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
    box-sizing: border-box; /* Include padding/border in width */
}

.song-item:last-child {
    border-bottom: none;
}

.song-link {
    margin-left: 1rem;
    box-sizing: border-box; /* Include margin/padding in width */
}

/* Merchandise Offer */
.merchandise-offer {
    background-color: #f44336; /* Red to catch attention */
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-weight: 500;
    box-sizing: border-box; /* Include padding/border in width */
}

/* Merchandise Section */
.merchandise {
    padding: 4rem 0;
    text-align: center;
    box-sizing: border-box; /* Include padding/border in width */
}

.merchandise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box; /* Include padding in width calculation */
}

.merchandise-item {
    background-color: #1a1a1a;
    padding: 1.5rem;
    border-radius: 5px;
    box-sizing: border-box; /* Include padding/border in width */
}

.order-button {
    margin-top: 1rem;
    box-sizing: border-box; /* Include padding/border in width */
}

/* Production Section */
.production {
    background-color: #1a1a1a;
    padding: 4rem 0;
    text-align: center;
    box-sizing: border-box; /* Include padding/border in width */
}

.production-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box; /* Include padding in width calculation */
}

.production-item {
    border-radius: 5px;
    overflow: hidden;
    box-sizing: border-box; /* Include padding/border in width */
}

.production-item img {
    transition: transform 0.3s ease;
    box-sizing: border-box; /* Include padding/border in width */
}

.production-item:hover img {
    transform: scale(1.1);
}

.production-description {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
    box-sizing: border-box; /* Include padding in width calculation */
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    box-sizing: border-box; /* Include margin/padding in width */
}

.contact-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-sizing: border-box; /* Include padding/border in width */
}

/* Stories Section */
.stories {
    padding: 4rem 0;
    text-align: center;
    box-sizing: border-box; /* Include padding/border in width */
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box; /* Include padding in width calculation */
}

.story-item {
    background-color: #1a1a1a;
    border-radius: 5px;
    overflow: hidden;
    box-sizing: border-box; /* Include padding/border in width */
}

.story-item img {
    transition: transform 0.3s ease;
    box-sizing: border-box; /* Include padding/border in width */
}

.story-item:hover img {
    transform: scale(1.05);
}

.story-item p {
    padding: 1rem;
    box-sizing: border-box; /* Include padding/border in width */
}

/* Footer */
footer {
    background-color: #000;
    padding: 3rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box; /* Include padding/border in width */
    width: 100%; /* Ensure footer spans the full width */

}

.footer-content {
    margin-bottom: 2rem;
    box-sizing: border-box; /* Include margin/padding in width */
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
    box-sizing: border-box; /* Include margin/padding in width */
}

.copyright {
    font-size: 0.8rem;
    color: #777;
    box-sizing: border-box; /* Include margin/padding in width */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    box-sizing: border-box; /* Include margin/padding in width */
}

.footer-contact-button {
    padding: 0.75rem 1.5rem;
    box-sizing: border-box; /* Include padding/border in width */
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-list {
        display: none; /* Hide on smaller screens */
    }

    nav {
        justify-content: center; /* Center the dropdown */
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .merchandise-grid,
    .production-grid,
    .stories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .contact-buttons {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 769px) {
    .about-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .about-image {
        margin-top: 0;
        max-width: 40%;
        box-sizing: border-box; /* Include margin/padding in width */
    }

    .about-content p {
        max-width: 55%;
        text-align: left;
        box-sizing: border-box; /* Include margin/padding in width */
    }
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #1a1a1a;
    border-radius: 5px;
    text-align: left;
    box-sizing: border-box; /* Include padding in width */
}

.contact-form div {
    margin-bottom: 1rem;
    box-sizing: border-box; /* Include margin/padding in width */
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    box-sizing: border-box; /* Include margin/padding in width */
}

.contact-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #222;
    color: #fff;
    box-sizing: border-box; /* Include padding in width */
}

.contact-form button {
    background-color: #eee;
    color: #121212;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box; /* Include padding/border in width */
}

.contact-form button:hover {
    background-color: #ddd;
}

/* Hero Image Styling */
.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* object-fit: cover;  */
}

.desktop-hero-img {
    display: block; /* Show the web version by default */
    object-fit: cover; /* Ensure the image covers the entire container */
}

.mobile-hero-img {
    display: none; /* Hide the mobile version by default */
}

@media (max-width: 768px) {
    .desktop-hero-img {
        display: none; /* Hide web version on smaller screens */
    }

    .mobile-hero-img {
        display: block; /* Show mobile version on smaller screens */
        object-fit: contain; /* Ensure the image fits within the container */
    }
}