/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #111;
    color: #f5f2ed;
    font-family: 'Montserrat', sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   HEADER
========================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 85px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 5%;

    z-index: 1000;

    background: rgba(15,15,15,.75);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.logo {

    display: flex;

    flex-direction: column;

    font-size: 11px;

    letter-spacing: 4px;
}

.logo strong {

    font-family: 'Cormorant Garamond';

    font-size: 25px;

    letter-spacing: 2px;

}

.header nav {

    display: flex;

    gap: 40px;

}

.header nav a {

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 2px;

    opacity: .8;

    transition: .3s;

}

.header nav a:hover {

    opacity: 1;

}

.menu-btn {

    display: none;

    background: none;

    border: 0;

    color: white;

    font-size: 25px;

}


/* =========================
   HERO
========================= */

.hero {

    height: 100vh;

    min-height: 650px;

    position: relative;

    overflow: hidden;

}

.hero img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.75),
            rgba(0,0,0,.15)
        );

}

.hero-content {

    position: absolute;

    left: 8%;

    top: 50%;

    transform: translateY(-50%);

    max-width: 600px;

}

.eyebrow {

    font-size: 11px;

    letter-spacing: 4px;

    text-transform: uppercase;

    color: #aaa;

}

.hero h1 {

    font-family: 'Cormorant Garamond';

    font-size: clamp(65px, 8vw, 125px);

    line-height: .85;

    font-weight: 400;

    margin: 25px 0;

}

.hero h1 em {

    font-weight: 400;

}

.hero-content p {

    max-width: 450px;

    line-height: 1.8;

    color: #ccc;

}

.hero-btn {

    display: inline-block;

    margin-top: 35px;

    padding: 15px 30px;

    border: 1px solid #fff;

    text-transform: uppercase;

    font-size: 10px;

    letter-spacing: 2px;

    transition: .3s;

}

.hero-btn:hover {

    background: #fff;

    color: #111;

}


/* =========================
   COLEÇÕES
========================= */

.collection {

    padding: 120px 6% 60px;

}

.collection-header {

    display: flex;

    align-items: end;

    justify-content: space-between;

    margin-bottom: 45px;

}

.collection-header h2 {

    font-family: 'Cormorant Garamond';

    font-size: 65px;

    font-weight: 400;

}

.collection-header p {

    color: #888;

    max-width: 350px;

    line-height: 1.7;

}


/* =========================
   GALERIA
========================= */

.gallery {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

}


/* obras */

.art-card {

    position: relative;

    cursor: pointer;

    overflow: hidden;

    background: #181818;

}


/* proporção */

.art-card:nth-child(3n) {

    grid-row: span 2;

}

.art-card img {

    width: 100%;

    height: 100%;

    min-height: 280px;

    object-fit: cover;

    transition: transform .8s cubic-bezier(.2,.8,.2,1);

}

.art-card:hover img {

    transform: scale(1.07);

}

.art-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: end;

    padding: 25px;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,.8)
        );

    opacity: 0;

    transition: .4s;

}

.art-card:hover .art-overlay {

    opacity: 1;

}

.art-overlay h3 {

    font-family: 'Cormorant Garamond';

    font-size: 28px;

    font-weight: 400;

}

.art-overlay span {

    font-size: 9px;

    letter-spacing: 2px;

    color: #aaa;

    text-transform: uppercase;

}


/* =========================
   SOBRE
========================= */

.sobre {

    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 700px;

    margin-top: 100px;

}

.sobre-imagem img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.sobre-texto {

    padding: 10%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: #181818;

}

.sobre-texto h2 {

    font-family: 'Cormorant Garamond';

    font-size: 70px;

    font-weight: 400;

    line-height: .95;

    margin: 25px 0;

}

.sobre-texto p {

    max-width: 500px;

    line-height: 1.9;

    color: #aaa;

    margin-bottom: 20px;

}


/* =========================
   CONTATO
========================= */

.contato {

    min-height: 500px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 80px 20px;

}

