/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #292929;
    background: #ffffff;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   VARIABLES
========================================= */

:root {
    --black: #222222;
    --dark-gray: #444444;
    --gray: #777777;
    --light-gray: #eeeeee;
    --very-light: #f7f7f6;
    --white: #ffffff;

    --max-width: 1280px;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 20;
    color: white;
}

.nav-container {
    max-width: var(--max-width);
    margin: auto;
    padding: 28px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.logo span {
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    font-size: 13px;
    font-weight: 400;
    opacity: .9;
    transition: .3s;
}

.nav-menu a:hover {
    opacity: .6;
}

.nav-button {
    border: 1px solid rgba(255,255,255,.6);
    padding: 10px 20px;
    border-radius: 30px;

    font-size: 12px;

    transition: .3s;
}

.nav-button:hover {
    background: white;
    color: #222;
}


/* =========================================
   HERO
========================================= */

.hero {
    height: 100vh;
    min-height: 650px;
    position: relative;
    background-image: url("images/hero.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.48),
            rgba(0,0,0,.12),
            rgba(0,0,0,.08)
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: var(--max-width);
    width: 100%;

    margin: auto;
    padding: 40px;
    color: white;
}

.hero-small {
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 25px;
    opacity: .85;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 92px);
    line-height: .98;
    font-weight: 300;
    letter-spacing: -4px;
}

.hero h1 span {
    font-weight: 600;
}

.hero-description {
    max-width: 480px;
    margin-top: 30px;

    font-size: 16px;
    font-weight: 300;

    opacity: .9;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 35px;
}

.button {
    display: inline-block;

    padding: 14px 24px;

    border-radius: 30px;

    font-size: 13px;

    transition: .3s;
}

.button.primary {
    background: white;
    color: #222;
}

.button.primary:hover {
    transform: translateY(-2px);
}

.button.secondary {
    border: 1px solid rgba(255,255,255,.6);
    color: white;
}

.button.secondary:hover {
    background: rgba(255,255,255,.15);
}

.scroll-indicator {
    position: absolute;
    bottom: 35px;
    right: 45px;

    color: white;

    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;

    display: flex;
    align-items: center;
    gap: 10px;

    z-index: 2;
}

.scroll-indicator span {
    width: 35px;
    height: 1px;
    background: white;
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section-container {
    max-width: var(--max-width);
    margin: auto;
    padding: 120px 40px;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 600;
    color: #888;
    margin-bottom: 20px;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 60px;
}

.section-heading h2,
.intro h2,
.food h2,
.stay h2 {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: 300;
}

.section-heading p:last-child {
    color: #777;
    margin-top: 20px;
    max-width: 500px;
}


/* =========================================
   INTRO
========================================= */

.intro {
    background: #fff;
}

.intro .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.intro-text > p:not(.eyebrow) {
    max-width: 520px;
    color: #777;
    margin-top: 25px;
}

.intro-text strong {
    color: #333;
    font-weight: 600;
}

.intro-image {
    height: 650px;
}

.intro-image img {
    height: 100%;
}


/* =========================================
   CATEGORIES
========================================= */

.categories {
    background: var(--very-light);
    padding: 120px 40px;
}

.categories .section-heading {
    max-width: var(--max-width);
    margin: 0 auto 60px;
}

.category-grid {
    max-width: var(--max-width);
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.category-card {
    height: 390px;

    position: relative;
    overflow: hidden;

    color: white;

    background: #ddd;
}

.category-card.large {
    grid-row: span 2;
    height: 795px;
}

.category-card img {
    width: 100%;
    height: 100%;

    transition: transform .7s;
}

.category-card:hover img {
    transform: scale(1.04);
}

.category-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            transparent 30%,
            rgba(0,0,0,.65)
        );
}

.card-content {
    position: absolute;
    z-index: 2;

    left: 30px;
    right: 30px;
    bottom: 30px;
}

.card-content span {
    font-size: 10px;
    letter-spacing: 2px;
    opacity: .75;
}

.card-content h3 {
    font-size: 32px;
    font-weight: 400;
    margin: 5px 0;
}

.card-content p {
    font-size: 13px;
    opacity: .8;
}


/* =========================================
   QUOTE
========================================= */

.quote {
    height: 650px;

    position: relative;

    background-image: url("images/atardecer.jpg");
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;
}

.quote-background {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.25);
}

