/*==================================================
    RESET
==================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/*==================================================
    VARIABLES
==================================================*/

:root {

    --primary: #173b3f;
    --primary-dark: #102d30;

    --secondary: #b79b68;

    --text: #252525;
    --text-light: #666;

    --light: #f5f3ef;

    --white: #ffffff;

    --border: #e5e5e5;

    --shadow:
        0 15px 40px rgba(0, 0, 0, 0.08);

}


/*==================================================
    GENERAL
==================================================*/

.container {
    width: min(1180px, 90%);
    margin: auto;
}

section {
    position: relative;
}

.section-label,
.section-title span {
    display: block;

    color: var(--secondary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 14px;
}

.section-title {
    text-align: center;

    max-width: 760px;

    margin: 0 auto 55px;
}

.section-title h2 {

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: clamp(38px, 5vw, 58px);

    font-weight: 500;

    line-height: 1.05;

    margin-bottom: 18px;

    color: var(--primary);

}

.section-title p {

    color: var(--text-light);

    max-width: 650px;

    margin: auto;

}


/*==================================================
    BUTTONS
==================================================*/

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding: 0 28px;

    background: var(--primary);

    color: white;

    border: 1px solid var(--primary);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition:
        .3s ease;

}

.btn:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);

}

.btn-outline {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding: 0 28px;

    color: white;

    border: 1px solid rgba(255,255,255,.7);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition:
        .3s ease;

}

.btn-outline:hover {

    background: white;

    color: var(--primary);

}


/*==================================================
    HEADER
==================================================*/

.header {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    color: white;

    padding: 25px 0;

}

.header-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.logo {

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 27px;

    font-weight: 600;

    letter-spacing: 3px;

}

.nav {

    display: flex;

    align-items: center;

    gap: 28px;

}

.nav a {

    font-size: 11px;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition:
        .3s ease;

}

.nav a:hover {

    color: var(--secondary);

}

.nav .nav-button {

    padding: 13px 18px;

    border: 1px solid rgba(255,255,255,.7);

}

.nav .nav-button:hover {

    color: var(--primary);

    background: white;

}

.menu-toggle {

    display: none;

    background: none;

    border: none;

    width: 35px;

}

.menu-toggle span {

    display: block;

    width: 100%;

    height: 2px;

    background: white;

    margin: 6px 0;

}


/*==================================================
    HERO
==================================================*/

.hero {

    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    background-image:
        url("../assets/img/hero.png");

    background-size: cover;

    background-position: center;

    color: white;

}

.hero .overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.68),
            rgba(0,0,0,.35),
            rgba(0,0,0,.18)
        );

}

.hero-content {

    position: relative;

    z-index: 2;

    width: min(1180px, 90%);

    margin: auto;

    padding-top: 80px;

}

.hero .subtitle {

    display: block;

    font-size: 12px;

    letter-spacing: 4px;

    font-weight: 600;

    color: var(--secondary);

    margin-bottom: 15px;

}

.hero h1 {

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: clamp(70px, 11vw, 145px);

    line-height: .85;

    font-weight: 500;

    margin-bottom: 28px;

}

.hero p {

    max-width: 620px;

    font-size: 15px;

    line-height: 1.9;

    color: rgba(255,255,255,.88);

    margin-bottom: 35px;

}

.hero-buttons {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

}

.hero-data {

    display: flex;

    flex-wrap: wrap;

    gap: 0;

    margin-top: 65px;

    border-top: 1px solid rgba(255,255,255,.35);

    padding-top: 25px;

    max-width: 760px;

}

.hero-data div {

    min-width: 145px;

    padding-right: 35px;

    margin-right: 35px;

    border-right:
        1px solid rgba(255,255,255,.3);

}

.hero-data div:last-child {

    border-right: none;

}

.hero-data strong {

    display: block;

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 32px;

    font-weight: 500;

}

.hero-data span {

    display: block;

    margin-top: 2px;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    opacity: .75;

}


/*==================================================
    ABOUT
==================================================*/

.about-project {

    padding: 120px 0;

    background: var(--light);

}

.about-container {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;

}

.about-image {

    position: relative;

}

.about-image::after {

    content: "";

    position: absolute;

    width: 80%;

    height: 80%;

    border: 1px solid var(--secondary);

    right: -25px;

    bottom: -25px;

    z-index: 0;

}

.about-image img {

    position: relative;

    z-index: 1;

    height: 620px;

    object-fit: cover;

}

.about-content h2 {

    font-family:
        'Cormorant Garamond',
        serif;

    color: var(--primary);

    font-size: clamp(42px, 5vw, 65px);

    font-weight: 500;

    line-height: 1;

    margin-bottom: 25px;

}

