#loading-screen {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #ec822c;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    z-index: 1000;
}

#loading-screen img {
    width: 250px; /* Adjust size */
}

#main-content {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#loading-container {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

#loading-bar-container {
            width: 200px;
            height: 10px;
            background: #ec822c;
            border-radius: 5px;
            overflow: hidden;
            margin-top: 10px;
        }

#loading-bar {
    width: 0%;
    height: 100%;
    background: white;
    transition: width 1.5s ease-in-out;
}

.bahiana-regular {
  font-family: "Bahiana", serif;
  font-weight: 400;
  font-style: normal;
}

#members img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px; /* Add space below the image */
}

#members h3 {
    font-family: "Bahiana", serif; /* Apply Bahiana font to the names */
    font-size: 3rem; /* Adjust font size as needed */
    margin-top: 10px; /* Add space above the name */
    margin-bottom: 10px; /* Add space below the name */
}

p {
    font-size: 1.4rem;
}

h1{
    font-family: "Bahiana", serif;
    font-size: 6rem;
    margin-bottom: 30px;
}

.heroimage-headline {
    margin-top: 30px;
    margin-bottom: -20px;
}

body {
    background: white;
    color: black;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh; /* Ensures it takes at least full screen height but can expand */
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hero .carousel-item img {
    width: 100vw!important; /* Ensure it spans the full width */
    height: 100vh; /* Maintain full height */
    object-fit: cover; /* Ensure the image covers the entire area */
}

/* Overlay text */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.overlay h1 {
    font-size: 5rem;
    text-align: center;
    color: white;
    z-index: 3;
    font-weight: bold;
}

.overlay img {
    max-width: 40%;
    height: auto;
}

@media (max-width: 768px) {
    .overlay h1 {
        font-size: 3rem;
    }

    .overlay img {
        max-width: 90%;
    }

    /* Ensure image covers the full screen in mobile */
    #hero .carousel-item img {
        height: 100vh;
    }

    .heroimage-headline {
        margin-top: 20px;
        font-size: 2.5rem!important;
        line-height: 4rem;
        margin-bottom: 20px;
    }

    .spotify-embed iframe {
        width: 90%;
        height: 45vh;
        margin-bottom: 5px;
    }
}

iframe {
    width: 100%;
    height: 160px;
    margin-bottom: -20px;
    }


/* Ensure Navbar is Always Visible */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000; /* Ensure it's above all elements */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0)); /* Black to Transparent */
    opacity: 1 !important; /* Ensure it's fully visible */
    visibility: visible !important; /* Ensure it's not hidden */
}
/* Default Large Logo */
.navbar .navbar-brand img {
    height: 100px; /* Default big logo */
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

/* When Navbar is Scrolled */
.navbar.scrolled .navbar-brand img {
    height: 80px; /* Smaller logo */
}


/* Section Styling */
section {
    padding: 0;
}

footer {
    padding: 20px;
    text-align: center;
    background-color: black;
    color: white;
    position: relative; /* Ensure it is static */
    bottom: 0;
    width: 100%;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

footer .social-links {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.members img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.members .member {
    text-align: center;
    margin: 20px;
}

.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Live Schedule Section Styling */
#schedule .list-group-item {
    background-color: transparent;  /* Transparent background */
    border: none;
    color: white;
}

#schedule .list-group-item .h3 {
    font-size: 2rem;  /* Bigger and bold date */
    font-weight: bold;
    margin-bottom: 10px;  /* Space between the date and place */
    min-width: 120px;  /* Ensure enough space for the date */
}

#schedule .list-group-item span {
    font-size: 1rem;  /* Normal size for the place */
    margin-left: 20px;  /* Left margin for the place */
    flex-grow: 1;  /* Ensure the place is aligned */
}

#schedule .list-group-item hr {
    border-top: 1px solid white;
    margin: 5px 0;
}

/* Bottom border for live schedule */
#schedule .list-group-item:not(:last-child) {
    border-bottom: 1px solid white;  /* Add bottom border between schedule items */
}

/* Members Section Styling */
#members img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

