@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

:root {
    --nav-btn: #dc9038;
    --nav-bg-color: #f8f8f8;

    --hero-section-color: #dc4b39;
    --title-text-size: 3rem;
}

html,
body,
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    border-radius: 0px;
    background: transparent
}

::-webkit-scrollbar-thumb {
    background: var(--nav-btn);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hero-section-color);
}


body {
    font-family: 'Montserrat';
    overflow-x: hidden;
}

body,
.main-container {
    width: 100vw;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    position: relative;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

nav {
    position: fixed;
    z-index: 10;
    width: 100vw;
    background: var(--nav-bg-color);
    color: var(--nav-btn);
    box-shadow: 0px 15px 10px -8px #e6e6e6;
}

nav .wrapper {
    position: relative;
    max-width: 1300px;
    padding: 0px 30px;
    height: 70px;
    line-height: 70px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wrapper .logo {
    max-width: none;
    height: 50px;
    margin: auto 0
}

.wrapper .logo img {
    max-height: 100%;
    width: 100%;
}

/* .wrapper .logo a {
    color: #f2f2f2;
    font-size: 30px;
    font-weight: 600;
    text-decoration: none;
} */

.wrapper .nav-links {
    display: inline-flex;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    /* color: #f2f2f2; */
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 5px 15px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.nav-links li a:hover {
    border-bottom: 1px solid var(--hero-section-color);
}

.nav-links .mobile-item {
    display: none;
}

.content .row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content .row header {
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
}

.wrapper .btn {
    color: var(--nav-bg-color);
    font-size: 20px;
    cursor: pointer;
    display: none;
    padding: 0px 7px;
    border: none;
    background-color: transparent;
    color: var(--nav-btn);
}

.wrapper .btn.close-btn {
    position: absolute;
    right: 30px;
    top: 10px;
}

@media screen and (max-width: 970px) {
    .wrapper .btn {
        display: block;
    }

    .wrapper .nav-links {
        position: fixed;
        height: 100vh;
        width: 100%;
        max-width: 350px;
        top: 0;
        left: -100%;
        background: var(--nav-bg-color);
        display: block;
        padding: 50px 10px;
        line-height: 50px;
        overflow-y: auto;
        box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
        transition: all 0.3s ease;
    }

    /* custom scroll bar */
    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-track {
        background: #242526;
    }

    ::-webkit-scrollbar-thumb {
        background: #3A3B3C;
    }

    #menu-btn:checked~.nav-links {
        left: 0%;
    }

    #menu-btn:checked~.btn.menu-btn {
        display: none;
    }

    #close-btn:checked~.btn.menu-btn {
        display: block;
    }

    .nav-links li {
        margin: 15px 10px;
    }

    .nav-links li a {
        padding: 0 20px;
        display: block;
        font-size: 20px;
    }

    #showDrop:checked~.drop-menu,
    #showMega:checked~.mega-box {
        max-height: 100%;
    }

    .nav-links .desktop-item {
        display: none;
    }

    .nav-links .mobile-item {
        display: block;
        color: #f2f2f2;
        font-size: 20px;
        font-weight: 500;
        padding-left: 20px;
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .nav-links .mobile-item:hover {
        background: #3A3B3C;
    }

    .content .row header {
        font-size: 19px;
    }
}

nav input {
    display: none;
}



