/* ========================================= */
/* 1. GLOBAL VARIABLES & RESETS              */
/* ========================================= */

:root {
    --brand-dark: #1a1a1a;
    --brand-light: #f4f4f4;
    --brand-accent: #d9534f; /* A subtle red for buttons/progress */
    --text-main: #333333;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--brand-light);
    color: var(--text-main);
    line-height: 1.6;
}

sup {
    font-size: 0.6em;
    vertical-align: super;
    line-height: 0; /* Crucial: Prevents the raised text from messing up paragraph spacing */
}

/* ========================================= */
/* 2. GENERAL LAYOUT & NAVIGATION            */
/* ========================================= */

main {
    max-width: 1200px;  /* Limits the maximum width of the content */
    margin: 0 auto;     /* Centers the container perfectly on the page */
    padding: 0 1rem; /* Adds breathing room on the top/bottom and sides */
    padding-bottom: 4rem; /* <-- ADD THIS LINE to push the bottom nav bar down! */
}

.site-nav {
    background-color: var(--brand-dark);
    padding: .5rem 0;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 3rem;
    
    /* --- NEW STICKY RULES --- */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
}

.site-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: #cc5500; /* Dark orange */
}

/* --- NEW FOOTER NAVIGATION --- */
.footer-nav {
    background-color: var(--brand-dark);
    padding: 2rem 0 1rem; /* Shrinks the bottom padding slightly */
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-nav a {
    color: #888; /* Slightly dimmer text so it doesn't distract from the main content */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem; /* Slightly smaller text */
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #cc5500;
}

/* --- POWERED BY BADGE --- */
.powered-by {
    background-color: var(--brand-dark); /* Keeps the dark footer seamless */
    text-align: center;
    padding-bottom: 2rem; 
    font-size: 0.75rem;
    color: #666; /* Slightly darker than the main links */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.powered-by a {
    color: #888;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.powered-by a:hover {
    color: #f48120; /* Flashes the campaign orange on hover */
}

/* ========================================= */
/* 3. HERO & HEADER SECTION                  */
/* ========================================= */

.hero {
    position: relative; 
    text-align: center;
    padding: 1.5rem 1rem 1.5rem; 
    background-color: #bbf7f8; /* Failsafe background */
    
    /* The Transparency Overlay */
    /* 0.6 = 60% cyan, 40% bubbles. Change this decimal to tune the visibility! */
    background-image: linear-gradient(rgba(187, 247, 248, 0.6), rgba(187, 247, 248, 0.6)), url('bubbles-v3.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    /* Make sure background-blend-mode is completely deleted */
    
    overflow: hidden; 
}

/* The Subtle Curved Line */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -2%; /* Stretching slightly beyond the screen prevents sharp corners */
    width: 104%;
    height: 28px; /* 8px of curve + 2px of border */
    background-color: var(--brand-light); /* Matches the gray background of the page below */
    border-top: 2px solid #eaeaea; /* Replaces your original flat line */
    border-radius: 50% 50% 0 0; /* Forces the middle to arch upwards */
}

.band-name {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(4.5rem, 18vw, 6.5rem); 
    white-space: nowrap; 
    font-weight: 400;
    color: var(--brand-dark);
    line-height: 1;
    margin-bottom: -15px; 
}

.hero-main-title {
    font-size: clamp(0.8rem, 4.5vw, 1.4rem); 
    white-space: nowrap; 
    font-weight: 700;
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    line-height: 1;
}

.hero-sub-title {
    font-size: clamp(0.6rem, 3.5vw, 1.2rem); 
    white-space: nowrap; 
    font-weight: 400; 
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0; 
    margin-bottom: 0.5rem; /* Reduced from 1.5rem to pull the slider up */
}

/* Flagship Image Styling */
.featured-image {
    text-align: center;
    padding: 3rem 1rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-image img {
    width: 100%;
    max-width: 500px; /* Hard cap at 500px */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    margin: 0 auto;
    display: block;
}

/* ========================================= */
/* 4. CAMPAIGN PROGRESS & STORY              */
/* ========================================= */

#progress-wrapper {
    max-width: 650px;
    margin: 0 auto;
}

.progress-pill {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    height: 40px;
    width: 100%;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.progress-fill {
    background-color: var(--brand-dark);
    height: 100%;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    transition: width 0.8s ease;
    min-width: 45px; /* Ensures percentage text always fits */
}

.campaign-stats {
    font-size: clamp(0.7rem, 3.5vw, 1.1rem); 
    white-space: nowrap; 
    font-weight: 400; 
    color: var(--brand-dark);
    margin-top: 0.5rem; /* Overrides default spacing to pull it toward the slider */
    margin-bottom: 1rem; /* Keeps the bottom edge of the header tidy */
}

.campaign-stats span {
    font-weight: 700; /* Keeps the dynamic numbers bold so they pop */
}

#funding-goal {
    font-weight: 400; /* Overrides the bold rule specifically for the goal */
}

.campaign-story {
    max-width: 800px; 
    /* The three numbers are: top, left/right, bottom. Change the bottom from 1rem to 3rem or 4rem! */
    margin: 1rem auto 4rem; 
    padding: 0 1rem;
}

.campaign-story h2 {
    font-size: 1.5rem;
    color: var(--brand-dark);
    margin-top: 0;         /* <--- ADD THIS LINE */
    margin-bottom: 0.5rem; /* Reduced from 1.5rem to pull the text up */
    text-align: center;
}

.campaign-story p {
    font-size: 1rem;
    line-height: 1.4; /* <-- Tightened up from 1.8 */
    margin-bottom: 1.5rem;
}

/* --- Read More Fade-Out Styles --- */
.story-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.story-content {
    overflow: hidden;
    max-height: 120px; /* Shows roughly 3-4 lines. Increase this if you want to show more initially! */
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth sliding animation */
}

.story-content.expanded {
    max-height: 2000px; /* A safe, large height to reveal all text */
}

.story-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Height of the gradient fade */
    
    /* Creates a gradient from fully transparent to the exact #f4f4f4 gray of your page background */
    background: linear-gradient(to bottom, rgba(244, 244, 244, 0) 0%, rgba(244, 244, 244, 1) 80%);
    
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 5px;
    transition: opacity 0.3s ease;
}