/* Video Section Styling */
.video-container {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.video {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Maintain 16:9 Aspect Ratio */
.video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-title {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    background-color: #f8f9fa;
}

/* Button Styles */
.btn {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Add fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply fade-in animation to elements with this class */
.fade-in {
    opacity: 0; /* Start invisible */
    animation: fadeIn 1s ease-out forwards;
}

/* Delay animations for staggered effects */
.fade-in.delay-1 {
    animation-delay: 0.3s;
}

.fade-in.delay-2 {
    animation-delay: 0.6s;
}

.fade-in.delay-3 {
    animation-delay: 0.9s;
}

/* About Section - Full Width & Auto Height */
#about {
    position: relative;
    width: 100vw; /* Full width */
    min-height: 100vh; /* Default to full height, but grows if needed */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Keep content aligned */
    overflow: hidden;
    padding: 5% 0; /* Adds spacing to avoid content clipping */
    color: white;
}

/* Ensure the background scales correctly on window resize */
@media (min-width: 769px) {
    #about {
        background-attachment: fixed; /* Keeps it in place */
    }
}

/* Center the About Section, Move Content to Right */
#about .container {
    display: flex;
    justify-content: flex-end; /* Push content to the right */
    align-items: center;
    height: 100%; /* Ensure it fills the full section */
    padding-right: 5%; /* Add some spacing from the edge */
}

#about p {
    font-size: 1rem; /* Adjust the size as needed */
}

/* Keep Content Wrapper at 50% Width */
#about .content-wrapper {
    max-width: 45%; /* Prevent it from being too wide */
    text-align: left; /* Align text to the left */
}

/* Change Layout for Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 5rem;
        line-height: 80px;
    }

    p {
        font-size: 1rem;
    }

    /* Change Background Image for Mobile */
    #about::before {
        background: url('images/MissingMadeline_HeroShot1_Mobile.webp') no-repeat center center/cover;
    }

    /* Center everything in Mobile */
    #about .container {
        display: flex;
        justify-content: center; /* Fully center content */
        align-items: center;
        text-align: center;
        padding: 0; /* Remove right padding */
        width: 100%;
        margin-top: 60%; /* Adjust margin as needed */
    }

    /* Content Wrapper now takes full width and is centered */
    #about .content-wrapper {
        width: 85%; /* Adjust for readability */
        max-width: none;
        text-align: center;
    }
    
    #about p {
    font-size: 0.7rem; /* Adjust the size as needed */
    }
}

.hero-separator img {
    filter: invert(100%); /* Adjust percentage to modify color */
}

/* Ensure Separator is Exactly Centered Between Sections */
.hero-separator {
    position: absolute;
    bottom: -7.7vw; /* Adjust dynamically based on screen width */
    left: 0;
    width: 100%;
    height: auto;
    z-index: 5; /* Keep it above both sections */
    pointer-events: none; /* Prevent interaction issues */
}


/* Ensure SVG Fills Width & Scales Correctly */
.hero-separator svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Ensure Transparency */
.hero-separator-two svg path {
    fill: rgba(255, 255, 255, 0.5); /* White with transparency */
}

.hero-separator-two img {
    filter: invert(100%); /* Adjust percentage to modify color */
}

/* Ensure Separator is Exactly Centered Between Sections */
.hero-separator-two {
    position: absolute;
    bottom: -57vw; /* Adjust dynamically based on screen width */
    left: 0;
    width: 100%;
    height: auto;
    z-index: 5; /* Keep it above both sections */
    pointer-events: none; /* Prevent interaction issues */
}


/* Ensure SVG Fills Width & Scales Correctly */
.hero-separator-two svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Ensure Transparency */
.hero-separator svg path {
    fill: rgba(255, 255, 255, 0.5); /* White with transparency */
}

#about {
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Ensure it covers full height */
    background: url('images/MissingMadeline_HeroShot1.webp') no-repeat left center;
    background-size: cover; /* Ensure the image fills the section */
    background-attachment: fixed; /* Keeps the background consistent */
}

/* Media Query for Mobile View */
@media (max-width: 768px) {
    #about {
        background: url('images/MissingMadeline_HeroShot1_Mobile.webp') no-repeat center center; /* Change to mobile image */
        background-size: cover; /* Ensure the image fills the section */
        background-attachment: scroll; /* Change attachment to scroll for mobile */
        min-height: 80vh!important;
    }

    .hero-separator{
        display: none!important;
    }

     .hero-separator-two{
        display: none!important;
    }
}

