:root {
    --bg: #0f0f0f;
    --card-bg: #1a1a1a;
    --accent: #00d4ff;
    --text-main: #f0f0f0;
    --text-dim: #a0a0a0;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 5%;
    background: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 30px; }
.nav-links a { text-decoration: none; color: var(--text-dim); font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.main-hero {
    display: flex;
    flex-direction: column;   /* Forces elements to stack vertically on separate lines */
    justify-content: center;  /* Centers the stack vertically */
    align-items: center;      /* Centers the stack horizontally */
    text-align: center;       /* Centers the text lines themselves */
    padding: 6rem 2rem;       /* Generates breathing room on top and bottom */
    width: 100%;

    
    /* BACKGROUND IMAGE SETTINGS */
    background-image: url('zIMG_4770a.jpg'); 
    background-size: cover;
    background-position: 10% 15%;
    background-attachment: fixed; /* This creates a cool parallax effect */
    padding: 0;
}

/* This creates the dark tint so your white text "pops" */
.hero-overlay {
    background: rgba(0, 0, 0, 0.6); /* Adjust 0.6 to make it darker or lighter */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
}

.main-hero h1 {
    margin-bottom: 1rem;      /* Pushes the paragraph down */
}

.main-hero p {
    margin-bottom: 2rem;      /* Pushes the button down */
    max-width: 600px;         /* Prevents the paragraph from getting too wide on desktop */
}

.main-hero .btn {
    display: inline-block;    /* Allows the button to respect padding and margins properly */
}

.trust-bar {
    display: flex;
    justify-content: space-around;
    background: var(--accent);
    color: #000;
    padding: 15px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.process-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 30px !important;
    padding: 40px 10% !important;
    max-width: 1200px;
    margin: 0 auto;
}

.process-grid .card {
    flex: 1 !important;
    min-width: 0 !important; /* Prevents text from pushing the card wider than its 1/3 share */
}

/* Mobile fix: Only lets them stack on mobile screens so they stay readable */
@media (max-width: 768px) {
    .process-grid {
        flex-direction: column !important;
    }
}

.audio-container { 
    margin: 40px auto 0; 
    border: 1px solid #222; 
    border-radius: 12px; 
    overflow: hidden; 
    max-width: 600px;
}
.btn { background: var(--accent); 
        color: #000; 
        padding: 12px 25px; 
        text-decoration: none; 
        border-radius: 5px; 
        font-weight: bold; 
    }

.content { padding: 50px 10%; text-align: center; }

/* Sync Page Video Grid */
.video-showcase {
    padding: 20px 10% 60px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
    gap: 25px;
    margin-top: 30px;
    justify-content: center;
}

.video-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    padding-bottom: 15px;
}

.video-card h3 {
    font-size: 1rem;
    padding: 15px 15px 5px;
    margin: 0;
    color: var(--accent);
}

.video-card p {
    padding: 0 15px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.audio-library {
    padding: 60px 10%;
    background: #000;
    text-align: center;
    border-top: 1px solid #111;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .video-grid { grid-template-columns: 1fr; }
}

/*Bigger Video tiles on film score page*/
.filmvideo-showcase {
    padding: 40px 10% 80px; /* Increased padding for better focus */
}

.filmvideo-grid {
    display: grid;
    /* Changed from repeat(3, 1fr) to repeat(2, 1fr) for 2 larger videos per row */
    /* Use '1fr' alone if you want them to be full-width and massive */
    grid-template-columns: repeat(auto-fit, minmax(280px, 550px)); 
    gap: 40px; /* Increased gap to match the larger scale */
    margin-top: 30px;
    justify-content: center;
}

.filmvideo-card {
    background: #1a1a1a;
    border-radius: 12px; /* Slightly more rounded for a modern look */
    overflow: hidden;
    border: 1px solid #333;
    padding-bottom: 20px;
    transition: transform 0.3s ease; /* Adds a subtle pro feel when hovering */
}

.filmvideo-card:hover {
    transform: scale(1.02); /* Slight lift to show interactivity */
    border-color: var(--accent);
}

.filmvideo-card h3 {
    font-size: 1.4rem; /* Larger font for larger cards */
    padding: 20px 20px 5px;
    margin: 0;
    color: var(--accent);
}

.filmvideo-card p {
    padding: 0 20px;
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.filmvideo-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio stays the same */
    height: 0;
    overflow: hidden;
}

.filmvideo-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mobile Responsive: Stacks them vertically on smaller screens */
@media (max-width: 900px) {
    .filmvideo-grid {
        grid-template-columns: 1fr;
    }
}

.logo-track {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px; /* Space between the logo containers */
    max-width: 1200px;
    margin: 0 auto;
}

.logo-wrapper {
    width: 150px;  /* The consistent width for every logo "frame" */
    height: 80px;  /* The consistent height for every logo "frame" */
    display: flex;
    justify-content: center;
    align-items: center;
}

.network-logo {
    /* This is the secret to making them the "same size" visually */
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; 
    
    /* Professional styling */
    filter: grayscale(100%) brightness(1.5); /* Boost brightness for dark backgrounds */
    opacity: 0.8;
    transition: all 0.4s ease;
}

.network-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05); /* Subtle pop on hover */
}

/* Mobile: Shrink the containers so they fit on smaller screens */
@media (max-width: 768px) {
    .logo-wrapper {
        width: 100px;
        height: 60px;
    }
    .logo-track {
        gap: 20px;
    }
}