@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #111111;
    color: #f3f0ea;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea {
    font: inherit;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    padding: 0 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 1000;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.72),
        rgba(0, 0, 0, 0)
    );

    transition:
        background 0.4s ease,
        height 0.4s ease,
        box-shadow 0.4s ease;
}


.site-header.scrolled {
    height: 68px;

    background: rgba(12, 12, 12, 0.94);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);
}


.logo {
    color: #ffffff;

    font-family: "Cormorant Garamond", serif;
    font-size: 1.55rem;
    font-weight: 600;

    letter-spacing: 0.12em;

    white-space: nowrap;

    transition: opacity 0.3s ease;
}


.logo:hover {
    opacity: 0.7;
}


.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}


.main-nav a {
    position: relative;

    color: #ffffff;

    font-size: 0.68rem;
    font-weight: 500;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    transition: color 0.3s ease;
}


.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: #d8b58a;

    transition: width 0.3s ease;
}


.main-nav a:hover {
    color: #d8b58a;
}


.main-nav a:hover::after {
    width: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 680px;

    overflow: hidden;

    background: #090909;
}


.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.58) 0%,
            rgba(0, 0, 0, 0.15) 55%,
            rgba(0, 0, 0, 0.22) 100%
        ),
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.72),
            transparent 45%
        );

    z-index: 1;
}


.hero-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.015);

    animation: heroImageIn 2s ease forwards;
}


@keyframes heroImageIn {

    from {
        opacity: 0;
        transform: scale(1.07);
    }

    to {
        opacity: 1;
        transform: scale(1.015);
    }

}


.hero-overlay {
    position: absolute;

    left: 7vw;
    bottom: 10vh;

    z-index: 2;

    max-width: 750px;

    animation: heroTextIn 1.2s ease 0.35s both;
}


@keyframes heroTextIn {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.hero-label {
    margin-bottom: 0.5rem;

    color: #d8b58a;

    font-size: 0.72rem;
    font-weight: 500;

    letter-spacing: 0.4em;
}


.hero-overlay h1 {
    color: #ffffff;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(4.8rem, 11vw, 10rem);
    font-weight: 500;

    line-height: 0.78;
    letter-spacing: -0.025em;

    text-shadow:
        0 8px 30px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    position: relative;

    padding: 140px 7vw;

    overflow: hidden;
}


.section-inner {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
}


.section-inner-column {
    display: flex;
    flex-direction: column;
}


.section-label {
    margin-bottom: 1rem;

    color: #d8b58a;

    font-size: 0.68rem;
    font-weight: 500;

    letter-spacing: 0.35em;
    text-transform: uppercase;
}


.section h2 {
    margin-bottom: 3.5rem;

    color: #ffffff;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(3.3rem, 6vw, 6rem);
    font-weight: 500;

    line-height: 0.95;
    letter-spacing: -0.02em;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(126, 91, 61, 0.13),
            transparent 35%
        ),
        #171717;
}


.about-section .section-inner {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.8fr)
        minmax(320px, 1fr);

    gap: 9vw;

    align-items: center;
}


.section-image {
    position: relative;

    overflow: hidden;
}


.section-image::after {
    content: "";

    position: absolute;
    inset: 14px;

    border: 1px solid rgba(216, 181, 138, 0.45);

    pointer-events: none;
}


.section-image img {
    width: 100%;
    max-height: 760px;

    object-fit: cover;

    filter: saturate(0.85);

    transition:
        transform 0.8s ease,
        filter 0.8s ease;
}


.section-image:hover img {
    transform: scale(1.035);
    filter: saturate(1);
}


.about-section .section-content h2 {
    margin-bottom: 2rem;
}


.about-section .section-content > p:last-child {
    max-width: 580px;

    color: #bcb8b1;

    font-size: 1rem;
}


/* =========================================================
   SHOWREEL
   ========================================================= */

.showreel-section {
    background: #0d0d0d;
}


.video-placeholder {
    position: relative;

    width: 100%;
    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #303030;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0)
        ),
        #151515;

    overflow: hidden;
}


.video-placeholder iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


.video-placeholder::before,
.video-placeholder::after {
    display: none;
}


.video-placeholder p {
    position: absolute;

    bottom: 30px;

    color: #777;

    font-size: 0.7rem;

    letter-spacing: 0.2em;
    text-transform: uppercase;
}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery-section {
    background: #0c0c0c;
}