#members {
    min-height: 50vh;
    display: flex;
    align-items: center; /* Centers content vertically */
    justify-content: center; /* Centers content horizontally */
    flex-direction: column; /* Ensures content stacks properly */
}

/* Make background white from Members section onward */
#members,
#videos,
#schedule,
#streaming,
footer {
    background-color: white !important; /* Set white background */
    color: black !important; /* Change text color */
}

/* Ensure headings and paragraphs are black */
#members h1,
#members h3,
#members p,
#videos h2,
#schedule h2,
#streaming h2,
footer p {
    color: black !important;
}

/* Update social media links in footer */
footer a {
    color: black !important;
}

/* Update button styles if necessary */
.btn {
    color: white !important;
    background-color: black !important;
    border-color: black !important;
}

.btn:hover {
    background-color: #333 !important; /* Slightly lighter black */
    border-color: #333 !important;
}

/* Ensure text and elements are black */
#members h1,
#members h3,
#members p {
    color: black !important;
}

/* Style for social media icons */
.social-icons {
    margin-top: 10px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 5px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid black; /* Black border */
    text-decoration: none;
    color: black; /* Black icon */
    font-size: 1.2rem;
    transition: all 0.3s ease-in-out;
}

/* Hover effect: Black background, white icon */
.social-icons a:hover {
    background-color: black;
    color: white;
}

/* Change schedule separators (horizontal lines) to black */
#schedule .list-group-item hr {
    border-top: 1px solid black !important; /* Ensure separator is black */
    opacity: 1; /* Make sure it's fully visible */
}

/* Ensure text and elements are black */
#schedule {
    background-color: white !important;
    color: black !important;
}

#schedule .list-group-item {
    background-color: transparent !important;
    color: black !important;
    border-bottom: 1px solid black !important; /* Bottom border between items */
}

/* Style the footer logo */
.footer-logo {
    width: 250px; /* Adjust size as needed */
    height: auto;
    filter: invert(1); /* Invert colors (turns white parts black) */
    opacity: 0.8; /* Slight transparency if needed */
    transition: opacity 0.3s ease-in-out;
}

/* Hover effect for logo */
.footer-logo:hover {
    opacity: 1;
}

/* General Streaming & Shopping Button Styles */
.streaming-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px; /* Adjust size */
    height: 50px;
    margin: 10px;
    border-radius: 50px; /* Rounded shape */
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    color: white !important;
    border: none;
    transition: all 0.3s ease-in-out;
}

/* Icon Styling for FontAwesome */
.streaming-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Image Logo Styling */
.btn-icon {
    width: 24px; /* Adjust size */
    height: auto;
    margin-right: 10px;
}

/* Spotify Button */
.spotify {
    background-color: #1DB954;
}

.spotify:hover {
    background-color: #1aa34a;
}

/* Apple Music Button */
.apple-music {
    background-color: #FA243C;
}

.apple-music:hover {
    background-color: #d91e33;
}

/* YouTube Button */
.youtube {
    background-color: #FF0000;
}

.youtube:hover {
    background-color: #cc0000;
}

/* Shopee Button */
.shopee {
    background-color: #FF5722;
}

.shopee:hover {
    background-color: #e64a19;
}

/* Tokopedia Button */
.tokopedia {
    background-color: #42B549;
}

.tokopedia:hover {
    background-color: #389e3c;
}

schedule-venue {
     font-size: 3rem!important;
}

/* Apply Bahiana font to the date */
#schedule .list-group-item .h3 {
    font-family: "Bahiana", serif; /* Apply Bahiana font */
    font-size: 3.5rem; /* Adjust size if needed */
    color: black !important; /* Ensure text is black */
    margin-top: 10px;
}

/* Style the venue text */
#schedule .schedule-venue {
    font-family: "Bahiana", serif; /* Default system font */
    font-size: 3.5rem!important;
    color: black !important; /* Ensure text is black */
}

/* Navbar Styling */
.navbar-dark .navbar-nav .nav-link {
    color: white !important; /* Ensure the text is white */
    font-family: "Bahiana", serif; /* Apply Bahiana font */
    font-size: 2rem; /* Adjust font size as needed */
    margin: 0 15px; /* Add spacing between menu items */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffcc00 !important; /* Change color on hover (optional) */
}

/* Ensure the navbar toggler icon is white */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Ensure the navbar toggler border is white */
.navbar-toggler {
    border-color: white;
}