.about-content p {

    color: var(--text-light);

    font-size: 14px;

    line-height: 1.9;

    margin-bottom: 18px;

}

.about-content .btn {

    margin-top: 15px;

}


/*==================================================
    FEATURES
==================================================*/

.features-section {

    padding: 120px 0;

    background: white;

}

.features-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 1px;

    background: var(--border);

    border: 1px solid var(--border);

}

.feature-item {

    min-height: 150px;

    background: white;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 25px;

    transition:
        .3s ease;

}

.feature-item:hover {

    background: var(--light);

    transform: translateY(-3px);

}

.feature-item i {

    color: var(--secondary);

    font-size: 24px;

    margin-bottom: 14px;

}

.feature-item span {

    font-size: 12px;

    font-weight: 600;

    letter-spacing: .5px;

    color: var(--primary);

}


/*==================================================
    AMENITIES
==================================================*/

.amenities-section {

    padding: 120px 0;

    background: var(--primary);

    color: white;

}

.amenities-section .section-title h2 {

    color: white;

}

.amenities-section .section-title p {

    color: rgba(255,255,255,.7);

}

.benefits-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}

.benefit-card {

    padding: 35px 25px;

    border:
        1px solid rgba(255,255,255,.15);

    text-align: center;

    transition:
        .3s ease;

}

.benefit-card:hover {

    background:
        rgba(255,255,255,.05);

    border-color:
        rgba(255,255,255,.35);

    transform: translateY(-5px);

}

.benefit-icon {

    width: 65px;

    height: 65px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid var(--secondary);

    color: var(--secondary);

    border-radius: 50%;

}

.benefit-icon i {

    font-size: 21px;

}

.benefit-card h3 {

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 27px;

    font-weight: 500;

    margin-bottom: 10px;

}

.benefit-card p {

    font-size: 12px;

    line-height: 1.7;

    color:
        rgba(255,255,255,.65);

}


/*==================================================
    SPACES / DISTRIBUTION
==================================================*/

.benefits {

    padding: 120px 0;

    background: var(--light);

}

.benefits .features-grid {

    max-width: 1000px;

    margin: auto;

}


/*==================================================
    GALLERY
==================================================*/

.gallery {

    padding: 120px 0;

    background: white;

}

.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    grid-auto-rows: 250px;

    gap: 15px;

}

.gallery-item {

    overflow: hidden;

    position: relative;

}

.gallery-item.large {

    grid-column:
        span 2;

    grid-row:
        span 2;

}

.gallery-item img {

    height: 100%;

    object-fit: cover;

    transition:
        transform .6s ease;

}

.gallery-item:hover img {

    transform: scale(1.05);

}


/*==================================================
    INVESTMENT
==================================================*/

.spaces {

    padding: 120px 0;

    background: var(--light);

}

.spaces-grid {

    max-width: 900px;

    margin: auto;

}

.space-card {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    background: white;

    box-shadow: var(--shadow);

}

.space-card > img {

    height: 100%;

    min-height: 550px;

    object-fit: cover;

}

.space-content {

    padding: 55px 45px;

}

.space-content h3 {

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 42px;

    font-weight: 500;

    color: var(--primary);

    line-height: 1;

    margin-bottom: 20px;

}

.space-content p {

    font-size: 13px;

    line-height: 1.8;

    color: var(--text-light);

    margin-bottom: 25px;

}

.space-content ul {

    list-style: none;

    margin-bottom: 30px;

}

.space-content li {

    font-size: 12px;

    color: var(--text);

    padding: 8px 0;

    border-bottom:
        1px solid var(--border);

}

.space-content li::before {

    content: "✓";

    color: var(--secondary);

    margin-right: 10px;

}

.price {

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 34px;

    color: var(--primary);

    margin-bottom: 25px;

}


/*==================================================
    MODAL
==================================================*/

.modal {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    background:
        rgba(0,0,0,.75);

    opacity: 0;

    visibility: hidden;

    transition:
        .3s ease;

}

.modal.active {

    opacity: 1;

    visibility: visible;

}

.modal-content {

    width: min(570px, 100%);

    max-height: 90vh;

    overflow-y: auto;

    background: white;

    padding: 45px;

    position: relative;

    transform:
        translateY(25px);

    transition:
        .3s ease;

}

.modal.active .modal-content {

    transform:
        translateY(0);

}

.close-modal {

    position: absolute;

    right: 20px;

    top: 15px;

    width: 40px;

    height: 40px;

    background: none;

    border: none;

    font-size: 30px;

    color: var(--primary);

}

