/* Global Reset & Variables */
:root {
    --color-white: #FFFFFF;
    --color-off-white: #F8F7FB;
    --color-light-gray: #EDEAF3;
    --color-text-primary: #1F1F2E;
    --color-text-secondary: #5E5B75;
    --color-indigo-primary: #9F81B9;
    --color-indigo-soft: #C7B5D9;
    --color-indigo-faint: rgba(159, 129, 185, 0.12);
    --bg-color: var(--color-white);
    --text-color: var(--color-text-primary);
    --accent-color: var(--color-indigo-primary);
    --accent-light: var(--color-indigo-soft);
    --secondary-text: var(--color-text-secondary);
    --card-bg: var(--color-white);
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Oswald', sans-serif;
    --container-width: 1200px;
    --spacing-section: 100px;
    --radius-lg: 20px;
    --radius-md: 12px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--color-white);
    padding: 12px 32px;
    border-radius: 50px;
    /* Fully rounded pill shape */
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(31, 31, 46, 0.06);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-indigo-primary);
    border: 1px solid var(--color-indigo-primary);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(31, 31, 46, 0.06);
}

/* Header */
.site-header {
    padding: 24px 0;
    position: absolute;
    /* Overlay on hero usually */
    width: 100%;
    top: 0;
    z-index: 100;
}

.site-header--light {
    position: relative;
    background-color: var(--color-white);
    box-shadow: 0 10px 30px rgba(31, 31, 46, 0.06);
}

.site-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    /* Larger as requested */
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-primary);
    text-shadow: none;
}

.site-header--light .logo {
    color: var(--text-color);
    text-shadow: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    flex-wrap: nowrap;
    /* Prevent wrapping */
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
    /* Force single line text */
}

.nav-links a:hover {
    color: var(--accent-color);
}

.site-header--light .nav-links a {
    color: var(--text-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background-color: var(--color-text-primary);
    border-radius: 999px;
}

.site-header--light .nav-toggle span {
    background-color: var(--text-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 700px;
    /* Ensure tall enough area */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.15), rgba(159, 129, 185, 0.15)), url('../assets/images/hero_bg.png');
    /* Image with overlay */
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
    /* Clean edges */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.headline {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-white);
}

.highlight {
    color: var(--accent-color);
}

.subheadline {
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 40px;
    font-weight: 500;
}

.play-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.play-button-wrapper span {
    color: var(--color-white);
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: none;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px var(--color-indigo-faint);
}

.play-btn:hover {
    transform: scale(1.1);
}

/* Vision / Subheading Section */
.vision-section {
    padding: var(--spacing-section) 0;
    text-align: center;
    background-color: var(--color-white);
}

.creators-text {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 10px;
    font-weight: 500;
}

.movie-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
}

/* Mission Section */
.mission-section {
    padding-bottom: var(--spacing-section);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--text-color);
}

.mission-body {
    font-size: 1.05rem;
    color: var(--secondary-text);
    margin-bottom: 20px;
    max-width: 500px;
}

.mission-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.mission-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--color-light-gray);
    border-radius: var(--radius-lg);
}

/* Character Section */
.characters-section {
    padding: var(--spacing-section) 0;
    text-align: center;
    background-color: var(--color-off-white);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.character-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(31, 31, 46, 0.06);
    transition: transform 0.3s ease;
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--color-indigo-faint);
}

.image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.character-img {
    display: block;
    /* Standard img behavior */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* Credits Section */
.credits-section {
    padding: var(--spacing-section) 0;
}

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

.credit-item {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(31, 31, 46, 0.06);
    border: 1px solid var(--color-light-gray);
}

.credit-image-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--color-off-white);
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    display: flex;
    /* Centering fix */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Ensure no spill */
}

.credit-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: var(--text-color);
}

.credit-role {
    font-size: 0.85rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer movement box */
.site-footer {
    padding: 0 0 50px 0;
}

.footer-cta-box {
    background: var(--color-indigo-primary);
    padding: 80px;
    text-align: center;
    border-radius: var(--radius-lg);
    color: var(--color-white);
}

.footer-cta-box h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.footer-cta-box .btn-primary {
    background-color: var(--color-white);
    color: var(--color-indigo-primary);
    box-shadow: 0 10px 30px rgba(31, 31, 46, 0.06);
}

.footer-cta-box .btn-primary:hover {
    background-color: var(--color-off-white);
    transform: translateY(-2px);
}

/* Contact Page Styles */
.contact-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    /* Offset fixed header */
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-info h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--text-color);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 30px;
}

.contact-form-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(31, 31, 46, 0.06);
    /* Soft large shadow */
    border: 1px solid var(--color-light-gray);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: 50px;
    /* Rounded pill inputs */
    border: 1px solid var(--color-light-gray);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--color-off-white);
}

.form-textarea {
    border-radius: 20px;
    /* Less rounded for textarea */
    resize: vertical;
    min-height: 120px;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px var(--color-indigo-faint);
}

.form-submit-btn {
    width: 100%;
}


/* Responsive */
@media (max-width: 1024px) {
    .site-header nav {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .logo {
        max-width: 360px;
    }

    .logo {
        font-size: 2rem;
        /* Responsive change: reduce logo size for tablet */
    }

    .nav-links {
        gap: 20px;
        /* Responsive change: tighten nav spacing on tablet */
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-section {
        min-height: 600px;
        /* Responsive change: reduce tall hero on tablet */
    }

    .headline {
        font-size: 3.5rem;
        /* Responsive change: scale headline for tablet */
    }

    .mission-grid {
        gap: 40px;
        /* Responsive change: reduce column gap on tablet */
    }

    .mission-image img {
        height: auto !important;
        /* Responsive change: allow mission image to scale */
    }

    .character-card {
        height: auto;
        /* Responsive change: reduce card height on tablet */
    }

    .contact-split {
        gap: 40px;
        /* Responsive change: reduce form split gap on tablet */
    }
}

@media (max-width: 768px) {
    .site-header nav {
        flex-direction: column;
        /* Responsive change: stack header content */
        gap: 20px;
        /* Responsive change: add space between stacked items */
    }

    .nav-links {
        flex-direction: column;
        justify-content: center;
        /* Responsive change: center nav items */
        gap: 15px;
        /* Responsive change: tighter gap on mobile */
        width: 100%;
        display: none;
        padding: 12px 0;
        border-radius: var(--radius-md);
        background: var(--color-off-white);
    }

    .site-header.nav-open .nav-links {
        display: flex;
    }

    .site-header--light .nav-links {
        background: var(--color-white);
        box-shadow: 0 10px 30px rgba(31, 31, 46, 0.06);
    }

    .nav-toggle {
        display: flex;
    }

    .btn-primary {
        padding: 12px 24px;
    }

    .headline {
        font-size: 2.5rem;
        /* Responsive change: scale headline for mobile */
    }

    .movie-title {
        font-size: 2rem;
        /* Responsive change: scale title for mobile */
    }

    .mission-grid {
        grid-template-columns: 1fr;
        /* Responsive change: stack mission columns */
    }

    .mission-image img {
        height: auto !important;
        /* Responsive change: override fixed height on mobile */
    }

    .characters-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
    }

    .character-card {
        height: auto;
    }

    .footer-cta-box {
        padding: 40px 20px;
        /* Responsive change: reduce footer padding on mobile */
    }

    .footer-cta-box h2 {
        font-size: 1.8rem;
        /* Responsive change: scale footer heading on mobile */
    }

    .contact-section {
        padding-top: 60px;
    }

    .contact-split {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 28px;
    }
}