.story-fade.hidden {
    opacity: 0;
    pointer-events: none; /* Prevents the invisible button from being clicked */
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--brand-dark);
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.read-more-btn:hover {
    color: #f48120;
    transform: translateY(2px); /* Makes the arrow bounce down slightly on hover */
}

/* --- AUDIO PLAYER STYLES --- */
.audio-preview-container {
    background-color: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.audio-title {
    font-size: 0.95rem;
    color: var(--brand-dark);
    margin-top: 0;
    margin-bottom: 0.8rem !important; /* Overrides the 1.4rem gap from your story paragraphs */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-audio-player {
    width: 100%;
    height: 40px; /* Keeps the player slim and unobtrusive */
    outline: none;
}

/* ========================================= */
/* 5. ITEM CARDS & GRID LAYOUT               */
/* ========================================= */

#album-tiers {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

#album-grid {
    display: grid;
    /* This automatically creates as many columns as will fit, scaling down to 1 on mobile */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.album-card {
    background: white;
    padding: 2.5rem 1.5rem 1.5rem; /* Extra top padding so image clears the ribbon */
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden; /* This clips the corner ribbon perfectly */
}

.album-card-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    /* CHANGE THIS FROM flex-end TO flex-start */
    justify-content: flex-start; 
    container-type: inline-size; 
}

.album-card .carousel-arrow:hover {
    background: none;
    box-shadow: none;
    transform: translateY(-50%) scale(1.15); /* Keeps it vertically centered while scaling */
}

.item-title {
    font-size: clamp(1rem, 8cqi, 1.5rem); /* Fluidly scales the font */
    white-space: nowrap; /* Strictly prevents wrapping to a second line */
    overflow: hidden; /* Safety net: hides text if it hits the absolute minimum width */
    text-overflow: ellipsis; /* Adds '...' if the screen is microscopically small */
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-dark);
    line-height: 1.0; 
    margin-bottom: -2px; 
}

