/* ==================================================
   RESET
================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img,
video {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* ==================================================
   TOKENS
================================================== */

:root {

    /* Colors */

    --color-background: #F4EFE7;
    --color-surface: #FBF8F3;

    --color-primary: #476B54;

    --color-title: #2E4337;
    --color-text: #2B2B2B;
    --color-text-light: #6F6F6F;

    --color-white: #FFFFFF;

    /* Typography */

    --font-heading: "Arsenal", serif;
    --font-body: "Montserrat", sans-serif;

    /* Layout */

    --container: 1120px;

    /* Radius */

    --radius: 1.5rem;

    /* Motion */

    --transition: .3s ease;

}

/* ==================================================
   BASE
================================================== */

body {

    background: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;

}

main {

    overflow: hidden;

}

.container {

    width: min(calc(100% - 3rem), var(--container));

    margin-inline: auto;

}

/* ==================================================
   TYPOGRAPHY
================================================== */

h1,
h2,
h3 {

    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-title);

}

p {

    color: var(--color-text-light);

}

/* ==================================================
   HERO
================================================== */

.hero {

    background:#FBF8F3;

}

.hero-header {

    padding: 1.25rem 0;
    position: relative;

}

.hero-header .container {

    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo {

    display: inline-flex;

}

.logo img {

    width: auto;
    height: 1.2rem;

}

.menu-toggle {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .35rem;
    width: 2.75rem;
    height: 2.75rem;

}

.menu-toggle span {

    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--color-title);
    border-radius: 999px;
    transition:
        transform .3s ease,
        opacity .3s ease;

}

.menu-toggle.active span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);

}

.menu-toggle.active span:nth-child(2) {

    opacity: 0;

}

.menu-toggle.active span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);

}


.hero-video {

    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #d9d9d9;

}

.hero-content {

    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding:
        clamp(2.5rem, 6vw, 4rem)
        1.5rem
        clamp(4rem, 8vw, 6rem);

}

.hero-location {

    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-text-light);

}

.hero h1 {

    max-width: 90%;
    font-size: clamp(2.3rem, 5vw, 2rem);
    line-height: 1.05;
    letter-spacing: -.03em;

}

.hero-scroll {

    display: inline-flex;
    align-items: center;
    gap: .5rem;
    width: fit-content;
    color: var(--color-primary);
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: opacity var(--transition);

}

.hero-scroll:hover {

    opacity: .7;

}

.nav {

    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .3s ease;

}

.nav a {

    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,.06);

}

.nav.active {

    opacity: 1;
    visibility: visible;
    transform: translateY(0);

}

/* ==================================================
   EXPERIENCE
================================================== */

.experience {
    padding-block: clamp(6rem, 10vw, 8rem);
    background: var(--color-surface);
}

.experience .container {
    max-width: 42rem;
}

.experience-label {
    margin-bottom: 1rem;
    color: var(--color-text-light);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.experience-title {
       max-width: 90%;
    font-size: clamp(2.3rem, 5vw, 2rem);
    line-height: 1.05;
    letter-spacing: -.03em;
    padding-bottom: 3rem;
}

.experience-description {
    margin-bottom: 3rem;
    color: var(--color-text);
    font-size: 1.25rem;
    line-height: 1.8;
}

.experience-list {
    display: grid;
    gap: 1rem;
}

.experience-list li {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(46, 67, 55, .12);
    color: var(--color-title);
    font-size: 1rem;
}

/* ==========================================
   GALLERY
========================================== */

.gallery {

    padding-block: clamp(6rem, 10vw, 8rem);

}

.gallery-label {

    margin-bottom: 1rem;
    color: var(--color-text-light);
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;

}

.gallery-title {

    max-width: 90%;
    font-size: clamp(2.3rem, 5vw, 2rem);
    line-height: 1.05;
    letter-spacing: -.03em;
    padding-bottom: 3rem;

}

.gallery-grid {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;

}

.gallery-item {

    overflow: hidden;
    
}

.gallery-item img {

    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;

}

.gallery-wide {

    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;

}

.gallery-banner {

    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;

}

.gallery-square {

    aspect-ratio: 1 / 1;

}

/* ==================================================
   INSTAGRAM
================================================== */

.instagram {

    padding-block: 6rem;

}

.instagram-label {

    margin-bottom: 1rem;
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-text-light);

}

.instagram-title {

    max-width: 90%;
    margin-bottom: 3rem;
    font-size: clamp(2.3rem, 8vw, 3.5rem);
    line-height: 1.05;

}

.instagram-grid {

    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;

}

.instagram-item {

    overflow: hidden;
    aspect-ratio: 1;

}

.instagram-item img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;

}

.instagram-item:hover img {

    transform: scale(1.04);

}

.instagram-link {

    display: inline-flex;
    margin-top: 2rem;
    color: var(--color-primary);
    font-weight: 600;

}

/* ==================================================
   LOCATION
================================================== */

.location {
    padding-block: clamp(6rem, 10vw, 8rem);
    background-color: #f3f0e9;
}

.location-label {

    margin-bottom: 1rem;
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-text-light);

}

.location-title {

    max-width: 90%;
    margin-bottom: 3rem;
    font-size: clamp(2.3rem, 8vw, 3.5rem);
    line-height: 1.05;

}

.location-media {

    overflow: hidden;
    margin-bottom: 2rem;

}

.location-media img {

    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;

}

.location-text {

    max-width: 34rem;
    margin-bottom: 2rem;
    color: var(--color-text);

}

