/* Base Styles */
:root {
    /* Main color scheme - customize these variables */
    --primary-color: #05571a;
    --secondary-color: #333333;
    --accent-color: #cd8601;
    --text-light: #f1faee;
    --text-dark: #1d3557;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    --gradient-accent: linear-gradient(135deg, #e29505 0%, #ffc98f 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--primary-color);
    overflow-x: hidden;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

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

/* Video Section */
.video-section {
    background-color: var(--accent-color);
    padding: 80px 0;
}

.video-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 30px;
    margin-top: 40px;
}

.video-item {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.video-item:hover {
    transform: translateY(-10px);
}

.video-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px 8px 0 0;
}

.video-item h3 {
    margin: 15px 0 5px;
    font-size: 1.2rem;
    color: var(--text-light);
    padding: 0 15px;
}



/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    margin: 0 auto;
}

.logo img {
    height: 100px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: auto;
    min-height: auto; /* Remove the 100vh min-height */
    position: relative;
    display: block; /* Change from flex to block */
    overflow: hidden;
    padding-top: 80px; /* Account for fixed navbar */
}

.hero-image {
    position: relative; /* Change from absolute to relative */
    width: 100%;
    height: auto; /* Let the image determine the height */
    z-index: -1;
}

.hero-image img {
    display: block; /* Important for removing extra space */
    width: 100%;
    height: auto;
    object-fit: contain;
    background-color: #000;
}

.hero-content {
    position: absolute; /* Position over the image */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Perfect centering */
    width: 90%;
    max-width: 800px;
    padding: 20px;
    z-index: 1;
    text-align: center;
}

.band-name {
    font-size: 5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    padding: 15px;
    border-radius: 8px;
    backdrop-filter: blur(3px); /* Adds a slight blur effect behind the text (works in most modern browsers) */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */

}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--text-light);
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #ffbe4d;
    color: white;
}

/* Latest Release Section */
.latest-release {
    background-color: var(--secondary-color);
}

.release-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.album-art {
    flex: 1;
}

.album-info {
    flex: 1;
}

.album-info h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.streaming-links {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.stream-button {
    padding: 12px 25px;
    background: rgba(255, 255, 255, .01);
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.stream-button:hover {
    background-color: var(--accent-color);
    color: white;
}

.stream-button i {
    margin-right: 8px;
}

/* Music Section */
.music-section {
    position: relative;
    color: var(--text-light);
}

.music-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.album {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
}

.album:hover {
    transform: translateY(-10px);
}

.album img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.album h3 {
    margin: 15px 0 5px;
    font-size: 1.2rem;
}

.album p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.listen-button {
    display: inline-block;
    padding: 8px 25px;
    background-color: var(--accent-color);
    border-radius: 5px;
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.listen-button:hover {
    opacity: 0.9;
    color: white;
}

.listen-button.playing {
    background-color: #b30000; /* Red color for stop state */
}

.listen-button i {
    margin-right: 5px;
}

/* Parallax Effect */
.parallax {
    position: relative;
    padding: 100px 0;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.parallax-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Darkening overlay */
}

/* Parallax Dark Effect */
.parallaxdark {
    position: relative;
    padding: 100px 0;
}

.parallaxdark-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.parallaxdark-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4); /* Darkening overlay */
}

strong {
    font-weight: normal;
  }
  

.centered-h1 {
    text-align: center;
    font-size: 2.5rem;
  }
  

/* Intro Section */
.intro-section {
    background-color: var(--accent-color);
}

/* Tour Section */
.tour-section {
    background-color: var(--primary-color);
}

.tour-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Tour image styling */
.tour-date-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tour-image {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden; /* Keeps the image corners rounded */
}

.tour-image img {
    width: 100%;
    display: block;
    height: auto;
    max-width: 450px; /* Limit image width */
}

/* Update existing tour date layout */
.tour-date {
    display: flex;
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    align-items: flex-start; /* Align to top now that we have an image */
}

@media (max-width: 768px) {
    .tour-date {
        flex-direction: column;
        text-align: center;
    }
    
    .tour-image img {
        max-width: 100%; /* Full width on mobile */
        margin: 0 auto; /* Center the image */
    }
}

/* Remove hover effects completely by overriding with empty rule */
.tour-date:hover {
    transform: none; /* Remove the movement on hover */
    background-color: rgba(0, 0, 0, 0.2);
}

.date {
    text-align: center;
    min-width: 70px;
}

.day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.month {
    display: block;
    font-size: 1rem;
    color: #ccc;
}

.venue {
    flex-grow: 1;
    padding: 0 20px;
}

.venue h3 {
    margin-bottom: 5px;
}

.venue p {
    color: #ccc;
}

/* Show time styles */
.show-time {
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 5px;
}

.show-time i {
    margin-right: 5px;
}

/* Ticket button styles */
.ticket-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--accent-color);
    border-radius: 5px;
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ticket-button:hover:not(.sold-out) {
    opacity: 0.9;
    color: white;
}

.ticket-button.sold-out {
    background-color: #888;
    cursor: not-allowed;
}

/* Ticket popover styles */
.ticket-popover {
    display: none;
    position: absolute;
    background-color: white;
    color: var(--text-dark);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    max-width: 300px;
    text-align: center;
    top: 0;
    left: 0;
    transform: translateY(-100%) translateX(-50%);
    margin-top: -10px;
}

.ticket-popover:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -10px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: white transparent transparent;
}