.contato h2 {

    font-family: 'Cormorant Garamond';

    font-size: 65px;

    font-weight: 400;

    margin: 20px 0;

}

.contato p {

    color: #999;

    max-width: 500px;

    line-height: 1.8;

    margin: auto;

}

.contact-btn {

    display: inline-block;

    margin-top: 30px;

    padding: 16px 35px;

    background: #f5f2ed;

    color: #111;

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;

    transition: .3s;

}

.contact-btn:hover {

    transform: translateY(-3px);

}


/* =========================
   MODAL
========================= */

.modal {

    position: fixed;

    inset: 0;

    z-index: 3000;

    background: rgba(0,0,0,.94);

    display: none;

    align-items: center;

    justify-content: center;

    padding: 5%;

}

.modal.active {

    display: flex;

}

.modal-content {

    width: min(1200px, 95vw);

    max-height: 90vh;

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    background: #181818;

}

.modal-image {

    height: 80vh;

}

.modal-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    background: #0b0b0b;

}

.modal-info {

    padding: 60px;

    overflow-y: auto;

}

.modal-colecao {

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 3px;

    color: #888;

}

.modal-info h2 {

    font-family: 'Cormorant Garamond';

    font-size: 55px;

    font-weight: 400;

    line-height: 1;

    margin: 20px 0 40px;

}

.obra-detalhes {

    border-top: 1px solid #333;

    border-bottom: 1px solid #333;

    padding: 20px 0;

}

.obra-detalhes p {

    display: flex;

    justify-content: space-between;

    margin: 12px 0;

    font-size: 11px;

}

.obra-detalhes span {

    color: #777;

}

.obra-detalhes strong {

    font-weight: 400;

}

.descricao {

    margin-top: 35px;

}

.descricao h3 {

    font-family: 'Cormorant Garamond';

    font-size: 25px;

    font-weight: 400;

    margin-bottom: 15px;

}

.descricao p {

    color: #999;

    font-size: 13px;

    line-height: 1.8;

}


/* botões */

.modal-close,
.modal-prev,
.modal-next {

    position: absolute;

    background: none;

    border: 0;

    color: white;

    cursor: pointer;

    z-index: 10;

}

.modal-close {

    top: 25px;

    right: 35px;

    font-size: 40px;

}

.modal-prev,
.modal-next {

    top: 50%;

    transform: translateY(-50%);

    font-size: 55px;

}

.modal-prev {

    left: 20px;

}

.modal-next {

    right: 20px;

}


/* =========================
   FOOTER
========================= */

footer {

    border-top: 1px solid #222;

    padding: 30px 6%;

    display: flex;

    justify-content: space-between;

    color: #555;

    font-size: 10px;

}


/* =========================
   RESPONSIVO
========================= */

@media(max-width: 900px) {

    .header nav {

        display: none;

    }

    .menu-btn {

        display: block;

    }

    .gallery {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .sobre {

        grid-template-columns: 1fr;

    }

    .sobre-imagem {

        height: 500px;

    }

    .modal-content {

        grid-template-columns: 1fr;

        overflow-y: auto;

        max-height: 90vh;

    }

    .modal-image {

        height: 50vh;

    }

    .modal-info {

        padding: 35px;

    }

}


@media(max-width: 600px) {

    .hero-content {

        left: 7%;

        right: 7%;

    }

    .hero h1 {

        font-size: 70px;

    }

    .collection {

        padding: 80px 5% 30px;

    }

    .collection-header {

        display: block;

    }

    .collection-header h2 {

        font-size: 50px;

        margin-bottom: 15px;

    }

    .gallery {

        grid-template-columns: 1fr;

    }

    .art-card:nth-child(3n) {

        grid-row: auto;

    }

    .art-card img {

        height: 400px;

    }

    .sobre-texto h2 {

        font-size: 55px;

    }

    .contato h2 {

        font-size: 50px;

    }

    footer {

        display: block;

        text-align: center;

    }

    footer p {

        margin: 10px;

    }

}