.gallery-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}


.gallery-item {
    position: relative;

    aspect-ratio: 3 / 4;

    overflow: hidden;

    background: #181818;

    cursor: pointer;
}


.gallery-item:nth-child(2),
.gallery-item:nth-child(5) {
    aspect-ratio: 4 / 5;
}


.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1),
        filter 0.6s ease;
}


.gallery-item::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.32),
            transparent 40%
        );

    opacity: 0;

    transition: opacity 0.5s ease;

    pointer-events: none;
}


.gallery-item:hover img {
    transform: scale(1.06);

    filter:
        brightness(1.05)
        saturate(1.05);
}


.gallery-item:hover::after {
    opacity: 1;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(125, 87, 53, 0.16),
            transparent 35%
        ),
        #151515;
}


.contact-section > .section-inner > p:not(.section-label) {
    max-width: 650px;

    margin-bottom: 3rem;

    color: #aaa;
}


.contact-details {
    margin-bottom: 5rem;

    padding: 2.5rem 0;

    border-top: 1px solid #363636;
    border-bottom: 1px solid #363636;
}


.contact-details p {
    margin-bottom: 0.7rem;

    color: #999;

    font-size: 0.85rem;
}


.contact-details p:first-child {
    color: #ffffff;

    font-family: "Cormorant Garamond", serif;

    font-size: 1.8rem;
}


.contact-details a {
    color: #d8b58a;

    transition: color 0.3s ease;
}


.contact-details a:hover {
    color: #ffffff;
}


/* =========================================================
   SOCIAL LINKS
   ========================================================= */

.contact-links {
    display: flex;

    flex-wrap: wrap;

    gap: 2rem;
}


.contact-links a {
    position: relative;

    color: #ffffff;

    font-size: 0.7rem;
    font-weight: 500;

    letter-spacing: 0.15em;
    text-transform: uppercase;
}


.contact-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: #d8b58a;

    transition: width 0.3s ease;
}


.contact-links a:hover {
    color: #d8b58a;
}


.contact-links a:hover::after {
    width: 100%;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 2rem 7vw;

    color: #666;

    border-top: 1px solid #292929;

    background: #0a0a0a;

    text-align: center;

    font-size: 0.65rem;

    letter-spacing: 0.08em;
}


/* =========================================================
   FADE IN ANIMATION
   ========================================================= */

.fade-in {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}