.item-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #333;
    margin-top: -2px; 
    margin-bottom: 0.5rem; 
}

.album-card-content .description {
    line-height: 1.3; /* Tightened from the global body line-height */
    margin-top: 0;
}

/* Images Inside Cards */
.item-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    filter: drop-shadow(0 12px 16px rgba(0,0,0,0.3)); /* Adds depth directly to the product art */
}

/* Image Carousel Wrappers */
.image-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    display: block;
}

.image-carousel-wrapper .item-image {
    margin-bottom: 0; 
    aspect-ratio: 1 / 1; /* Locks the image area to a perfect square so the card doesn't jump */
    object-fit: contain; /* Ensures the shirts are never cropped */
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none; /* Removes the white circle */
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: none; /* Removes the box shadow */
    transition: transform 0.2s ease;
    padding: 0;
}

.carousel-arrow:hover {
    background: none;
    box-shadow: none;
    transform: translateY(-50%) scale(1.15); /* Adds a simple grow effect on hover */
}

.carousel-arrow.left {
    left: -1rem; /* Pushes the arrow further out into the card's padding */
}

.carousel-arrow.right {
    right: -1rem; /* Pushes the arrow further out into the card's padding */
}

/* Forces the SVG icons inside the buttons to fit neatly */
.carousel-arrow img {
    width: 36px; /* Increases the arrow size */
    height: 36px;
    margin-bottom: 0; 
    border-radius: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); /* Adds a shadow directly to the arrow shape so it pops against the shirt */
}

/* Forces the SVG icons inside the buttons to fit neatly */
.carousel-arrow img {
    width: 20px;
    height: 20px;
    margin-bottom: 0; 
    border-radius: 0;
}

.album-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 4px;
}

/* SPECIFIC IMAGE RESIZING */

.img-digital {
    width: 75%; /* Reduced by 25% */
}

.img-lyric-book {
    width: 80%; /* Reduces size by 25% */
    margin: 0 auto; /* Keeps the smaller image perfectly centered */
    display: block; 
}

.img-donate {
    width: 65%;
}

.img-turntable-mat {
    width: 85%;
}

.img-autographed,
.img-special-thanks {
    width: 75%; /* Change this number to make them larger or smaller! */
    margin: 0 auto; 
    display: block; 
}

/* Item Options (Variations) */
.item-options-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.item-option {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-option label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0.2rem;
}

.item-option-select {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: #fafafa;
    cursor: pointer;
}

/* Subtext for variations in the cart panel */
.cart-item-options {
    font-size: 0.8rem;
    color: #888;
    margin: 0 0 0.4rem 0;
}

/* Corner Price Ribbon & Shadow */
.price-ribbon-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.3)); /* Adds the shadow outside the clip-path */
}

.price-ribbon {
    background-color: #f48120; 
    color: black;
    width: 140px;
    height: 140px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    display: flex;
    align-items: flex-start;
    padding-top: 16px;
    padding-left: 16px;
    font-weight: 800;
}

.price-symbol {
    font-size: 1.4rem; /* Restored size */
    margin-top: 4px; /* Perfectly aligns the top of the $ with the top of the numbers */
    margin-right: 2px;
}

.price-amount {
    font-size: 2.8rem; /* Bumped up slightly to fit the new ribbon size */
    line-height: 1;
    letter-spacing: -2px;
}

.price-custom {
    font-size: 1.1rem;
    transform: rotate(-45deg);
    margin-top: 24px;
    margin-left: 2px;
    text-transform: uppercase;
}