.streaming-btn i,
.streaming-btn .btn-icon {
    margin-right: 8px; /* Adjust spacing */
}

/* Hide text only on mobile */
@media (max-width: 768px) {
    .streaming-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px; /* Set a fixed width for icon-only buttons */
        height: 40px; /* Keep it square */
        padding: 10px; /* Adjust padding */
        font-size: 0; /* Hide text */
    }

    .streaming-btn i,
    .streaming-btn .btn-icon {
        font-size: 20px; /* Set icon size */
        margin-right: 0; /* Remove unnecessary spacing */
    }

    .streaming-btn img {
        width: 24px; /* Adjust Shopee logo size */
        height: auto;
    }
}

.mt-4 {
    display: flex;
    justify-content: center; /* Center the buttons */
    flex-wrap: wrap; /* Prevents breaking on small screens */
    gap: 5px; /* Adds spacing between buttons */
}

/* Ensure it stays centered on mobile */
@media (max-width: 768px) {
    .mt-4 {
        justify-content: center; /* Keep it centered on mobile */
        margin-top: -20px!important;
    }
    
    .merch-buttons {
        margin-top: 70vh!important;
        flex-wrap: nowrap!important; /* Prevent wrapping */
        justify-content: center; /* Center them */
    }
        
    #merchandise {
        background: url('images/MissingMadeline_MerchBanner_Mobile.webp') no-repeat center center/cover!important;
        justify-content: center!important;
    }
    
    .merch-overlay {
        width: 80%;
        margin-bottom: 8vh!important;
    }
    
    .merch-btn {
        flex: 1; /* Allow buttons to shrink */
        min-width: 60%!important; /* Prevent too much shrinking */
        max-width: 65%!important; /* Keep it balanced */
        font-size: 14px!important; /* Reduce font size if needed */
        padding: 8px 12px; /* Adjust padding */
    }
}

#merchandise {
    background: url('images/MissingMadeline_MerchBanner.webp') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: right;
    text-align: center;
}

.hero-extra-content {
    width: 100vw; /* Ensure it takes full viewport width */
    display: flex;
    justify-content: center; /* Center the content */
    align-items: center;
    flex-direction: column; /* Stack elements */
    margin-top: 30px;
}

.hero-extra-image {
    width: 100vw; /* Full viewport width */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure it covers the area properly */
}


.extra-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.extra-buttons .btn {
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 8px;
}

.contact-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: black;
        color: white;
        padding: 12px 24px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: bold;
        font-size: 16px;
        transition: all 0.3s ease-in-out;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

    .contact-btn:hover {
        background-color: #222;
        transform: scale(1.05);
        box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
    }

    .contact-btn i {
        margin-right: 8px;
        font-size: 18px;
    }
    
    .merch-overlay {
        width: 58%;
        margin-bottom: 20vh;
    }

    .merch-buttons {
        display: flex;
        gap: 20px; /* Space between buttons */
        flex-wrap: wrap; /* Ensures responsiveness */
        justify-content: center;
    }

    .merch-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: black;
        color: white;
        padding: 15px 30px;
        border-radius: 50px;
        font-size: 20px;
        font-weight: bold;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
        min-width: 200px; /* Ensures a big button */
    }

    .merch-btn:hover {
        background-color: #222;
        transform: scale(1.05);
        box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
    }

    .btn-icon {
        width: 30px; /* Adjust icon size */
        height: auto;
        margin-right: 10px;
    }
    
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Adjust the spacing between buttons */
    align-items: center; /* Center buttons horizontally */
    justify-content: center; /* Optional: Center in the container */
}

@media (min-width: 768px) { /* Adjust breakpoint as needed */
    .contact-container {
        flex-direction: row; /* Buttons side by side on larger screens */
        gap: 20px; /* Adjust spacing between buttons */
    }
}

.streaming-btn {
    background-color: black!important;
    color: #ec822c!important;
    border: 2px solid #ec822c!important;
}

.streaming-btn:hover {
    background-color: #ec822c!important;
    color: black!important;
}

/* Style the YouTube Music image icon */
.btn-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(48%) sepia(84%) saturate(724%) hue-rotate(2deg) brightness(93%) contrast(89%);
    transition: filter 0.3s ease;
}

.streaming-btn:hover .btn-icon {
    filter: brightness(0) saturate(100%);
}