.hero-section {
    width: 90vw;
    display: flex;
    justify-content: space-evenly;
    margin: auto;
    padding: 5em 0;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.gallery-section,
.footer-section {
    width: 100vw;
}

.hero-content-left {
    margin-top: 3em;
    max-width: 50%;
}

.hero-content-left p,
.hero-section-title p {
    font-size: 2em;
}

.hero-content-left h1,
.hero-section-title h1 {
    font-weight: 800;
    color: var(--hero-section-color);
    font-size: 4em;
}

.hero-section-title {
    width: 100%;
    text-align: left;
}

.gallery-section .hero-section-title {
    width: 90vw;
}

.hero-bottom {
    display: flex;
    gap: 1em;
    justify-content: end;
    height: 30vh !important;
}

.hero-bottom p {
    font-size: 1em;
}

.location,
.phone,
.brochure {
    display: flex;
    align-items: center;
    gap: 1em;
    font-weight: 700;
}

/* Text Animation */

.animation-wrapper {
    display: flex;
    /* gap: 2em; */
    /* justify-content: center; */
    align-items: center;
    /* padding: 5rem 3rem; */
    /* box-shadow: 0 5px 5px #0005; */
    /* margin-top: 1.5em; */
    height: calc(var(--title-text-size) + 1rem);
    /* height: max-content; */
    width: max-content;
    font-size: var(--title-text-size);
    font-weight: 700;
    text-align: center;
}

.animation {
    overflow: hidden;
    position: relative;
    font-size: var(--text-size);
    /* height: (var(--text-size) + (var(--text-size) * 0)); */
    height: inherit;
    /* overflow: hidden; */
    /* animation: rotate-the-words 5s infinite; */
    /* margin-left: 1rem; */
}

.animation li {
    display: block;
    height: 100%;
    margin-left: .5rem;
    animation: rotate-the-words 10s infinite;
    color: var(--nav-bg-color);
    padding-bottom: 10px;
}

@media (max-width: 600px) {
    .animation-wrapper {
        /* flex-direction: column; */
    }
}

@keyframes rotate-the-words {

    0%,
    20% {
        transform: translateY(0%);
    }

    20%,
    40% {
        transform: translateY(-100%);
    }

    40%,
    60% {
        transform: translateY(-200%);
    }

    60%,
    80% {
        transform: translateY(-100%);
    }

    80%,
    100% {
        transform: translateY(-0%);
    }

}


.animation li:first-child {
    background-color: #20a7d8;
}

.animation li:nth-child(2) {
    background-color: #CD921E;
}

.animation li:nth-child(3) {
    background-color: #c10528;
}

.btn-container {
    display: flex;
    gap: 1em;
    margin-top: 2em;

}

@media screen and (max-width: 40em) {
    .btn-container {
        flex-direction: column;
    }

}

.btn {
    border-radius: 10em;
    padding: 1vw 1vh;
    background-color: var(--nav-btn);
    color: var(--nav-bg-color);
    border: unset;
    border: 1px solid var(--nav-btn);
    cursor: pointer;
    font-size: 1.2em;
}

.btn:hover {
    background-color: var(--nav-bg-color);
    color: var(--nav-btn);
    border: 1px solid var(--nav-btn);
}


.img-container {
    position: relative;
    width: 45vw;
    max-height: 70vh;
    /* overflow: hidden; */
}

.prime-location-section .hero-content-left {
    max-width: 60%;
}

.nearby-locations h2 {
    font-size: 2em;
    font-weight: 800;
    color: var(--hero-section-color);
}

.nearby-locations li {
    border: 3px solid var(--nav-btn);
    padding: 0.5em;
    border-radius: 10em;
    list-style: none;
    margin: 0.5em 0;
    display: flex;
    justify-content: space-between;
}

.nearby-locations span {
    max-width: 20em;
    display: flex;
    align-items: center;
    gap: 1em;
}

.nearby-locations span i.fa-solid {
    color: var(--nav-btn);
    font-size: 1.5em;
}

.nearby-locations b {
    opacity: 0.7;
    margin-left: 1em;
}


@media (max-width: 60em) {
    :root {
        --title-text-size: 2rem;
    }

    .animation-wrapper {
        font-size: 2rem;
    }

    .hero-section {
        padding: 2em auto;
    }

    .hero-content-left {
        align-items: center;
    }

    .hero-content-left p,
    .hero-section-title p {
        font-size: 1em;
    }

    .hero-content-left h1,
    .hero-section-title h1 {
        font-size: 2rem;
    }

    .hero-top p {
        font-size: 1.2em;
    }

    .hero-bottom {
        flex-wrap: wrap;
        height: auto !important;
        justify-content: center;
        margin-top: 2em;
    }
}

@media (max-width: 40em) {
    .hero-section {
        margin: auto;
        padding: 2em 0;
    }

    .hero-content-left {
        max-width: none;
    }

    .animation {
        /* height: 3em; */
    }

    .animation li {
        padding-bottom: 10px;
    }
}

/* Amenities */

.amenities-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10vmin;
    overflow: hidden;
    transform: skew(5deg);
}

.amenities-container .card {
    flex: 1;
    transition: all 0.5s ease-in-out;
    height: 75vmin;
    position: relative;
}

.amenities-container .card .card__head {
    color: black;
    background: var(--nav-btn);
    padding: 0.5em;
    transform: rotate(-90deg);
    transform-origin: 0% 0%;
    transition: all 0.2s ease-in-out;
    min-width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 1em;
    white-space: nowrap;
}

