/* Apply Montserrat font to the entire body */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body takes at least full viewport height */
    overflow: -moz-scrollbars-none; /* For older Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    scrollbar-width: none; /* For Firefox */
    color: #FFF;
    font-size: 16px; /* Base font size */
}

/* Header styling */
header {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align items to the left */
    background: #000;
    padding: 10px 20px; /* Add padding around the content */
    color: #fff;
    width: 100%;
    height: auto; /* Automatic height */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* Ensure header stays on top */
}

/* Logo styling */
header .logo {
    margin-right: 20px; /* Add space between logo and navigation */
}

header .logo img {
    width: 5vw; /* Adjust logo size */
}

/* Navigation styling */
nav {
    flex: 1;
    display: flex;
    justify-content: flex-start; /* Align navigation next to the logo */
    align-items: center;
}

nav ul {
    display: flex; /* Display navigation items in a row */
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px; /* Add space between navigation items */
}

nav ul li {
    width: auto; /* Ensure each navigation item is sized based on its content */
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px; /* Adjust padding for clickable area */
    display: block;
}

nav ul li a:hover {
    background: #555;
    border-radius: 5px; /* Add border radius for hover effect */
}

/* Main content area */
main {
    padding: 20px;
    padding-top: 15vh;
    padding-bottom: 15vh; /* Increase padding to ensure footer doesn't overlap */
    flex: 1;
    background: url('../assets/background.jpg');
    background-size: cover; /* Cover ensures full background */
}

/* Home section styling - Band Name */
.home {
    background: url('../assets/ListenNowImage.jpg') no-repeat center center/cover;
    color: #FFFF;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    font-size: 2rem; /* Use rem for consistency */
    border-radius: 40px;
    box-sizing: border-box;
}

.home h1 {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    width: 100%;
    margin-top: 20px;
    font-size: 3rem; /* Use rem for consistency */
}

/* Styling for .about section */
.about {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    width: 100%;
    margin-top: 20px;
    font-size: 1rem; /* Use rem for consistency */
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.button-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 20px;
}

.button-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1; /* Ensure button is on top of the image */
}

.cta {
    background: #ff0000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    position: relative; /* Position relative to ensure z-index works */
    z-index: 1;
}

.cta:hover {
    background: #cc0000;
}

/* Section styling */
section {
    padding: 40px 20px;
}

.album-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.album {
    display: flex;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    width: 100%;
    font-size: 1rem; /* Use rem for consistency */
    margin-bottom: 20px;
}

.album img {
    width: 400px; /* Fixed width for images */
    height: auto; /* Maintain aspect ratio */
    margin-right: 20px;
}

.album-details {
    max-width: 600px; /* Maximum width for the details */
}

/* Tour section styling */
.tour {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    width: 100%;
    margin-top: 20px;
    font-size: 1rem; /* Use rem for consistency */
}

.tour-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.tour li {
    font-size: 1.3rem;
}

/* Contact Section Styling */
.contact {
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    padding: 20px; /* Reduced padding */
    border-radius: 8px; /* Slightly less rounded corners */
    color: #FFF;
    margin: 20px auto; /* Centering with smaller margins */
    max-width: 600px; /* Reduced max-width */
    box-sizing: border-box;
    font-size: 0.9vw; /* Smaller scalable font size */
}

.contact h2 {
    text-align: center;
    font-size: 1.5vw; /* Smaller font size */
    margin-bottom: 15px; /* Reduced bottom margin */
}

.contact label {
    display: block;
    margin-bottom: 8px; /* Reduced margin */
    font-weight: bold;
}

.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
    width: 100%;
    padding: 8px; /* Reduced padding */
    margin-bottom: 15px; /* Reduced margin */
    border: 1px solid #FFF;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1); /* Transparent input background */
    color: #FFF;
    font-size: 0.9vw; /* Smaller font size */
}

.contact input[type="text"]::placeholder,
.contact input[type="email"]::placeholder,
.contact textarea::placeholder {
    color: #CCC; /* Placeholder color */
}

.contact button {
    background: #ff0000;
    color: #FFF;
    padding: 8px 16px; /* Smaller padding */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1vw; /* Smaller font size */
    transition: background 0.3s;
    text-align: center;
    margin-top: 10px;
}

.contact button:hover {
    background: #cc0000;
}

/* Footer styling */
footer {
    font-size: 1rem; /* Use rem for consistency */
    background: #000;
    color: #fff;
    text-align: center; /* Center-align all text */
    padding: 10px 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center all content horizontally */
    z-index: 10; /* Ensure footer is above other content */
}

/* Social media section styling */
footer .social-media {
    display: flex;
    justify-content: center; /* Center social media links within their section */
    gap: 5px; /* Space between social media links */
    margin-top: 10px; /* Add some space between text and social media links */
}

/* Social media links styling */
footer .social-media a {
    color: #fff;
    text-decoration: none;
}

footer .social-media a:hover {
    text-decoration: underline;
}

/* Media Queries for Mobile Devices */
@media only screen and (max-width: 768px) {
    /* General font size adjustment for mobile */
    body {
        font-size: 14px;
    }

    /* Header adjustments for mobile */
    header {
        flex-direction: row; /* Keep the logo and nav in a row */
        padding: 5px 10px; /* Reduce padding to conserve space */
        height: auto; /* Ensure height is only as tall as needed */
    }

    header .logo img {
        width: 15vw; /* Reduce the logo size */
        margin-right: 10px; /* Reduce margin between logo and nav */
    }

    nav ul {
        flex-direction: row; /* Keep navigation items in a row */
        flex-wrap: wrap; /* Allow items to wrap to the next line if necessary */
        gap: 10px; /* Reduce gap between navigation items */
    }

    nav ul li {
        text-align: left;
    }

    nav ul li a {
        padding: 5px 10px; /* Reduce padding inside nav links */
        font-size: 0.9rem; /* Slightly smaller font size */
    }

    /* Additional adjustments to ensure content isn't pushed down by the header */
    main {
        padding-top: calc(15vh); /* Adjust padding to leave space for a smaller header */
        padding-bottom: 15vh; /* Adjust padding to leave space for footer */
    }

    /* Home section adjustments for mobile */
    .home {
        height: auto;
        padding: 15px;
        font-size: 1.5rem;
    }

    .home h1 {
        font-size: 2.5rem;
        padding: 15px;
    }

    /* About section adjustments for mobile */
    .about-container {
        flex-direction: column;
        gap: 10px; /* Reduce gap between elements */
    }

    /* Album section adjustments for mobile */
    .album img {
        width: 100%;
        margin-bottom: 10px;
    }

    .album {
        flex-direction: column;
        font-size: 0.9rem; /* Smaller font size for mobile */
    }

    /* Tour section adjustments for mobile */
    .tour-container {
        flex-direction: column;
    }

    .tour li {
        font-size: 1.2rem;
    }

    /* Contact Section adjustments for mobile */
    .contact {
        padding: 15px;
        font-size: 0.9rem; /* Smaller font size for mobile */
    }

    .contact h2 {
        font-size: 1.2rem; /* Smaller heading for mobile */
    }

    .contact input {
        max-width: 80vw;
    }

    .contact textarea {
        max-width: 80vw;
    }

    .contact button {
        padding: 10px;
        font-size: 0.9rem;
    }

    /* Footer adjustments for mobile */
    footer {
        font-size: 0.9rem; /* Adjust font size */
        padding: 15px 10px;
    }

    footer .social-media {
        gap: 10px; /* Increase gap between social media icons */
    }
}
