@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gilda+Display&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: serif;
    font-weight: 500;
    line-height: 1.4;
    scroll-behavior: smooth;
}

body {
    background-color: #3d2624;
}

a {
    color: #d8ffe5;
}

h1 {
    font-weight: 700;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
}

h3 {
    font-size: 24;
    color: #fff;
}

.red {
    color: #f75944;
    font-weight: 800;
}

img {
    width: 100%;
}

.container {
    padding: 64px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    padding: 0 36px;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bar {
    height: 64px;
    background-color: #040706;
    /* max-width: 1200px; */
    margin: 0 auto;
}

/* navigation bar */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 36px;
    background-color: #f75944;
    color: #eefffc;
}

nav .row {
    padding-left: 0;
    padding-right: 0;
}

.logo {
    font-size: 20px;
    letter-spacing: 1px;
    font-family: "Cinzel";
    color: #eefffc;
    cursor: default;
    display: flex;
    align-items: center;
}

.logo__img {
    width: 48px;
    background-color: #eefffc;
    margin-right: 8px;
    border-radius: 2px;
    padding: 0 2px;
}

.nav__links {
    display: flex;
}

.nav__link {
    position: relative;
    margin-left: 12px;
    letter-spacing: .2px;
    font-size: 14px;
}

.nav__link:not(:last-child):after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #eefffc;
    bottom: -2px;
    right: 0;
    transition: all 300ms ease;
}

.nav__link:not(:last-child):hover:after {
    left: 0;
    width: 100%;
}

.nav__link:last-child a {
    background-color: #abfeef;
    color: #282e31;
    padding: 8px 24px;
    border-radius: 400px;
    font-weight: 600;
    transition: background-color 200ms;
}

.nav__link:last-child:hover a {
    background-color: #8bd4c6;
}

/* header */

header {
    background-color: #040706;
}

header .container {
    position: relative;
    overflow: hidden;
}

.header__img--wrapper {
    position: absolute;
    width: 100%;
    max-width: 1200px;
    padding: 0;
    display: flex;
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, 50%);
}

.header__img {
    transition: all 700ms ease;
}

header:hover .header__img {
    transform: scale(1.005);
}

.header__description {
    width: 50%;
    z-index: 1;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #417d88aa;
    border-radius: 8px;
    padding: 16px 32px;
    transition: transform 300ms ease;
}

.header__description:hover {
    transform: scale(1.02);
}

.header__title {
    font-size: 36px;
    max-width: 430px;
    margin-bottom: 24px;
}

.header__description--para {
    font-weight: 400;
    color: #ffffff;
}

.header__btn {
    margin-top: 24px;
    padding: 12px 32px;
    background-color: #abfeef;
    border-radius: 500px;
    border: none;
    color: #282e31;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 200ms;
}

.header__btn:hover {
    background-color: #8bd4c6;
}

.address {
    font-size: 14px;
    font-weight: 200;
    color: #d0d8da;
    margin-top: 32px;
}

.ownership {
    color: #eaf1f1;
    font-size: 12px;
}

/* amenities */

#amenities {
    background-color: #040706;
}

/* #amenities .container {
    padding-left: 32px;
    padding-right: 32px;
} */

.amenities__title {
    color: #eefffc;
}

#amenities .row {
    flex-direction: column;
}

.amenities__list {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.amenity {
    margin: 24px 8px;
    width: calc(100%/3 - 16px);
    max-width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    transition: transform 300ms ease;
}

.amenity:hover {
    transform: scale(1.04);
}

.amenity i {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background-color: #abfeef;
    width: 20px;
    height: 20px;
    padding: 24px;
    border-radius: 50%;
    color: #040706;
}

.amenity__name {
    margin-top: 16px;
}

.amenity__para {
    font-size: 14px;
    color: #d0d8da;
}

/* gallery */

#gallery {
    background-color: #eefffc;
}

