/* Core Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body {
    background-color: #050505;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}

/* Hero Video Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: #000;
}
#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Netflix-Style Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}
.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Top Bar (Logo & Nav) */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
}
.brand-logo {
    height: 40px;
    width: auto;
}
.nav-link {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    transition: color 0.3s;
}
.nav-link:hover {
    color: #aaaaaa;
}

/* Hero Text Justification */
.hero-content {
    padding: 0 4rem 4rem 4rem;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-grow: 1;
}
.right-justified {
    font-size: 4rem;
    font-weight: bold;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Audio Controls */
.icon-btn {
    position: absolute;
    bottom: 4rem;
    left: 4rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
    pointer-events: auto;
}
.icon-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Layout Containers */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem;
}
.text-center {
    text-align: center;
}
section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
section p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

/* --- Bicultural Language Copy Styling --- */
.campaign-text-en {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.25rem !important;
}
.campaign-text-es {
    font-size: 0.95rem;
    color: #888888;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Partner Logos */
.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}
.partner-logo {
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(200%);
    transition: filter 0.3s ease;
}
.partner-logo:hover {
    filter: grayscale(0%) brightness(100%);
}
.logo-7goalx {
    max-height: 32px; /* Downsized slightly from 50px so it visually balances with Bambi */
}
.logo-bambi {
    max-height: 48px;
}

/* Tapered vertical divider custom rule */
.logo-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}
/* --- Buttons & Forms (Updated with #99CB4D) --- */
.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: #ffffff;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}
/* Hover effect using 7-Eleven style green */
.cta-button:hover {
    background: #99cb4d;
    color: #000000;
}

.email-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.email-form input {
    padding: 1rem;
    width: 300px;
    border: 1px solid #333333;
    background: #111111;
    color: #ffffff;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.email-form input:focus {
    outline: none;
    border-color: #99cb4d; /* Green accent border on focus */
}

.email-form button {
    padding: 1rem 2rem;
    background: #ffffff;
    color: #000000;
    border: none;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}
/* Hover effect using 7-Eleven style green */
.email-form button:hover {
    background: #99cb4d;
    color: #000000;
}

/* About Page Specifics */
.simple-nav {
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}
.brand-logo-small {
    height: 30px;
}
.about-container {
    max-width: 700px;
    margin: 4rem auto 8rem auto;
    padding: 0 2rem;
}
.about-container h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}
.about-container p {
    font-size: 1.1rem;
    color: #bbbbbb;
    margin-bottom: 1.5rem;
}

/* --- Contained and Centered Graphic Section Custom Rules --- */
.centered-graphic-section {
    width: 100%;
    background-color: #050505;
    padding: 1rem 0 5rem 0;
}
.graphic-container {
    max-width: 480px; /* Constrains the image to a premium, subtle footprint instead of exploding full-width */
    margin: 0 auto;
    padding: 0 2rem;
}
.centered-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Footer */
.campaign-footer {
    width: 100%;
    background-color: #050505;
    padding: 2.5rem 4rem;
    border-top: 1px solid #111111;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* 3-tier matrix enforces absolute center alignment */
    align-items: center;
}

/* Centers the copyright message with lighter weight styling */
.footer-copyright {
    text-align: center;
    font-size: 0.8rem; /* Smaller text footprint */
    color: #444444; /* Matte, lighter muted grey color values */
    font-weight: 300; /* Ultra-clean light structure */
    letter-spacing: 0.5px;
}

/* Throws social container straight to the right-justified track boundary */
.footer-social {
    display: flex;
    justify-content: flex-end;
}

.instagram-img-asset {
    width: 24px; /* Scales down cleanly for a premium look */
    height: 24px;
    display: block;
    opacity: 0.4; /* Matches the matte style of the copyright font */
    transition:
        opacity 0.3s ease,
        filter 0.3s ease;
}

/* Smooth brand highlight translation on hover */
.instagram-img-asset:hover {
    opacity: 1;
    filter: drop-shadow(
        0 0 4px #99cb4d
    ); /* Glow maps to your exact brand green */
}

.footer-spacer {
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .top-bar {
        padding: 1.5rem;
    }
    .hero-content {
        padding: 0 1.5rem 6rem 1.5rem;
        justify-content: center;
    }
    .right-justified {
        text-align: center;
        font-size: 2.5rem;
    }
    .icon-btn {
        bottom: 1.5rem;
        left: 1.5rem;
    }
    .email-form input {
        width: 100%;
    }
    .logos-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .campaign-footer {
        padding: 2rem 1.5rem;
    }
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-social {
        justify-content: center; /* Center handles stack smoothly across cellular mobile rows */
    }
    .footer-spacer {
        display: none;
    }
}

/* Custom Text Selection Highlight */
::selection {
    background-color: #99cb4d;
    color: #000000;
}
/* Safari support */
::-webkit-selection {
    background-color: #99cb4d;
    color: #000000;
}
/* Firefox support */
::-moz-selection {
    background-color: #99cb4d;
    color: #000000;
}