.fade-in.is-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 900px) {

    /* -----------------------------------------------------
       HEADER
       ----------------------------------------------------- */

    .site-header {
        height: auto;

        min-height: 70px;

        padding: 15px 5vw;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 10px;

        background: rgba(10, 10, 10, 0.88);

        text-align: center;

        left: 0;
        right: 0;
        width: 100%;
    }


    .site-header.scrolled {
        height: auto;

        padding: 13px 5vw;
    }


    .logo {
        font-size: 1.3rem;
    }


    .main-nav {
        width: 100%;

        justify-content: center;

        align-items: center;

        gap: 1.15rem;

        overflow-x: auto;

        padding: 2px 0 4px;

        scrollbar-width: none;
    }


    .main-nav::-webkit-scrollbar {
        display: none;
    }


    .main-nav a {
        flex: 0 0 auto;

        font-size: 0.6rem;

        letter-spacing: 0.12em;
    }


    /* -----------------------------------------------------
       HERO
       ----------------------------------------------------- */

    .hero {
        height: 90vh;

        min-height: 620px;
    }


    .hero-image {
        object-position: 54% center;
    }


    .hero-overlay {
        left: 6vw;

        bottom: 9vh;
    }


    .hero-overlay h1 {
        font-size: clamp(4rem, 17vw, 7rem);
    }


    /* -----------------------------------------------------
       GENERAL SECTIONS
       ----------------------------------------------------- */

    .section {
        padding: 95px 6vw;
    }


    .section h2 {
        margin-bottom: 2.5rem;

        font-size: clamp(3rem, 13vw, 5rem);
    }


    /* -----------------------------------------------------
       ABOUT
       Tablet: mantener foto + texto lado a lado
       ----------------------------------------------------- */

    .about-section .section-inner {
        display: grid;

        grid-template-columns:
            minmax(0, 0.82fr)
            minmax(0, 1.18fr);

        gap: 5vw;

        align-items: center;
    }


    .section-image {
        width: 100%;
    }


    .section-image img {
        width: 100%;

        max-height: none;

        aspect-ratio: 3 / 4;

        object-fit: cover;
    }


    .section-image::after {
        inset: 8px;
    }


    .about-section .section-content {
        min-width: 0;
    }


    .about-section .section-content h2 {
        margin-bottom: 1.2rem;

        font-size: clamp(2.3rem, 7vw, 3.5rem);
    }


    .about-section .section-content > p:last-child {
        max-width: none;

        font-size: 0.78rem;

        line-height: 1.7;
    }


    /* -----------------------------------------------------
       SHOWREEL
       ----------------------------------------------------- */

    .video-placeholder {
        min-height: 420px;
    }


    /* -----------------------------------------------------
       GALLERY
       4 columnas
       ----------------------------------------------------- */

    .gallery-grid {
        display: grid;

        grid-template-columns: repeat(4, minmax(0, 1fr));

        gap: 8px;
    }


    .gallery-item,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(5) {
        aspect-ratio: 3 / 4;
    }


    /* -----------------------------------------------------
       CONTACT
       ----------------------------------------------------- */

    .contact-links {
        justify-content: center;

        gap: 1.5rem;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 560px) {

    /* -----------------------------------------------------
       HEADER
       ----------------------------------------------------- */

    .site-header {
        padding: 13px 4vw;

        gap: 8px;

        left: 0;
        right: 0;
        width: 100%;
    }


    .logo {
        font-size: 1.15rem;

        letter-spacing: 0.1em;
    }


    .main-nav {
        width: 100%;

        gap: 0.85rem;

        justify-content: center;

        align-items: center;
    }


    .main-nav a {
        font-size: 0.52rem;

        letter-spacing: 0.1em;
    }


    /* -----------------------------------------------------
       HERO
       ----------------------------------------------------- */

    .hero {
        min-height: 600px;
    }


    .hero-image {
        object-position: 54% center;
    }


    .hero-overlay {
        left: 6vw;

        bottom: 8vh;
    }


    .hero-label {
        font-size: 0.62rem;

        letter-spacing: 0.28em;
    }


    .hero-overlay h1 {
        font-size: clamp(3.8rem, 19vw, 6rem);

        line-height: 0.82;
    }


    /* -----------------------------------------------------
       SECTIONS
       ----------------------------------------------------- */

    .section {
        padding: 80px 5vw;
    }


    .section-label {
        font-size: 0.6rem;
    }


    .section h2 {
        font-size: clamp(2.8rem, 15vw, 4.5rem);
    }


    /* -----------------------------------------------------
       ABOUT
       MÓVIL:
       FOTO ARRIBA + TEXTO ABAJO
       ----------------------------------------------------- */

    .about-section .section-inner {
        display: flex;

        flex-direction: column;

        gap: 40px;

        align-items: stretch;
    }


    .about-section .section-image {
        width: 100%;

        max-width: 420px;

        margin: 0 auto;
    }


    .section-image img {
        width: 100%;

        aspect-ratio: 3 / 4;

        object-fit: cover;
    }


    .section-image::after {
        inset: 6px;
    }


    .about-section .section-content {
        width: 100%;

        min-width: 0;
    }


    .about-section .section-content h2 {
        margin-bottom: 1.2rem;

        font-size: clamp(2.2rem, 10vw, 3rem);
    }


    .about-section .section-content p {
        max-width: none;

        color: #bcb8b1;

        font-size: 0.78rem;

        line-height: 1.65;

        margin-bottom: 1.1rem;
    }


    .about-section .section-content > p:last-child {
        max-width: none;

        font-size: 0.78rem;

        line-height: 1.65;
    }


    /* -----------------------------------------------------
       SHOWREEL
       ----------------------------------------------------- */

    .video-placeholder {
        min-height: 250px;
    }


    /* -----------------------------------------------------
       GALLERY
       4 columnas
       ----------------------------------------------------- */

    .gallery-grid {
        display: grid;

        grid-template-columns: repeat(4, minmax(0, 1fr));

        gap: 6px;
    }


    .gallery-item,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(5) {
        aspect-ratio: 3 / 4;
    }


    /* -----------------------------------------------------
       CONTACT
       ----------------------------------------------------- */

    .contact-links {
        flex-direction: row;

        flex-wrap: wrap;

        justify-content: center;

        gap: 1rem;
    }


    .contact-links a {
        font-size: 0.58rem;

        letter-spacing: 0.1em;
    }


    .site-footer {
        padding: 1.7rem 6vw;

        font-size: 0.58rem;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .main-nav {
        gap: 0.65rem;
    }


    .main-nav a {
        font-size: 0.48rem;
    }


    /* -----------------------------------------------------
       ABOUT
       FOTO ARRIBA + TEXTO ABAJO
       ----------------------------------------------------- */

    .about-section .section-inner {
        display: flex;

        flex-direction: column;

        gap: 35px;

        align-items: stretch;
    }


    .about-section .section-image {
        width: 100%;

        max-width: 360px;

        margin: 0 auto;
    }


    .about-section .section-content {
        width: 100%;

        min-width: 0;
    }


    .about-section .section-content h2 {
        font-size: 1.9rem;

        margin-bottom: 1rem;
    }


    .about-section .section-content p {
        font-size: 0.72rem;

        line-height: 1.55;

        margin-bottom: 1rem;
    }


    .about-section .section-content > p:last-child {
        font-size: 0.72rem;

        line-height: 1.55;
    }


    /* -----------------------------------------------------
       GALLERY
       ----------------------------------------------------- */

    .gallery-grid {
        display: grid;

        grid-template-columns: repeat(4, minmax(0, 1fr));

        gap: 5px;
    }

}


/* =========================================================
   CINEMATIC GALLERY LIGHTBOX
   ========================================================= */

.gallery-lightbox {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(5, 5, 5, 0.94);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.45s ease,
        visibility 0.45s ease;
}


.gallery-lightbox.is-open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


.gallery-lightbox-content {
    position: relative;

    width: min(90vw, 1100px);

    height: min(88vh, 850px);

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;
}


.gallery-lightbox-image {
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    opacity: 0;

    transform: scale(0.97);

    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}


.gallery-lightbox-image.lightbox-image-visible {
    opacity: 1;

    transform: scale(1);
}


.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;

    z-index: 2;

    border: 0;

    background: transparent;

    color: #ffffff;

    cursor: pointer;

    font-family: "Cormorant Garamond", serif;

    transition:
        color 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
}


.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    color: #d8b58a;
}


