* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Noto Sans', sans-serif;
    color: white;

}

body, html {
    width: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available; /* for iOS */
    overflow-x: hidden;
    scroll-behavior: smooth;
}


/* For sections that should be full height */
.intro_banner, .about, .gallery {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    width: 100vw;
}

/* #background_video {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
} 

#background_video:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}  */

/* ========================== */
/* HOME section */
/* ========================== */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 1rem;
    z-index: 10; /* Ensure it stays above the hero banner */
}

.menu_bar {
    display: none; /* Hidden by default */
    z-index: 120;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: rgb(0, 0, 0);
}


.intro_banner {
    position: relative;
    width: 100%;
    height: 100vh; /* Full-screen height */
    background-color: black;
    background: url('/Media/pch_bannerSmall.webp') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.5s ease-in-out;
}

/* Dark overlay */
.intro_banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay */
    backdrop-filter: blur(1px);
    z-index: 1;
}

.intro_words {
    position: relative;
    z-index: 2;
    padding-top: 7rem;
}

.intro_title, .intro_subtitle {
    margin-top: 0;
    padding: 0;
    color: white;
}

.intro_title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.intro_subtitle {
    margin-top: 0;
    font-size: 2rem;
}

/* Navigation Menu */
.intro_menu {
    position: relative;
    z-index: 2;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the menu on smaller screens */
    gap: 7rem; 
    margin: 0;
    padding: 1.5rem 2rem;
}

.menu_links {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.menu_links:hover {
    color: #f4b400; /* Highlight effect */
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 2.7rem;
    padding: 2rem;
    margin-bottom: 20px;
    z-index: 2;
    transition: all 0.5s ease-in-out;
}

.social-icons a {
    width: 4.5rem;
    height: 4.5rem;
    background-color: rgba(255, 255, 255, 0); /* Semi-transparent */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 3rem;
    transition: background-color 0.3s, transform 0.2s;
}

.social-icons a:hover {
    background-color: #f4b400;
    transform: scale(1.1);
}

/* Input Box & Form Styling */
.intro_input {
    position: relative;
    z-index: 2;
    padding-bottom: 5rem;
}

.input_text {
    margin-bottom: 2rem;
}

/* Styled Input Box */
.input_container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 25rem;
    z-index: 2;
}

/* Input Box */
.input_box {
    width: 50vw;
    padding: 12px 50px 12px 20px; /* Make space for the button */
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid transparent;
    border-radius: 30px;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
}

.input_box::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.input_box:focus{
    background-color: rgba(255, 255, 255, 0.3); /* Lighten the background */
    border: 2px solid #f4b400; /* Add a highlight border */
    outline: none; /* Remove default browser outline */
    transform: scale(1.05); /* Slightly enlarge the input */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px #f4b400; /* Glowing effect */
}

.input_box:focus::placeholder {
    color: rgba(255, 255, 255, 0.5); /* Dim the placeholder text */
}


/* Subscribe Button Inside Input */
.subscribe {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
}

/* Hover effect */
.subscribe:hover {
    color: #f4b400; /* Change color on hover */
    transform: translateY(-50%) scale(1.1);
}


/* ========================== */
/* LISTEN section */
/* ========================== */

.listen {
    position: relative;
    z-index: 1;
    padding-bottom: 4rem;
    background-color: black;
    overflow: hidden;
}
    
.listen_header, .about_header, .gallery_header {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.covers_container {
    display: flex; /* Enable flexbox */
    flex-wrap: wrap; /* Allow images to wrap if necessary */
    justify-content: center; /* Center images horizontally */
    align-items: center; /* Align images vertically */
    gap: 1rem 10rem; /* Adds spacing between images */
    padding-top: 0; /* Adds padding for better spacing */
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 0;
    max-width: 80%; /* Prevents it from stretching too much */
    margin: 0 auto; /* Centers the whole container */
    transition: all 0.5s ease-in-out;
    z-index: 10;
}

.songs {
    text-align: center;
    margin-bottom: 2rem;
    z-index: 10;
}

.cover {
    width: 20rem; /* Adjust size */
    height: 20rem; /* Keep it square */
    object-fit: cover; /* Ensures it fits within the square */
    border-radius: 10px; /* Optional: Rounded corners */
    z-index: 10; /* Ensures it's above other elements */
}

.song_captions {
    margin-top: 0.5rem; /* Reduce space between image and text */
    font-size: 1.2rem; /* Adjust text size if needed */
}


/* ========================== */
/* ABOUT section */
/* ========================== */
.about {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Full-screen height */
    background: url('/Media/pch_banner2.webp') no-repeat center center/cover;
    display: flex;
    padding-bottom: 4rem;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease-in-out;
}

.about:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    backdrop-filter: blur(3px);
    z-index: 1;
}

.story_container {
    position: relative; /* Ensures it is above the absolute overlay */
    z-index: 2; /* Must be higher than the overlay’s z-index (1) */
    text-align: left;
    max-width: 80rem;
    margin: 0 auto;
    line-height: 3rem;
    color: white; /* Ensure text remains visible */
}


