/* The Bay of Silence Film - site stylesheet */

:root {
    --bg-dark: #1c1c1e;
    --bg-charcoal: #252527;
    --accent-red: #940000;
    --accent-red-bright: #b3001b;
    --accent-orange: #ff6700;
    --text-white: #ffffff;
    --text-grey: #b7b7b7;
    --text-dim: #8a8a8a;
    --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Abril Fatface', Georgia, serif;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 20px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

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

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 11, 0.92);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header .header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: 'Abril Fatface', Georgia, serif;
    font-size: 1.15rem;
    letter-spacing: 1px;
    color: var(--text-white);
    white-space: nowrap;
}

.brand span { color: var(--accent-red-bright); }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-grey);
    transition: color 0.2s ease;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active { color: var(--text-white); }

.main-nav li.has-children { position: relative; }

.main-nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-charcoal);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 10px 0;
    min-width: 240px;
    list-style: none;
    margin: 8px 0 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

.main-nav li.has-children:hover .submenu,
.main-nav li.has-children:focus-within .submenu { display: block; }

.main-nav .submenu a {
    display: block;
    padding: 8px 20px;
    white-space: nowrap;
    font-size: 0.75rem;
}

.main-nav .submenu a:hover { background: rgba(255,255,255,0.05); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(10,10,11,0.55), rgba(10,10,11,0.85)), url('../images/bay-wide.jpg') center 60%/cover no-repeat;
    padding: 60px 24px;
}

.hero-content { max-width: 760px; }

.hero-content h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    letter-spacing: 2px;
    color: var(--text-white);
    text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}

.hero-divider {
    width: 90px;
    height: 1px;
    background: var(--text-white);
    margin: 22px auto;
    opacity: 0.6;
}

.hero-release {
    color: var(--accent-red-bright);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto 30px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 38px;
    border: 1px solid var(--text-white);
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover { background: var(--text-white); color: var(--bg-dark); }

.btn-solid {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.btn-solid:hover { background: var(--accent-red-bright); border-color: var(--accent-red-bright); color: var(--text-white); }

/* ---------- Sections ---------- */
.section {
    padding: 70px 0;
}

.section-dark { background: var(--bg-dark); }
.section-charcoal { background: var(--bg-charcoal); }

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: var(--accent-red-bright);
    font-size: 2rem;
}

.section-header p { color: var(--text-grey); max-width: 680px; margin: 0 auto; }

/* video */
.video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    max-width: var(--max-width);
    margin: 0 auto;
}

.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* teaser grid (synopsis / cast preview on homepage) */
.teaser-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.teaser-card {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    padding: 40px;
}

.teaser-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.85));
}

.teaser-body { position: relative; z-index: 1; }
.teaser-body h3 { color: var(--text-white); font-size: 1.7rem; margin-bottom: 10px; }
.teaser-body p { color: #eee; margin-bottom: 14px; max-width: 460px; }
.teaser-body a { text-decoration: underline; color: var(--text-white); font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }

/* cast grid */
.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.cast-card {
    background: var(--bg-charcoal);
    border: 1px solid rgba(255,255,255,0.06);
}

.cast-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.cast-card .cast-info { padding: 20px; }
.cast-card h3 { font-size: 1.1rem; color: var(--text-white); margin-bottom: 4px; }
.cast-card .character { color: var(--accent-orange); font-style: italic; font-size: 0.9rem; margin-bottom: 8px; }
.cast-card .role-desc { color: var(--text-grey); font-size: 0.85rem; margin: 0; }

/* full cast list */
.cast-list { list-style: none; padding: 0; margin: 0; }
.cast-list li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cast-list .name { color: var(--text-white); font-style: italic; }
.cast-list .desc { color: var(--text-grey); }

/* news grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--bg-charcoal);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
}

.news-card img { aspect-ratio: 16/10; object-fit: cover; }
.news-card .news-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card h3 { font-size: 1.05rem; margin-bottom: 12px; color: var(--text-white); }
.news-card .read-more { margin-top: auto; color: var(--accent-orange); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

/* inner page banner */
.page-banner {
    position: relative;
    padding: 130px 24px 70px;
    text-align: center;
    background: linear-gradient(180deg, rgba(10,10,11,0.55), rgba(10,10,11,0.9)), var(--bg-img, url('../images/bay-day.jpg')) center/cover no-repeat;
}

.page-banner h1 {
    color: var(--accent-red-bright);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.page-banner .subtitle { color: var(--text-grey); font-style: italic; }

/* article / prose content */
.prose {
    max-width: 760px;
    margin: 0 auto;
    color: #e6e6e6;
}

.prose p { margin: 0 0 20px; }
.prose i, .prose em { color: #fff; }
.prose blockquote {
    border-left: 3px solid var(--accent-red);
    margin: 30px 0;
    padding: 4px 24px;
    color: var(--text-grey);
    font-style: italic;
}

.prose h2, .prose h4 { color: var(--accent-red-bright); }

/* two-column bio layout */
.bio-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: start;
}

.bio-layout img { width: 100%; }

.bio-layout h2 {
    color: var(--accent-orange);
    font-size: 1.8rem;
    margin-bottom: 24px;
}

@media (max-width: 760px) {
    .bio-layout { grid-template-columns: 1fr; }
    .teaser-grid { grid-template-columns: 1fr; }
}

/* platform links (watch now) */
.platform-region { margin-bottom: 50px; }
.platform-region h3 { color: var(--accent-red-bright); font-size: 1.3rem; margin-bottom: 20px; }
.platform-list { display: flex; flex-wrap: wrap; gap: 14px; }
.platform-list a {
    border: 1px solid rgba(255,255,255,0.25);
    padding: 12px 22px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s ease, border-color .2s ease;
}
.platform-list a:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

/* contact form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-form label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-grey);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--bg-charcoal);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-white);
    padding: 12px 14px;
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 0.95rem;
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-email { color: var(--accent-red-bright); font-size: 1.1rem; }

@media (max-width: 760px) {
    .contact-layout { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
    background: #101011;
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links { display: flex; gap: 18px; }
.social-links a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.social-links a:hover { border-color: var(--accent-red-bright); color: var(--accent-red-bright); }

.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.footer-legal a:hover { color: var(--text-white); }

.footer-bottom {
    color: var(--text-dim);
    font-size: 0.75rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
}

.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--text-white); }

/* Mobile nav */
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--bg-charcoal);
        transform: translateX(100%);
        transition: transform 0.25s ease;
        padding: 90px 30px 30px;
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0,0,0,0.4);
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav .submenu {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(255,255,255,0.03);
        margin: 6px 0 6px 12px;
        display: none;
    }
    .main-nav li.has-children.open .submenu { display: block; }
    .main-nav a { padding: 10px 0; display: block; }
}
