/* Dark Mode Background */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #000; 
    color: #0000ff; 
    overflow-x: hidden;
}

/* The "Glass" Navigation Bar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 44px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.nav-content {
    width: 1000px;
    display: flex;
    justify-content: space-between;
}

nav a {
    color: #d6d6d6;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #fff;
}

/* The Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 150px;
    text-align: center;
}

h1 {
    font-family: "Courier", Courier, monospace;
    font-size: 56px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.subhead {
    font-size: 28px;
    font-weight: 400;
    color: #86868b;
    margin-top: 10px;
    margin-bottom: 25px;
}

.buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 8px 20px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
}

.btn-blue {
    background-color: #0071e3;
    color: white;
}

.btn-blue:hover {
    background-color: #0077ed;
}

.btn-outline {
    border: 1px solid #0071e3;
    color: #0071e3;
}

.btn-outline:hover {
    background-color: rgba(0, 113, 227, 0.1);
}

.hero-image {
    margin-top: 50px;
    width: 80%;
    max-width: 900px;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}
/* Logo sizing */
.small-image {
    height: 30px;       /* Sets a fixed height suitable for the navbar */
    width: auto;        /* Keeps the image shape correct (doesn't squish it) */
    border-radius: 4px; /* Optional: gives it slightly rounded corners */
    vertical-align: middle; /* Aligns it with the text links */
}
 .mission-text {
    font-size: 24px;
    line-height: 1.6; /* Adds breathing room between lines */
    color: #a1a1a6; /* Apple grey */
    margin-top: 20px;
}

.team-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #0a0a0a; /* Slightly lighter black to separate sections */
}

.team-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 50px; /* Space between people */
    flex-wrap: wrap; /* Wraps to next line on small screens */
}

.team-member {
    text-align: center;
}

.circle-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover; /* This keeps faces looking normal! */
    /* ... other existing lines ... */
}

.team-member h3 {
    margin: 10;
    font-size: 20px;
}

.team-member p {
    color: #0071e3; /* Blue text for titles */
    font-size: 14px;
    margin-top: 10px;
}
/* --- FILM GALLERY SPACING FIX --- */
/* 1. Spacing around the main section */
.gallery {
    padding-top: 120px;  /* Pushes it down from the Navbar */
    padding-bottom: 100px; /* Space at the very bottom of the page */
    max-width: 1100px;     /* Widen the container slightly */
    margin: 0 auto;        /* Centers everything */
    text-align: center;
}

/* 2. Spacing below "Our Productions" */
.gallery h1 {
    font-size: 42px;
    margin-bottom: 60px; /* <--- KEY FIX: Pushes the movies away from the title */
    letter-spacing: -1px;
}

/* 3. The Grid (Space between movies) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px; /* <--- KEY FIX: Adds 50px of empty space between every movie card */
    padding: 20px;
}

/* 4. The Card (Space inside the box) */
.card {
    background: #111;
    border-radius: 16px;
    padding: 20px; /* <--- KEY FIX: Keeps text away from the border */
    transition: transform 0.3s ease;
}

/* 5. Text Spacing */
.card h3 {
    margin-top: 20px;    /* Space between Image and Title */
    margin-bottom: 5px;  /* Space between Title and Year */
    font-size: 22px;
    color: white;
}

.card p {
    margin: 0;
    color: #888;
    font-size: 15px;
}
/* 1. Define the Animation Keyframes */
@keyframes cinematicFade {
    from {
        opacity: 0;
        transform: translateY(30px); /* Starts 30px lower than normal */
        filter: blur(4px); /* Starts slightly blurry */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Ends in exact position */
        filter: blur(0); /* Ends sharp */
    }
}

/* 2. Apply it to the Main Title ("We Tell Stories") */
.about-hero h1 {
    opacity: 0; /* Start hidden so it doesn't flash before animating */
    animation: cinematicFade 0.40s ease-out forwards;
    animation-delay: 0.3s; /* Waits 0.2 seconds before starting */
}

/* 3. Apply it to the Paragraph Text */
.mission-text {
    opacity: 0; /* Start hidden */
    animation: cinematicFade 0.40s ease-out forwards;
    animation-delay: .20s; /* Waits 1 second (starts after the title) */
}
/* --- ABOUT PAGE SPACING FIXES --- */

/* 1. Push the whole section down so it clears the Navbar */
.about-hero {
    padding-top: 220px;   /* Increased from 150px so the Title is visible */
    padding-bottom: 100px; /* Adds breathing room before "The Collective" starts */
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* 2. Fix the Headline (Size, Spacing, and Color) */
.about-hero h1 {
    font-size: 50px;
    margin-bottom: 40px; /* Pushes the paragraph down */
    color: #f5f5f7;      /* CHANGES TEXT TO WHITE/GREY */
}

/* 3. Fix the Paragraph Spacing */
.mission-text {
    font-size: 24px;
    line-height: 1.6;
    color: #a1a1a6;      /* Apple Grey */
    margin-top: 0;
}

/* 4. Fix "The Collective" Section */
.team-section {
    padding: 50px 20px;
    background-color: #000; /* Keeps background black */
}

.team-section h2 {
    font-size: 32px;
    margin-bottom: 60px; /* Pushes the faces away from the title */
    color: #0071e3;      /* Makes "The Collective" Blue (optional) or use #fff for white */
}
/* --- THE MODAL (Background) --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stays in place */
    z-index: 1000; /* Sits on top of everything */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.85); /* Very dark background */
    backdrop-filter: blur(8px); /* Blurs the website behind it for elegance */
    
    /* This Flexbox code handles the Centering */
    display: flex;
    align-items: center; /* Vertical Center */
    justify-content: center; /* Horizontal Center */
    
    /* Animation */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Prevents clicking when hidden */
}