.modal-header {

    margin-bottom: 30px;

}

.modal-header span {

    display: block;

    color: var(--secondary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 8px;

}

.modal-header h2 {

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 42px;

    color: var(--primary);

    line-height: 1;

    margin-bottom: 12px;

}

.modal-header p {

    font-size: 13px;

    color: var(--text-light);

}


/*==================================================
    FORM
==================================================*/

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 14px;

}

.contact-form input,
.contact-form select,
.contact-form textarea {

    width: 100%;

    border:
        1px solid var(--border);

    background: white;

    padding: 14px 15px;

    outline: none;

    font-size: 13px;

    color: var(--text);

    transition:
        border .3s ease;

}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {

    border-color:
        var(--secondary);

}

.contact-form input[readonly] {

    background:
        #f6f6f6;

    color: #777;

}

.contact-form textarea {

    min-height: 110px;

    resize: vertical;

}

#creditFields {

    display: none;

    flex-direction: column;

    gap: 14px;

}

#creditFields.active {

    display: flex;

}

#otherCredit {

    display: none;

}


/*==================================================
    CHECKBOX
==================================================*/

.form-check {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    font-size: 11px;

    line-height: 1.5;

    color: var(--text-light);

    margin: 5px 0;

}

.form-check input {

    width: 16px;

    height: 16px;

    flex-shrink: 0;

    margin-top: 1px;

}


/*==================================================
    SCROLLBAR
==================================================*/

.modal-content::-webkit-scrollbar {

    width: 5px;

}

.modal-content::-webkit-scrollbar-thumb {

    background:
        var(--secondary);

}


/*==================================================
    ANIMATIONS
==================================================*/

.hero-content,
.about-content,
.about-image,
.feature-item,
.benefit-card,
.space-card {

    will-change: transform, opacity;

}


/*==================================================
    TABLET
==================================================*/

@media (max-width: 1000px) {

    .nav {

        gap: 15px;

    }

    .nav a {

        font-size: 9px;

    }

    .features-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .benefits-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .gallery-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/*==================================================
    MOBILE
==================================================*/

@media (max-width: 768px) {

    .container {

        width: 90%;

    }

    .header {

        padding: 20px 0;

    }

    .nav {

        display: none;

        position: absolute;

        top: 80px;

        left: 5%;

        width: 90%;

        background:
            rgba(16,45,48,.98);

        padding: 25px;

        flex-direction: column;

        align-items: stretch;

        gap: 18px;

    }

    .nav.active {

        display: flex;

    }

    .nav .nav-button {

        text-align: center;

    }

    .menu-toggle {

        display: block;

    }

    .hero {

        min-height: 850px;

        background-position:
            60% center;

    }

    .hero-content {

        padding-top: 110px;

    }

    .hero h1 {

        font-size: 75px;

    }

    .hero p {

        font-size: 13px;

    }

    .hero-data {

        margin-top: 45px;

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 20px;

    }

    .hero-data div {

        border: none;

        margin: 0;

        padding: 0;

    }

    .about-project,
    .features-section,
    .amenities-section,
    .benefits,
    .gallery,
    .spaces {

        padding: 85px 0;

    }

    .about-container {

        grid-template-columns: 1fr;

        gap: 55px;

    }

    .about-image img {

        height: 450px;

    }

    .about-image::after {

        right: -12px;

        bottom: -12px;

    }

    .features-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .benefits-grid {

        grid-template-columns:
            1fr;

    }

    .gallery-grid {

        grid-template-columns:
            1fr 1fr;

        grid-auto-rows: 180px;

    }

    .gallery-item.large {

        grid-column:
            span 2;

        grid-row:
            span 1;

    }

    .space-card {

        grid-template-columns: 1fr;

    }

    .space-card > img {

        min-height: 350px;

    }

    .space-content {

        padding: 40px 28px;

    }

    .modal {

        padding: 15px;

    }

    .modal-content {

        padding: 35px 22px;

    }

}


/*==================================================
    SMALL MOBILE
==================================================*/

@media (max-width: 480px) {

    .hero h1 {

        font-size: 62px;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }

    .hero-buttons .btn,
    .hero-buttons .btn-outline {

        width: 100%;

    }

    .hero-data strong {

        font-size: 27px;

    }

    .section-title h2 {

        font-size: 42px;

    }

    .features-grid {

        grid-template-columns:
            1fr;

    }

    .gallery-grid {

        grid-template-columns:
            1fr;

    }

    .gallery-item.large {

        grid-column:
            span 1;

    }

    .space-content h3 {

        font-size: 36px;

    }

    .price {

        font-size: 29px;

    }

}