/* Card Buttons */
.cart-btn {
    width: 100%;
    padding: 1rem;
    background-color: black;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.cart-btn:hover:not(:disabled),
.album-card button:hover {
    background-color: #f48120;
    transform: translateY(-2px);
}

.cart-btn:disabled,
.album-card button:disabled {
    background-color: #e0e0e0;
    color: #999;
    box-shadow: none;
    cursor: not-allowed;
}

/* ========================================= */
/* 6. INVENTORY TRACKING                     */
/* ========================================= */

.inventory-container {
    margin-bottom: 1.5rem;
}

.inventory-text {
    font-size: 0.95rem;
    color: #111;
    margin-bottom: 0.4rem;
}

.inventory-bar {
    width: 100%;
    height: 8px;
    border: 1px solid black;
    border-radius: 4px;
    background-color: white;
    overflow: hidden;
}

.inventory-fill {
    height: 100%;
    background-color: #f48120;
    border-right: 1px solid black;
    transition: width 0.5s ease;
}

.inventory-tracker {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sold-out-text {
    color: var(--brand-accent);
}

/* ========================================= */
/* 7. CART UI                                */
/* ========================================= */

/* Floating Token */
.cart-token {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #212122;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 100;
    transition: transform 0.2s ease;
}

.cart-token:hover {
    transform: scale(1.05);
    background-color: #f48120;
}

.cart-icon {
    font-size: 1.5rem;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #f48120;
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    line-height: 1; 
    padding-top: 2px; /* Pushes the mathematical center down 1 pixel */
}

/* Slide-out Panel Base */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.cart-panel {
    position: fixed;
    top: 0;
    bottom: 0; /* NEW: Anchors the panel securely to the bottom visible edge */
    right: -450px;
    width: 400px;
    max-width: 100%;
    height: 100%; /* CHANGED: from 100vh to 100% to respect mobile UI bars */
    background-color: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 15px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
}

/* Slide-out Panel Open States */
.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-panel.open {
    right: 0; /* Slides in */
}

/* Cart Interiors */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eaeaea;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--brand-dark);
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #888;
}

.cart-items-container {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.empty-cart-msg {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 2rem;
}

/* Individual Cart Items */
.cart-item-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
}

.cart-item-price {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Cart Item Quantity Controls */
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.qty-btn {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-dark);
    transition: background-color 0.2s ease;
}

.qty-btn:hover {
    background-color: #eee;
}

.qty-display {
    font-size: 0.95rem;
    font-weight: 700;
    min-width: 16px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem; /* Pushes the trash can slightly away from the + button */
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.cart-item-remove:hover {
    opacity: 1;
}

.trash-icon {
    width: 22px;
    height: 22px;
}

/* Cart Footer & Checkout */
.cart-footer {
    padding: 1.5rem;
    /* NEW: Adds extra padding only if the phone has a physical notch/home bar */
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); 
    border-top: 1px solid #eaeaea;
    background-color: #fafafa;
    flex-shrink: 0; 
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background-color: #f48120;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.checkout-btn:hover {
    background-color: var(--brand-dark);
}

.checkout-disclaimer {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

/* ========================================= */
/* 8. INFO MODALS (FAQ, Contact, Shipping)   */
/* ========================================= */

.info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.7);
    z-index: 1001; /* Keeps it above your sticky top nav */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.info-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%); /* Starts slightly lower for a slide-up effect */
    width: 90%;
    max-width: 650px;
    max-height: 85vh; /* Prevents it from being taller than the screen */
    background-color: white;
    border-radius: 12px;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* The 'open' classes that JavaScript will trigger */
.info-modal.open, .info-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.info-modal.open {
    transform: translate(-50%, -50%); /* Slides into the exact center */
}

.info-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: #f48120; /* Orange background */
    border-top-left-radius: 12px; /* Matches the modal's 12px border radius */
    border-top-right-radius: 12px;
    border-bottom: 1px solid #d36b13; /* Slightly darker orange border */
}

.info-modal-header h2,
#info-modal-title {
    margin: 0;
    font-size: 1.5rem;
    color: #ffffff !important; /* White text */
    text-transform: uppercase;
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #ffffff !important; /* White close button */
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.close-modal-btn:hover {
    opacity: 1;
    color: #ffffff !important;
}

.info-modal-content {
    padding: 1.5rem;
    overflow-y: auto; /* Allows scrolling inside the modal if the text is long */
    line-height: 1.6;
    color: #333;
}

.info-modal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--brand-dark);
}
.info-modal-content h3:first-child {
    margin-top: 0;
}
.info-modal-content p {
    margin-bottom: 1rem;
}

/* --- RESPONSIVE VIDEO CONTAINER --- */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Forces a perfect 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
