body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    /* Montserrat font */
    height: 100%;
}

.custom-navbar {
    min-height: 80px;
    /* Allow expansion but keep minimum */
    background-color: rgba(0, 0, 0, 0.3);
    /* Dark background for readability over hero */
    transition: background-color 0.3s ease;
    width: 100%;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    /* Always top aligned */
    padding-top: 20px;
    /* Static top padding to position logo/burger */
    padding-bottom: 20px;
    position: absolute;
    top: 0;
    left: 0;
}

/* Ensure container inside navbar keeps 80px min height for the header part */
/* Ensure container aligns items within the top strip */
.custom-navbar .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Navbar Toggler Styling */
.navbar-toggler {
    border: none !important;
    /* Remove border to prevent jump/layout shift */
    outline: none !important;
    box-shadow: none !important;
    padding: 0;
    /* Remove padding if needed to stabilize */
    margin-right: 0;
}

.navbar-toggler-icon {
    width: 30px;
    /* Explicit width */
    height: 30px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(210, 255, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Navbar background when mobile menu is open - same as scrolled */
.custom-navbar.mobile-open {
    background-color: rgba(0, 0, 0, 0.95);
    /* Even darker for menu readability */
    transition: background-color 0.3s ease;
}

/* Mobile Menu Background */
@media (max-width: 991px) {
    .navbar-collapse {
        /* background-color removed from here, strictly using parent navbar background */
        /* Padding removed to fix collapse animation "step" (height 0 but padding remained) */
        border-radius: 0;
        width: 100%;
        /* Take full width */
    }

    /* Ensure links are centered and large enough on mobile */
    .navbar-nav {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 15px 0;
        text-align: center;
        border-bottom: none;
    }
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 20px;
    font-size: 0.9rem;
}

.hero-section {
    position: relative;
    height: 680px;
    width: 100%;
    background-color: #222;
    /* Fallback */
    /* background-image removed for slider */
    color: white;
    padding-top: 100px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    /* Ensure slider doesn't overflow */
}

.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-slider .carousel-inner,
.hero-background-slider .carousel-item {
    height: 100%;
}

.hero-background-slider img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* Dark overlay on top of slider images */
.hero-background-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    width: 100%;
}


.hero-logo {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    /* Adjust based on preference */
    display: block;
}


.hero-description {
    font-size: 1rem;
    max-width: 500px;
    margin-left: auto;
    text-align: right;
    margin-bottom: 2rem;
}

.lime-bar {
    background-color: #d2ff00;
    color: black;
    /* Text might need to be black on bright yellow */
    padding: 15px 0;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.lime-bar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    padding-right: 20px;
}

.lime-bar li {
    font-size: 1.1rem;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.section-gray {
    background-color: #adb9b5;
    color: #333;
}

.section-white {
    background-color: #ffffff;
    color: #333;
}

/* Footer Section */
.footer-section {
    background-color: #222;
    color: white;
    padding: 50px 0;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    display: block;
    margin-bottom: 20px;
    /* Space on mobile */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d2ff00;
    /* Lime green hover to match theme */
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .footer-logo {
        margin: 0 auto 30px auto;
        /* Center logo on mobile */
    }

    .footer-section .text-md-end {
        text-align: center !important;
        /* Center links on mobile */
    }
}

/* Subpage Hero */
.subpage-hero {
    height: 425px;
    /* Adjusted height (350 + 75) to fit logo snugly */
    padding-top: 100px;
    /* Match homepage top padding */
}

.subpage-hero .hero-logo {
    display: block;
    /* Show logo */
    /* max-height removed to match homepage defaults (300px) */
}

/* Adjust text for subpage hero if needed */
.subpage-hero .hero-description {
    display: none;
    /* Hide description text on subpage header usually */
}

.subpage-hero .lime-bar {
    display: none;
    /* Hide the lime bar on subpage header usually */
}


/* Support Page Accordion */
.custom-accordion .accordion-button {
    background-color: transparent;
    color: #000;
    font-weight: bold;
    box-shadow: none;
    padding-right: 15px;
    /* Shift content left away from edge */
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #000;
    box-shadow: none;
}

.custom-accordion .accordion-button::after {
    display: none;

    /* Dynamic Accordion Label for Track Editor */
    .accordion-button .expand-label-dynamic::after {
        content: "COLLAPSE";
    }

    .accordion-button.collapsed .expand-label-dynamic::after {
        content: "EDIT";
    }
}

.custom-accordion .expand-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.custom-accordion .custom-icon {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    color: #222;
    /* Dark color for visibility on white */
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

/* Rotate icon when expanded */
.custom-accordion .accordion-button:not(.collapsed) .custom-icon {
    transform: rotate(45deg);
    /* Turns plus to X */
    color: #222;
    /* Keep dark or change if needed */
}

.custom-accordion .accordion-item {
    background-color: #fff;
    border: 1px solid #eee !important;
}

.cursor-pointer {
    cursor: pointer;
    transition: opacity 0.2s;
}

.cursor-pointer:hover {
    opacity: 0.8;
}

/* Dynamic Accordion Label for Track Editor */
.accordion-button .expand-label-dynamic::after {
    content: "COLLAPSE";
}


.accordion-button.collapsed .expand-label-dynamic::after {
    content: "SHOW MORE";
}

/* Custom Lighter Styles for Upload Card */
.upload-card-style {
    border: 1px solid #eee !important;
    /* Match Accordion Border */
}

.upload-card-header {
    padding: 21px !important;
    /* ~16px (p-3) + 5px */
}

.custom-label-font {
    font-size: 0.7rem !important;
    font-weight: 500;
}