.ticket-popover.show {
    display: block;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.band-image {
    flex: 1;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    padding: 15px; /* Padding inside the container */
    border-radius: 12px; /* Slightly larger radius than the image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* Shadow for depth */
    border: 1px solid rgba(255, 255, 255, 0.15); /* Subtle light border */
}

.band-image img {
    border-radius: 8px;
    width: 100%; /* Ensures image takes full width of container */
    display: block; /* Removes any unexpected spacing */
}

.band-bio {
    flex: 1;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    padding: 25px;
    border-radius: 8px;
    backdrop-filter: blur(3px); /* Adds a slight blur effect behind the text (works in most modern browsers) */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Very subtle light border */

}

.band-bio p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--accent-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Contact Section */
.contact-section .container {
    text-align: center; /* Add this line to center all elements inside */
}
.contact-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: 30px;
    margin-bottom: 40px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-3px);
    background-color: #ffbe4d;
    color: white;
}

.contact-button i {
    margin-right: 10px;
}



.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Footer */
footer {
    background-color: var(--accent-color);
    text-align: center;
    padding: 30px 0;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 200px;
    width: auto;
}

/* Responsive */
/* Tablet-sized devices */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .release-content, .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .band-name {
        font-size: 4rem;
    }

    .video-container {
        grid-template-columns: 1fr;
    }

    .video-section {
        padding-top: 40px; /* Reduced from 80px */
    }

    .hero {
        height: auto !important; /* Override the 100vh setting */
        min-height: auto;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    /* Make sure hero image doesn't add extra space */
    .hero-image {
        margin-bottom: 0;
    }
    
    /* Adjust padding on tour section for tablets too */
    .tour-section {
        padding-top: 30px;
    }
    
    .tour-section .container {
        padding-top: 20px;
    }
    
    .hero-image img {
        object-fit: contain; /* Show the entire image without cropping on mobile */
        object-position: top center; /* This aligns to top */

    }

    #about .parallaxdark-bg {
        background-image: url('images/IMG_2309-tablet.jpg') !important;
        background-attachment: scroll;
        background-size: contain !important; /* Change to contain instead of cover */
        background-position: top center !important;
        background-repeat: no-repeat !important;
    }
    
    #music .parallax-bg {
        background-image: url('images/imagejpeg_0-tablet.jpg') !important;
        background-attachment: scroll;
        background-size: contain !important;
        background-position: top center !important;
        background-repeat: no-repeat !important;
    }
    
    /* Adjust section heights to accommodate the new background sizing */
    .parallax, .parallaxdark {
        padding: 60px 0;
        min-height: 500px; /* Add minimum height */
    }
}

/* Mobile section images - hidden by default */
.mobile-section-image {
    display: none; /* Hidden by default */
    width: 100%;
    padding: 0;
    margin: 0;
}

.mobile-section-image img {
    width: 100%;
    display: block;
    height: auto;
}

 /* Mobile-sized devices */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.95);
        text-align: center;
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .band-name {
        font-size: 3rem;
    }
    
    .tour-date {
        flex-direction: column;
        text-align: center;
    }
    
    .date, .venue {
        margin-bottom: 15px;
    }
    
    .container {
        width: 90%;
    }
    
    .signup-form {
        flex-direction: column;
    }
    
    .signup-form input, .signup-form button {
        width: 100%;
        border-radius: 30px;
        margin-bottom: 10px;
    }

    .hero {
        height: auto !important; /* Override the 80vh setting */
        min-height: auto;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .hero-image {
        margin-bottom: 0;
    }

        /* Further reduce padding for videos section on mobile */
        .video-section {
            padding-top: 30px; /* Even smaller on mobile */
            padding-bottom: 50px; /* Optional: reduce bottom padding too */
        }
        
        /* Also adjust the container inside if needed */
        .video-section .container {
            padding-top: 0;
        }
    
    /* Reduce padding on tour section */
    .tour-section {
        padding-top: 20px;
    }
    
    .tour-section .container {
        padding-top: 20px;
    }
    
    /* Adjust mobile-section-image spacing */
    .mobile-section-image {
        margin: 0;
        padding: 0;
    }
    
    .hero-image img {
        object-fit: contain; /* Show the entire image without cropping on mobile */
        object-position: top center; /* This aligns to top */

        max-height: 100vh;
        background-color: rgba(0, 0, 0, 0.9); /* Dark background for any letterboxing */
    }

    #about .parallaxdark-bg {
        /* Remove background image */
        background-image: none !important;
        /* Add solid background color */
        background-color: rgba(5, 87, 26, 0.9) !important; /* Using your primary color with opacity */
    }
    
    #music .parallax-bg {
        /* Remove background image */
        background-image: none !important;
        /* Add solid background color */
        background-color: rgba(5, 87, 26, 0.9) !important; /* Using your secondary color with opacity */
    }
    
    /* Adjust section heights and padding for mobile without parallax */
    .parallax, .parallaxdark {
        padding: 40px 0;
        min-height: auto; /* Let content determine height */
        background-color: transparent; /* Ensure no background color from parent */
    }
    
    /* Make sure content has proper spacing */
    .parallax .container, .parallaxdark .container {
        padding: 20px;
    }
    
    /* Ensure after pseudo-elements don't interfere */
    #about .parallaxdark-bg::after, #music .parallax-bg::after {
        background: transparent;
    }

    .mobile-section-image {
        display: block; /* Show only on mobile */
    }
    
    /* Optional: Add a slight overlay to make text on top more readable */
    .mobile-section-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
       
        pointer-events: none;
    }
}


@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .band-name {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 40px 0;
    }
}