.amenities-container .card:hover {
    flex-grow: 10;
}

.amenities-container .card:hover img {
    filter: grayscale(0);
}

.amenities-container .card:hover .card__head {
    text-align: center;
    /* top: calc(100% - 2em); */
    color: white;
    background: rgba(0, 0, 0, 0.5);
    font-size: 1.2em;
    transform: rotate(0deg) skew(-5deg);
}

.amenities-container .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s ease-in-out;
    filter: grayscale(100%);
}

.amenities-container .card:not(:nth-child(7)) {
    margin-right: 1em;
}

@media screen and (max-width: 60em) {
    .amenities-container {
        /* flex-direction: column; */
        transform: none;
        margin: 5vmin;
        gap: 1em;
        flex-wrap: wrap;
    }

    .amenities-container .card:hover {
        flex-grow: 0;
    }

    .amenities-container .card {
        width: 45%;
        height: 50vmin;
        flex: auto;
    }

    .amenities-container .card:not(:nth-child(7)) {
        margin-right: 0;
        /* margin-bottom: 1em; */
    }

    .amenities-container .card img {
        filter: grayscale(0);
    }

    .amenities-container .card .card__head {
        transform: rotate(0deg);
        transform-origin: 0% 0%;
        transition: all 0.2s ease-in-out;
        min-width: 100%;
        height: auto;
        text-align: center;
        position: absolute;
        bottom: 0;
        left: 0;
        font-size: 1em;
        white-space: normal;
        max-width: 100%;
    }

}

@media screen and (max-width: 40em) {
    .img-container {
        width: 100%;
        max-height: 50vh;
    }

    .prime-location-section .hero-content-left {
        max-width: 100%;
    }

    .amenities-container .card:hover {
        flex-grow: 1;
    }

    .amenities-container .card:hover .card__head {
        text-align: center;
        top: auto;
        color: black;
        background: var(--nav-btn);
        font-size: 1em;
        transform: none;
    }

}

.floor-plan-container {
    align-content: center;
    width: 100%;
}

.floor-plan-container img {
    max-width: 90vw;
    max-height: 65vh;
    display: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

.floor-plan-container img.active {
    display: block;
}

.floor-plan-btn-container {
    margin-top: 10px;
}

.floor-plan-btn-container button.active {
    background: var(--nav-bg-color);
    color: var(--nav-btn);
}

.gallery-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    padding: 20px 0;
}

.gallery-wrapper {
    display: flex;
    gap: 10px;
}

.gallery {
    display: flex;
    gap: 10px;
}

.gallery img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s ease-in;
    max-width: none;
}

/* Fully visible images */
.gallery img.loaded {
    opacity: 1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    display: block;
    margin: auto;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}


/* Prevents close button overlapping the image */
.modal-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}


/* Contact Us */

.google-maps {
    overflow: hidden;
    width: 100%;
    /* padding-bottom: 56.25%; */
    position: relative;
    height: 20em;
}


.google-maps iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    /* position: absolute; */
}

.contact-container {
    display: flex;
    max-width: 900px;
    width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.form-container {
    flex: 1;
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

textarea {
    resize: none;
    height: 100px;
}

.phone-group {
    display: flex;
    gap: 10px;
}

.phone-group input {
    flex: 1;
}

.submit-btn {
    background: #d38d32;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.submit-btn:hover {
    background: #b8732a;
}

.contact-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.icon {
    width: 40px;
    height: 40px;
    background: var(--nav-btn);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    /* font-size: 18px; */
    margin-right: 15px;
    padding: 1em;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}

footer {
    background: #ddd;
    padding: 2em;
    text-align: center;
    border-top: 1px solid #ccc;
}

.footer-logo-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1em;
    margin-bottom: 2em;
    font-weight: 500;
}

.footer-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
}

.footer-logo {
    position: relative;
    height: 3em;
    max-width: 10em;
}

.footer-logo-main {
    height: 5em;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1em;
    list-style: none;
    font-size: 1.5em;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
}

.footer-top {
    margin-bottom: 0.5em;
    border-bottom: 2px solid var(--nav-btn);
}

@media (max-width: 768px) {

    .footer-logo-container {
        flex-direction: column;
    }

    .footer-logo-wrapper {
        flex-direction: column;
    }

    .footer-logo {
        height: 2em;
    }

    .footer-logo-main {
        height: 3em;
    }

    .footer-container {
        flex-direction: column;
    }

    .social-links {
        font-size: 1em;
    }
}