@font-face {
    font-family: 'Bestowens';
    src: url('../fonts/Bestowens.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bestowens';
    src: url('../fonts/Bestowens-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Bestowens';
    src: url('../fonts/Bestowens-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

:root {
    --color-red: #F90017;
    --color-copy: #FFDDA2;
    --color-bg: #00070F;
    --font-heading: 'Bestowens', cursive;
    --font-body: "bodega-serif", serif;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-copy);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.04em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--color-red);
    text-align: center;
    font-weight: bold;
}

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

a:hover {
    opacity: 1;
    color: var(--color-red);
}

/* Header */
header {
    min-height: 110vh;

    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    align-items: center;
    padding: 3rem 0 5rem 0;

    gap: 6rem;

}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;

    background-image: url('../img/img_01.jpg?v=26-03-23');
    background-color: var(--color-bg);

    background-size: 100% auto;

    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
    will-change: transform;
}

.top-meta {
    position: relative;

    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.3rem;
    z-index: 10;
}

.uppercase {
    text-transform: uppercase;
}

.title-container {
    text-align: center;
    z-index: 10;
    padding-top: 10rem;
}

.hero-title {
    font-size: clamp(4rem, 15vw, 8rem);
    pointer-events: none;
    line-height: 0.8;
    padding-top: 8rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    margin-top: 5rem;
}

.header-details {
    position: relative;

    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
    border-top: 1px solid rgba(255, 221, 162, 0.2);
    border-bottom: 1px solid rgba(255, 221, 162, 0.2);
    padding-top: 2rem;
    padding-bottom: 2rem;
    z-index: 9;
}

.detail-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item .label {
    font-size: 1rem;
    text-transform: none;
    opacity: 0.6;
    letter-spacing: 0.1rem;
}

.detail-item .value {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    line-height: 1.2;
}

/* Sections */
section {
    padding: 6rem 10%;
    margin: 0 auto;
    position: relative;
}

#logline {
    margin-top: -10vh;

    z-index: 20;
    position: relative;
}

.centered-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1rem;
}

.synopsis-meta {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-bottom: 5rem;
}

.meta-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.meta-col .label {
    font-size: 0.9rem;
    opacity: 0.6;
    letter-spacing: 0.05rem;
}

.meta-col .value {
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
}

.body-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.bodega-light {
    font-weight: 300;
}

.bodega-medium {
    font-weight: 500;
}

.bodega-black {
    font-weight: 800;
}

/* Section 1: Logline */
#logline .image-container {
    margin-bottom: 4rem;
    margin-top: 4rem;
    text-align: center;
}

#logline img {
    padding: 0 4vw 0 4vw;
    max-width: 800px;
    width: 100%;
}

/* Section 2: Falling Money */
#story-quote {
    min-height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;

}

.money-img {
    position: absolute;
    width: 20vw;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: -1;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.4));
}

.money-left {
    left: 0;
}

.money-right {
    right: 0;
}

#story-quote .quote-text {
    font-size: 2.6rem;
    line-height: 1.5;
    max-width: 800px;
    z-index: 10;
    text-align: center;
}

#story-quote .quote-text p {
    margin-bottom: 6rem;
}

/* Section 3: Wide Image */
#wide-image-section {
    padding: 4vw;
    max-width: none;
}

.wide-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section 5: Triple & Double Images */
.image-row {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center;
}

.image-row img {
    flex: 1;
    width: 100%;
}

.img-composite {
    width: 100%;
    height: auto;
    margin-bottom: 4rem;
}

/* Section Themes */
#themes .image-container {
    margin: 4rem 0;
}

#themes img {
    display: block;
    margin: 0 auto;
    padding: 0 4vw 0 4vw;
    max-width: 800px;
    width: 100%;
}

/* Poster */
#poster-section {
    text-align: center;
}

#poster-section img {
    max-width: 800px;
    width: 100%;
}

/* Footer */
footer {
    padding: 8rem 10%;
    text-align: center;
    border-top: 1px solid rgba(255, 221, 162, 0.05);
}

.credits-title {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.75rem;

    margin-bottom: 2rem;
    letter-spacing: 0.2rem;
    opacity: 0.9;
}

.credits-line {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    opacity: 0.8;
    letter-spacing: 0.05rem;
}

.credits-url {
    font-size: 1.1rem;
    margin-top: 2rem;
    font-weight: 500;
    letter-spacing: 0.15rem;
    opacity: 0.9;
}

.credits-url a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.credits-url a:hover {
    opacity: 1;
    color: var(--color-red);
}

@media (max-width: 768px) {

    header {
        min-height: 130vh;
        overflow: hidden;
    }

    .hero-bg {
        background-size: cover;
        height: 80%;
        background-position: center top;
        top: 0;
    }

    .hero-title {
        font-size: 3.4rem;
    }

    .section-title {
        font-size: 3rem;
    }

    #story-quote .quote-text {
        font-size: 1.4rem;
        padding: 0 1rem;
    }

    .money-img {
        width: 40vw;
        opacity: 0.6;
    }

    .money-left {
        left: -15vw;
    }

    .money-right {
        right: -15vw;
    }

    section {
        padding: 4rem 5%;
    }

    .header-details {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
        border-top: none;
        border-bottom: none;
    }

    .detail-item {
        flex: 1 1 40%;
        border-top: 1px solid rgba(255, 221, 162, 0.1);
        padding-top: 1rem;
    }

    .detail-item:last-child {
        flex-basis: 100%;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
        margin-top: 2rem;
    }

    .synopsis-meta {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .meta-col .label {
        font-size: 0.8rem;
    }

    .meta-col .value {
        font-size: 1rem;
    }
}

/* Back Button */
.back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    color: var(--color-copy);
    padding: 6px 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.back-btn:hover {
    opacity: 1;
}

/* Language Toggle Button */
.lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: #000;
    border: 1px solid var(--color-copy);
    color: var(--color-copy);
    padding: 6px 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.lang-toggle:hover {
    background: var(--color-copy);
    color: #000;
}