#gallery .row {
    flex-direction: column;
}

.gallery__images {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-wrap: wrap;
}

.gallery__img--wrapper {
    width: calc((100%/3) - 16px);
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin: 8px;
    transition: transform 300ms ease;
}

.gallery__img--wrapper:hover {
    transform: scale(1.02);
}

/* about */

#about {
    background-color: #040706;
}

.about__description {
    padding-right: 32px;
    width: 45%;
}

.about__title {
    color: #fff;
}

.about__description--para {
    color: #d0d8da;
    margin-top: 8px;
}

.mission__statement {
    font-size: 14px;
    width: 80%;
    margin-left: 36px;
    margin-top: 24px;
    color: #7f8587;
}

.about__img--wrapper {
    width: 55%;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about__img {
    transition: transform 700ms ease;
}

.about__img--wrapper:hover .about__img {
    transform: scale(1.01);
}

/* map */

#map {
    background-color: #eefffc;
}

.map__img--wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map__img {
    width: 110%;
    transition: transform 500ms ease;
}

.map__img--wrapper:hover .map__img {
    transform: scale(1.04);
}

/* footer */

footer {
    color: #eefffc;
}

footer {
    background-color: #040706;
}

.footer__logo {
    cursor: pointer;
}

.footer__copyright {
    text-align: right;
}

/* responsiveness */

/* 1140px */

@media (max-width: 1140px) {
    .gallery__img--wrapper{
        height: 230px;
    }
}

/* 1060px */

@media (max-width: 1060px) {
    .gallery__img--wrapper{
        height: 200px;
    }
}

/* 964px */

@media (max-width: 964px) {
    .header__description {
        width: 60%;
    }
}

/* 944px */

@media (max-width: 944px) {
    header .container {
        padding: 44px 0;
    }

    .gallery__img--wrapper{
        height: 180px;
    }

    #about .row {
        flex-direction: column;
    }
    .about__description {
        width: 80%;
        text-align: center;
        padding-right: 0;
    }
    .mission__statement {
        margin: 24 auto;
    }
    .about__img--wrapper {
        width: 70%;
        margin-top: 24px;
    }
}

/* 860px */

@media (max-width: 860px) {

    header .row {
        padding: 0;
    }
    header .container {
        padding: 0;
    }
    header .row {
        flex-direction: column;
    }
    .header__img--wrapper {
        position: relative;
        transform: none;
        left: 0;
        bottom: 0;
        margin-bottom: 80px;
    }
    .header__description {
        position: absolute;
        bottom: 0;
    }
    .header__title {
        font-size: 28px;
        max-width: 300px;
    }
    .header__description--para {
        font-size: 14px;
    }

    .amenity {
        width: calc(50% - 16px);
    }

    .gallery__img--wrapper{
        width: calc(50% - 16px);
        height: 230px;
    }
}

/* 732px */

@media (max-width: 732px) {
    .nav__link:not(:last-child) {
        display: none;
    }

    .header__img--wrapper {
        margin-bottom: 32px;
    }
    .header__description {
        position: relative;
        background: none;
        width: 100%;
        color: #eefffc;
    }

    .gallery__img--wrapper {
        height: 180px;
    }
}

/* 600px */

@media (max-width: 600px) {
    #gallery .row {
        padding: 0;
    }
    .gallery__img--wrapper {
        margin: 2px;
        border-radius: 0;
    }

    .about__description {
        width: 100%;
    }
    .about__img--wrapper {
        width: 100%;
    }
}

/* 530px */ 

@media (max-width: 530px) {
    .gallery__img--wrapper {
        height: 140px;
    }
}

/* 440px */

@media (max-width: 440px) {
    .amenity {
        width: 100%;
    }
    
    #gallery .row {
        padding: 0 16px;
    }
    #gallery .container {
        padding: 24px 0;
    }
    .gallery__img--wrapper {
        width: 100%;
        height: 240px;
    }
}