/* COMMON */

/* =========================================
   EYEBROW
   ========================================= */

.common-text__eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.common-text__eyebrow span {
    width: 20px;
    height: 1px;
    background: var(--primary-color);
}

.common-text__inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 30px;
}

.common-text__title {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -2px;
    font-family: "Playfair Display", serif;
    margin: 0;
}

.common-text__description {
    padding: 0;
    font-weight: 300;
}

/* HERO SECTION */

#hero-section {
    height: 800px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-banner-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(10, 10, 10, 0.75);
    z-index: 10;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 11;
}

.hero-content {
    width: min(1240px, 100%);
    position: relative;
    z-index: 12;
    margin: 50px auto;
}

.hero-banner__text {
    margin: 0;
    color: white;
    font-size: 65px;
    font-weight: 500;
    font-family: "Playfair Display", serif;
    letter-spacing: 2px;
}

.hero-banner__logo {
    position: relative;
    z-index: 20;
    max-width: 450px;
    width: 65vw;
}

.hero-banner__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ABOUT SECTION */

.about-section__inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    max-width: 1240px;
    margin: auto;
    padding: 35px 30px;
    padding-top: 70px;
    gap: 60px;
}

.about-section__content {
    display: flex;
    flex-direction: column;
}

.about-section__content__title {
    color: rgb(17, 17, 17);
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -2px;
    font-family: "Playfair Display", serif;
    margin: 0;
}

.about-section__content__description {
    font-weight: 300;
    margin-top: 25px;
}

.about-section__content__description p {}

.about-section__properties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: start;
}

.about-section__property {
    display: flex;
    flex-direction: column;
    padding: 20px;
    height: fit-content;
    color: var(--primary-color);
    background-color: var(--primary-color-washed);
}

.about-section__property label {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
}

.about-section__property span {
    font-size: 45px;
    font-family: "Playfair Display", serif;
}

/* Gallery */

.retreat-gallery__inner {
    max-width: 1310px;
    margin: auto;
    padding: 35px 0;
    padding-top: 70px;
}

.retreat-gallery__inner__padded {
    padding: 0 35px;
}

.retreat-gallery__content {
        display: block;
        flex-wrap: wrap;
        gap: 10px;
        padding: 35px 0;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
}

.retreat-gallery__item {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    width: calc(100% - 100px);
    margin: 0;
    overflow: hidden;
    position: relative;
    display: inline-block;
}

.retreat-gallery__item img {
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(.2, .65, .2, 1);
}

.retreat-gallery__item:hover img {
    transform: scale(1.03);
}

.retreat-gallery__item:hover .retreat-gallery__item__description {
    opacity: 1;
}


.retreat-gallery__item__description {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
    padding: 50px;
    text-align: center;
    opacity: 0;
    transition: opacity ease 0.3s;
}

.retreat-gallery__item__type {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 500;
}

.retreat-gallery__item__text {
    font-weight: 300;
}


/* Installations */

#exterior {
    background-color: #000;
    color: white;
}

/*  Comodities */

#comodities {
    background-color: var(--primary-color-washed);
}

.comodities__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 35px 30px;
    padding-top: 70px;
}

.comodities__items {
    padding: 35px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.comodities__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px;
}

/* Vertical dividers */
.comodities__item:not(:nth-child(3n + 1)) {
    border-left: 1px solid var(--border-divider-color);
}

/* Horizontal dividers */
.comodities__item:nth-child(n + 4) {
    border-top: 1px solid var(--border-divider-color);
}

.comodities__item__icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.comodities__item__label {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
}

.comodities__item__description {
    font-size: 13px;
    font-weight: 300;
}

.directions__inner {
    padding: 35px 30px;
    padding-top: 70px;
    max-width: 1240px;
    margin: auto;
}


.directions__indications {
    display: flex;
    flex-direction: row;
    gap: 50px;
    padding-top: 35px;
}

.directions__map {
    width: 400px
}

.directions__map img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.directions__possibilities {
    flex: 1;
    font-weight: 300;
}

.directions__map-cta {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: normal;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 25px;
}

/* mobile */

@media (max-width: 900px) {

    .about-section__inner {
        grid-template-columns: 1fr;
    }

    /* Gallery */

    .retreat-gallery__inner__padded {
        padding: 0 35px;
    }

    .retreat-gallery__content {

    }

    .retreat-gallery__item {
        width: 95vw;
    }

    .comodities__items {
        grid-template-columns: repeat(2, 1fr);
    }

    .comodities__item {
        border: none;
        padding: 10px;
    }

    .comodities__item:not(:nth-child(3n + 1)) {
        border-left: 0;
    }

    /* Vertical divider between the 2 columns */
    .comodities__item:nth-child(2n) {
        border-left: 1px solid var(--border-divider-color);
    }

    /* Horizontal divider between rows */
    .comodities__item:nth-child(n + 3) {
        border-top: 1px solid var(--border-divider-color);
    }

    .directions__indications {
        flex-direction: column;
    }

    .directions__map {
        width: 100%;
    }
}