/* ========================== */
/* GALLERY section */
/* ========================== */
.gallery {
    position: relative;
    width: 100%;
    height: 80vh; /* Full-screen height */
    background: rgba(0, 0, 0, 1);
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0;
    z-index: 1;
}

.slider-container {
    position: relative;
    max-width: 100%; /* Prevents excessive stretching */
    aspect-ratio: 16/9;
    overflow: hidden; /* Prevents overflow issues */
    border-radius: 10px; /* Optional: rounded corners */
    margin: 1rem auto;
    transition: all 0.5s ease-in-out;
}

/* SLIDER TRACK (Holds all slides) */
.slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: 100%; /* Ensures all images are in a row */
    cursor: grab;
    touch-action: none;
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
    user-select: none;
}

.slider:active {
    cursor: grabbing;
}

/* INDIVIDUAL SLIDES */
.slide {
    flex: 0 0 100%; /* Ensures each slide takes full width */
    width: 100%;
    object-fit: cover; /* Ensures the image covers the area without distortion */
}

/* FIX IMAGE SCALING ISSUES */
.slider img {
    width: 100%; /* Forces image to fit within its container */
    height: 100%; /* Ensures image height is maintained */
    object-fit: cover; /* Prevents stretching, fills container */
    display: block;
}

/* NAVIGATION BUTTONS */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0);
    color: white;
    border: none;
    padding: 1rem 1rem;
    cursor: pointer;
    font-size: 2rem;
    font-weight: 15;
    z-index: 10;
    border-radius: 50%;
}

.prev:hover, .next:hover {
    font-size: 2.5rem;
}

.prev {
    left: 10px;
}
.next {
    right: 10px;
}

/* Dots Container */
.dots-container {
    position: absolute;
    bottom: 10px; /* Adjust distance from bottom */
    left: 50%;
    transform: translateX(-50%); /* Center dots horizontally */
    display: flex;
    gap: 10px;
    z-index: 10; /* Ensure dots appear above images */
}

/* Individual Dots */
.dot {
    height: 12px;
    width: 12px;
    margin: 5px;
    background-color: rgba(255, 255, 255, 0.5); /* Inactive dots */
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

/* Active Dot */
.dot.active {
    background-color: white; /* Active dot */
}

.trademark {
    text-align: center;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    color: white;
    z-index: 50;
}

/* ========================== */
/* Responsive Adjustments */
/* ========================== */
@media (max-width: 768px) {
    .menu_bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 4rem; /* Adjust height as needed */
        background-color: rgb(255, 255, 255);
        display: block; /* Hidden by default */
        transition: background-color 0.3s;
    }

    .menu_bar.active {
        background-color: transparent;
    }

    .hamburger {
        position: fixed;
        left: 10%; /* Moves it to the left */
        top: 1rem;  /* Adjust vertical position */
        display: block;
        cursor: pointer;
        z-index: 150; /* Ensure it's above other elements */
    }

    .hamburger.active {
        position: fixed;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: black;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: black;
    }

    .intro_banner {
        max-height: 80vh;
    }

    .intro_menu {
        position: fixed;
        left: -100%; /* Start off-screen */
        top: 0;
        width: 50%; /* Sidebar width */
        height: 100vh; /* Full height */
        background-color: rgba(255,255, 255, 1); /* Dark background */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        transition: left 0.3s ease-in-out;
        padding-top: 6rem; /* Space for the hamburger */
        gap: 2rem;
        z-index: 100;
    }

    .intro_menu.active {
        left: 0;
    }

    .intro_menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column; /* Stack links */
        gap: 1rem; /* Add spacing between links */
        width: 100%;
        text-align: center;
    }

    .intro_menu li {
        width: 100%;
    }

    .menu_links {
        font-size: 1.2rem;
        padding: 0.5rem 0;
        color: rgb(0, 0, 0);
        text-decoration: none;
        transition: color 0.3s;
    }

    .input_container {
        width: 75vw;
    }

    .input_box {
        width: 100%;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 0.8rem; /* Smaller gap */
        padding: 1rem;
        width: 100%;
    }
    
    .social-icons a {
        width: 3rem;
        height: 3rem;
        background-color: rgba(255, 255, 255, 0); /* Semi-transparent */
        font-size: 2rem;
        transition: background-color 0.3s, transform 0.2s;
    }

    .listen_header, .about_header, .gallery_header {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .cover {
        width: 15rem; /* Adjust size */
        height: 15rem; /* Keep it square */
        border-radius: 10px; /* Optional: Rounded corners */
        z-index: 10; /* Ensures it's above other elements */
    }

    .story_container {
        max-width: 65vh;
        padding-left: 3.2rem;
        padding-right: 3.2rem;
    }

    @supports (-webkit-touch-callout: none) {
        .gallery {
            min-height: auto;
            height: auto;
        }
    }

    .slider-container {
        width: 80%;
        max-width: 100%;
        margin-top: 0;
    }

    .prev, .next {
        font-size: 1rem;
    }

    .prev:hover, .next:hover {
        font-size: 1.2rem;
    }

    .dot {
        height: 10px;
        width: 10px;
    }
}