/* Class to activate the modal (used by JS) */
.modal.show {
    opacity: 1;
    pointer-events: all;
}

/* --- THE CONTENT BOX --- */
.modal-content {
    background-color: #1a1a1a; /* Dark box to match Eclipse theme */
    color: white;
    padding: 40px;
    border: 1px solid #333;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    
    /* Slide up animation */
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

/* When modal is open, slide box to normal position */
.modal.show .modal-content {
    transform: translateY(0);
}

/* Layout inside the box */
.modal-body {
    display: flex;
    gap: 30px;
    align-items: center;
    text-align: left;
}

.modal-body img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.modal-text h2 {
    margin: 0;
    font-size: 2rem;
    color: #fff;
}

.modal-text h4 {
    margin: 5px 0 15px 0;
    color: #aaa; /* Grey text for role */
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.modal-text p {
    line-height: 1.6;
    color: #ccc;
}

/* --- THE CLOSE BUTTON (X) --- */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #666;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #fff; /* Turns white on hover */
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .modal-body {
        flex-direction: column;
        text-align: center;
    }
}
/* Styling your Grid Images */
.card img {
    width: 100%;
    height: 300px; /* Forces all posters to be same height */
    object-fit: cover; /* Crops them neatly so they don't stretch */
    border-radius: 4px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

/* Make the card feel clickable */
.card {
    cursor: pointer; 
}

/* Hover effect */
.card:hover img {
    transform: scale(1.03); /* Slight zoom when hovering */
    opacity: 0.9;
}

/* --- THE POP UP (LIGHTBOX) --- */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95); /* Pitch black background */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    opacity: 1; /* Fade in */
}

/* The Expanded Image */
.lightbox img {
    max-width: 80%;
    max-height: 80vh;
    border: 1px solid #333;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

/* The Text under the expanded image */
#caption {
    margin-top: 20px;
    text-align: center;
    color: white;
}

#caption h2 { margin: 0; font-weight: 300; }
#caption p { color: #888; margin-top: 5px; }

/* The X button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
/* --- MARKETING / DOWNLOADS SECTION --- */
.marketing-section {
    padding: 50px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.marketing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* The Download Box */
.download-card {
    background-color: #111; /* Slightly lighter than black background */
    border: 1px solid #333;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: left;
}

.download-card:hover {
    transform: translateY(-5px); /* Floats up slightly */
    border-color: #fff; /* Border turns white */
}

.download-card h3 {
    margin-top: 0;
    color: white;
    font-weight: 300;
}

.download-card p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* The Button inside the card */
.download-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #666;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background-color: white;
    color: black;
}

/* --- CONTACT FORM SECTION --- */
.contact-section {
    padding: 60px 20px;
    max-width: 600px; /* Narrower for better readability */
    margin: 0 auto 100px auto; /* Bottom margin creates space at footer */
    text-align: center;
}

.cinematic-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

/* Input Fields Styling */
.cinematic-form input, 
.cinematic-form textarea {
    width: 100%;
    background-color: transparent; /* See-through */
    border: none;
    border-bottom: 2px solid #333; /* Only a bottom line */
    padding: 15px 10px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none; /* Removes default blue glow */
    transition: border-color 0.3s ease;
}

/* When you click inside an input */
.cinematic-form input:focus, 
.cinematic-form textarea:focus {
    border-bottom: 2px solid white; /* Line turns white */
}

/* The Send Button */
.submit-btn {
    background-color: white;
    color: black;
    border: none;
    padding: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    margin-top: 20px;
    transition: opacity 0.3s;
}

.submit-btn:hover {
    opacity: 0.8;
}

 /* IN-FILE CSS FOR THE GAME & SCHEDULER */
        
        /* 1. Scheduler Section */
        .scheduler-section {
            padding: 80px 20px;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .lettuce-card {
            background: #111;
            border: 1px solid #0071e3; /* Tron Blue border */
            border-radius: 12px;
            padding: 40px;
            margin-top: 30px;
            box-shadow: 0 0 20px rgba(0, 113, 227, 0.2);
        }

        .lettuce-btn {
            display: inline-block;
            background-color: #0071e3;
            color: white;
            padding: 15px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            margin-top: 20px;
            transition: all 0.3s ease;
        }

        .lettuce-btn:hover {
            background-color: #00c6ff; /* Neon cyan on hover */
            box-shadow: 0 0 15px #00c6ff;
        }

        /* 2. The Arcade Section (Tron Style) */
        .arcade-section {
            margin-top: 100px;
            padding: 50px 0;
            background-color: #050505;
            border-top: 2px solid #0071e3;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .arcade-title {
            font-family: 'Courier New', Courier, monospace;
            color: #00c6ff;
            text-shadow: 0 0 10px #00c6ff;
            margin-bottom: 20px;
            letter-spacing: 5px;
            text-transform: uppercase;
        }

        /* The Game Canvas */
        canvas {
            background-color: #000;
            border: 4px solid #0071e3;
            box-shadow: 0 0 20px #0071e3;
            display: block;
            margin: 0 auto;
        }

        .controls-hint {
            color: #666;
            margin-top: 10px;
            font-family: monospace;
            font-size: 12px;
        }
        /* Add to style.css */
.social-link {
    color: #ff0099; /* Neon Pink */
    text-decoration: none;
    font-size: 0.9rem;
    padding-left: 10px;
    transition: color 0.3s;
}

.social-link:hover {
    color: #fff; /* White on hover */
    text-decoration: underline;
}