.location-link {

    display: inline-flex;
    color: var(--color-primary);
    font-weight: 600;

}

/* ==================================================
   CTA
================================================== */

.cta {

    padding-block: clamp(8rem, 14vw, 10rem);
    background: var(--color-primary);
    color: var(--color-white);
    text-align: left;

}

.cta .container {

    max-width: 42rem;

}

.cta-title {

    margin-bottom: 1.5rem;
    color: var(--color-white);
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.05;

}

.cta-text {

    max-width: 34rem;
    margin-bottom: 3rem;
    color: rgba(255,255,255,.8);

}

.cta-actions {

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;

}

.cta-button {

    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 2rem;
    border: 1px solid transparent;
    border-radius: .5rem;
    font-weight: 600;
    transition: all var(--transition);

}

/* Botão primário */

.cta-button-primary {

    background: var(--color-white);
    color: var(--color-primary);

}

.cta-button-primary:hover {

    transform: translateY(-2px);

}

/* Botão secundário */

.cta-button-secondary {

    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, .4);

}

.cta-button-secondary:hover {

    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .6);

}

.cta-button:hover {

    transform: translateY(-2px);

}

.cta-link {

    color: rgba(255,255,255,.9);
    font-weight: 500;

}

.cta-link:hover {

    color: var(--color-white);

}

/* ==================================================
   FOOTER
================================================== */

.footer {

    padding: 3rem 0;
    background: var(--color-title);

}

.footer .container {

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;

}

.footer-logo img {

    height: 5rem;
    width: auto;

}

.footer-copy {

    color: rgba(255,255,255,.55);
    font-size: .8rem;
    text-align: center;

}

/* ==================================================
   TABLET
================================================== */

@media (min-width: 768px) {

    .hero-header {

        padding: 2rem;

    }

    .hero-media {

        padding-inline: 2rem;

    }

    .hero-content {

        padding:
            4rem
            2rem
            6rem;

    }

    .cta-actions {

        flex-direction: row;
        justify-content: center;

    }

    .cta-button {

        min-width: 240px;

    }

}

/* ==================================================
   DESKTOP
================================================== */

@media (min-width: 1024px) {

    .container {

        width: min(calc(100% - 8rem), var(--container));

    }

    .hero-header {

        position: sticky;
        top: 0;
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(46, 67, 55, .08);

    }

    .hero-header .container {

        display: flex;
        justify-content: space-between;
        align-items: center;

    }

    .hero-media {

        padding: 0;
        margin-top: 2rem;

    }

    .hero-video {

        aspect-ratio: 16 / 9;
        width: 100%;
        object-fit: cover;

    }

    .hero-content {

        max-width: 48rem;
        padding: 5rem 0 7rem;

    }

    .menu-toggle {

        display: none;

    }

    .nav {

        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2.5rem;
        position: static;
        width: auto;
        height: 0.5rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;

    }

    .nav a {

        width: auto;
        padding: 0;
        border: 0;

    }

    .gallery .container {
        max-width: 72rem;
    }

    .gallery-title {
        max-width: 60rem;
        font-size: clamp(2.5rem, 3vw, 3.5rem);
        line-height: 1.05;
        letter-spacing: -.03em;
        
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .gallery-item {
        aspect-ratio: 16 / 10;
        overflow: hidden;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .4s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.03);
    }

    .gallery-wide {
        grid-column: auto;
    }

    .gallery-banner {
        grid-column: auto;
    }

   
    .experience .container {
        max-width: 78rem;
    }

    .experience-title {
        max-width: 60rem;
        font-size: clamp(2.5rem, 3vw, 3.5rem);
        line-height: 1.05;
        letter-spacing: -.03em;
        
    }

    .experience-list {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem 2rem;
        margin-top: 3rem;
        padding: 0;
        list-style: none;
    }

    .experience-item{

        display:flex;
        align-items:center;
        padding:.8rem 1.2rem;
        border:1px solid rgba(46,67,55,.12);
        border-radius:999px;
        background:#FBF8F3;

    }

    .experience-item::before {
        content: "";
        width: .5rem;
        height: .5rem;
        border-radius: 50%;
        background: var(--color-primary);
        flex-shrink: 0;
    }

    .instagram-title {
        max-width: 40rem;
        font-size: clamp(2.5rem, 3vw, 3.5rem);
        line-height: 1.05;
        letter-spacing: -.03em;
        margin-bottom: 4rem;
    }

    .instagram .container {
        max-width: 72rem;
    }

    .instagram-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .instagram-item {
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-radius: 1rem;
    }

    .instagram-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .4s ease;
    }

    .instagram-item:hover img {
        transform: scale(1.03);
    }

    .location .container{

        display:grid;
        grid-template-columns:1fr 1fr;
        align-items:center;
        gap:5rem;
        max-width:72rem;

    }

    .location-image{

        aspect-ratio:16/9;
        overflow:hidden;
        border-radius:1rem;

}

    .location-image img{

        width:100%;
        height:100%;
        object-fit:cover;
        display:block;

    }

    .location-content{

        display:flex;
        flex-direction:column;
        align-items:flex-start;

    }

    .location-title{

        max-width:22rem;
        margin-bottom:1.5rem;
        font-size: clamp(2.5rem, 3vw, 3.5rem);

    }

    .location-text{

        margin-bottom:2rem;
    }

    .cta-title {
        max-width: 40rem;
        font-size: clamp(2.5rem, 3vw, 3.5rem);
        line-height: 1.05;
    }



}