.gallery-lightbox-close {
    top: 24px;

    right: 32px;

    font-family: Arial, sans-serif;

    font-size: 2rem;

    font-weight: 300;

    line-height: 1;

    opacity: 0.8;
}


.gallery-lightbox-close:hover {
    transform: rotate(90deg);
}


.gallery-lightbox-prev,
.gallery-lightbox-next {
    top: 50%;

    transform: translateY(-50%);

    font-size: 4rem;

    font-weight: 300;

    line-height: 1;

    opacity: 0.75;
}


.gallery-lightbox-prev {
    left: 25px;
}


.gallery-lightbox-next {
    right: 25px;
}


.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    transform: translateY(-50%) scale(1.08);
}


.gallery-lightbox-counter {
    position: absolute;

    left: 50%;

    bottom: 24px;

    transform: translateX(-50%);

    color: #999999;

    font-size: 0.65rem;

    font-weight: 500;

    letter-spacing: 0.2em;

    text-transform: uppercase;

    white-space: nowrap;
}


/* Prevent page scrolling while lightbox is open */

body.lightbox-open {
    overflow: hidden;
}


/* =========================================================
   LIGHTBOX — MOBILE
   ========================================================= */

@media (max-width: 560px) {

    .gallery-lightbox {
        padding: 20px;
    }


    .gallery-lightbox-content {
        width: 92vw;

        height: 82vh;
    }


    .gallery-lightbox-image {
        max-width: 92vw;

        max-height: 82vh;
    }


    .gallery-lightbox-close {
        top: 16px;

        right: 18px;

        font-size: 1.8rem;
    }


    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        font-size: 3rem;
    }


    .gallery-lightbox-prev {
        left: 8px;
    }


    .gallery-lightbox-next {
        right: 8px;
    }


    .gallery-lightbox-counter {
        bottom: 16px;

        font-size: 0.58rem;
    }

}


/* =========================================================
   LIGHTBOX — VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .gallery-lightbox-content {
        width: 94vw;

        height: 80vh;
    }


    .gallery-lightbox-image {
        max-width: 94vw;

        max-height: 80vh;
    }


    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        font-size: 2.6rem;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}