.quote-content {
    position: relative;
    z-index: 2;
}

.quote-content p {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1;
    font-weight: 300;
    letter-spacing: -3px;
}

.quote-content span {
    display: block;
    margin-top: 30px;

    font-size: 10px;
    letter-spacing: 4px;
}


/* =========================================
   ACTIVITIES
========================================= */

.activities {
    background: white;
}

.section-heading.left {
    margin-bottom: 40px;
}

.activity-list {
    border-top: 1px solid #ddd;
}

.activity-item {
    padding: 30px 0;

    border-bottom: 1px solid #ddd;

    display: grid;
    grid-template-columns: 80px 1fr 50px;
    align-items: center;

    transition: .3s;
}

.activity-item:hover {
    padding-left: 10px;
}

.activity-number {
    font-size: 11px;
    color: #999;
}

.activity-item h3 {
    font-size: 22px;
    font-weight: 500;
}

.activity-item p {
    color: #888;
    font-size: 13px;
    margin-top: 5px;
}

.arrow {
    font-size: 24px;
    color: #888;
}


/* =========================================
   FOOD
========================================= */

.food {
    display: grid;
    grid-template-columns: 1fr 1fr;

    background: var(--very-light);
}

.food-image {
    min-height: 650px;
}

.food-image img {
    height: 100%;
}

.food-content {
    padding: 100px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.food-content p:not(.eyebrow) {
    max-width: 430px;

    color: #777;

    margin-top: 25px;
}

.text-button {
    margin-top: 35px;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================
   STAY
========================================= */

.stay {
    background: white;
}

.stay .section-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;
}

.big-button {
    min-width: 260px;

    border: 1px solid #ccc;

    padding: 22px 25px;

    display: flex;
    justify-content: space-between;

    font-size: 14px;

    transition: .3s;
}

.big-button:hover {
    background: #222;
    color: white;
    border-color: #222;
}


/* =========================================
   CTA
========================================= */

.cta {
    background: #f1f1ef;

    text-align: center;

    padding: 140px 30px;
}

.cta-content {
    max-width: 650px;
    margin: auto;
}

.cta h2 {
    font-size: clamp(45px, 6vw, 72px);
    font-weight: 300;
    letter-spacing: -3px;
    line-height: 1;
}

.cta p:not(.eyebrow) {
    color: #777;
    margin: 25px auto 35px;
    max-width: 430px;
}

.cta .button.primary {
    background: #222;
    color: white;
}


/* =========================================
   FOOTER
========================================= */

footer {
    background: #222;
    color: white;

    padding: 80px 40px 25px;
}

.footer-container {
    max-width: var(--max-width);
    margin: auto;

    display: flex;
    justify-content: space-between;

    padding-bottom: 80px;
}

.footer-brand p {
    margin-top: 20px;

    color: #999;

    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 100px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    font-size: 12px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #999;
    font-size: 12px;

    transition: .3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: auto;

    border-top: 1px solid #444;

    padding-top: 20px;

    display: flex;
    justify-content: space-between;

    color: #777;
    font-size: 10px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .nav-menu {
        display: none;
    }

    .nav-container {
        padding: 25px 20px;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .section-container {
        padding: 80px 20px;
    }

    .intro .section-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .intro-image {
        height: 450px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .category-card.large {
        grid-row: span 1;
        height: 450px;
    }

    .food {
        grid-template-columns: 1fr;
    }

    .food-image {
        min-height: 450px;
    }

    .food-content {
        padding: 70px 30px;
    }

    .stay .section-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-container {
        flex-direction: column;
        gap: 60px;
    }
}


@media (max-width: 600px) {

    .nav-button {
        display: none;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card,
    .category-card.large {
        height: 400px;
    }

    .quote {
        height: 500px;
    }

    .quote-content p {
        font-size: 46px;
    }

    .activity-item {
        grid-template-columns: 45px 1fr 30px;
    }

    .activity-item h3 {
        font-size: 18px;
    }

    .footer-links {
        gap: 50px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}