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

:root {
    --text: #1a1a1a;
    --text-light: #555;
    --bg: #fafafa;
    --bg-alt: #f0efed;
    --accent: #2a2a2a;
    --border: #e0ddd8;
    --max-w: 1100px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

/* ---- NAV ---- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.nav-scrolled {
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 1px 0 var(--border);
}

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

.nav-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: white;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.nav-scrolled .nav-name {
    color: var(--text);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-right a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-scrolled .nav-right a {
    color: var(--text-light);
}

.nav-right a:hover {
    color: white;
}

.nav-scrolled .nav-right a:hover {
    color: var(--text);
}

.lang-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.85);
    padding: 4px 12px;
    font-size: 12px;
    font-family: inherit;
    font-weight: 400;
    letter-spacing: 0.06em;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-scrolled .lang-toggle {
    border-color: var(--border);
    color: var(--text-light);
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-scrolled .lang-toggle:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ---- HERO ---- */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background: url('assets/images/hero.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.05) 40%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 48px 72px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: clamp(40px, 7vw, 72px);
    color: white;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: clamp(14px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 12px;
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---- SECTIONS ---- */

.section {
    padding: 100px 0;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 32px;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

/* ---- ABOUT ---- */

.about {
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: start;
}

.about-photo img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(15%);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 16px;
}

.about-langs {
    font-size: 14px !important;
    font-weight: 400;
    color: var(--text) !important;
    letter-spacing: 0.02em;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

/* ---- FILMS ---- */

.films {
    background: var(--bg-alt);
}

.films-list {
    display: flex;
    flex-direction: column;
}

.film-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: padding-left 0.3s ease;
}

.film-card:first-child {
    border-top: 1px solid var(--border);
}

.film-card:hover {
    padding-left: 12px;
}

.film-year {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    min-width: 48px;
    letter-spacing: 0.02em;
}

.film-info {
    flex: 1;
}

.film-info h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 4px;
}

.film-info p {
    font-size: 14px;
    color: var(--text-light);
}

.film-arrow {
    font-size: 20px;
    color: var(--text-light);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.film-card:hover .film-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ---- AWARDS ---- */

.awards {
    background: var(--bg);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.award-group h3 {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
    color: var(--text);
}

.award-group ul {
    list-style: none;
}

.award-group li {
    font-size: 15px;
    color: var(--text-light);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.award-group li:last-child {
    border-bottom: none;
}

/* ---- CONTACT ---- */

.contact {
    background: var(--accent);
    color: white;
    text-align: center;
}

.contact h2 {
    color: white;
}

.contact-content {
    max-width: 500px;
}

.contact-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-links a:hover {
    color: white;
}

.contact-links > a {
    display: block;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.contact-social {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 32px;
}

.contact-social a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 400;
}

/* ---- FOOTER ---- */

.footer {
    background: var(--accent);
    color: rgba(255, 255, 255, 0.4);
    padding: 24px 0;
    font-size: 13px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- BURGER ---- */

.nav-actions {
    display: none;
    align-items: center;
    gap: 16px;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 28px;
    height: 28px;
}

.burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: white;
    transition: all 0.3s;
}

.nav-scrolled .burger span {
    background: var(--text);
}

.nav-open .burger span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-open .burger span:nth-child(2) {
    opacity: 0;
}

.nav-open .burger span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

.lang-toggle-desktop {
    display: inline-block;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 768px) {
    .nav-actions {
        display: flex;
    }

    .nav-actions .lang-toggle {
        display: inline-block;
    }

    .lang-toggle-desktop {
        display: none;
    }

    .burger {
        display: flex;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--accent);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 0;
        transition: right 0.3s ease;
    }

    .nav-open .nav-right {
        right: 0;
    }

    .nav-right a {
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 16px;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        text-transform: none;
        letter-spacing: 0.02em;
    }

    .nav-right a:hover {
        color: white !important;
    }

    .hero-content {
        padding: 0 24px 48px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-photo img {
        max-width: 280px;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .section {
        padding: 72px 0;
    }

    .film-card {
        gap: 16px;
    }

    .film-arrow {
        display: none;
    }
}
