@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
:root {
    --primary-color: #FFFFFF;
    --hover-color: #FFA500;
    --accent-color: #90EE90;
    --text-color: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: Poppins, 'Segoe UI', sans-serif;
    color: var(--text-color);
    scroll-behavior: smooth;
    /*For bookmark links*/
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--primary-color);
}

main {
    /* padding: min(5em, 7%); */
    padding: 0%
}

section {
    margin-bottom: 0;
}

main p {
    margin-top: .35em;
}

.button {
    color: white;
    width: 140px;
    height: 50px;
    border: none;
    border-radius: 25px;
    display: block;
    margin: 20px auto;
    background-color: #FFA500;
    /* orange */
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.button:hover {
    background-color: #e69500;
    /* slightly darker orange on hover */
}


/* for navbar section */

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--hover-color);
}

nav ul {
    list-style: none;
    display: flex;
}

nav .img-li {
    margin-right: auto;
}

nav li {
    display: flex;
}

.text-center {
    text-align: center;
}

nav a {
    display: flex;
    text-decoration: none;
    color: var(--text-color);
    padding: 1em 2em;
    transition: background-color 150ms ease;
}

nav a:hover {
    background-color: var(--hover-color);
}

nav a.active-link {
    border-bottom: 2px solid var(--text-color);
}

nav a.accent-link {
    background-color: var(--accent-color);
}

#open-sidebar-button {
    display: none;
    background: none;
    border: none;
    padding: 1em;
    margin-left: auto;
    cursor: pointer;
}

#close-sidebar-button {
    display: none;
    background: none;
    border: none;
    padding: 1em;
    cursor: pointer;
}

#overlay {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    inset: 0;
    z-index: 9;
    display: none;
}

.skip-link {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.skip-link:focus {
    opacity: 1;
    pointer-events: auto;
    outline: 3px solid #ffffff;
}


/* Navbar section ends */


/* Main Image at the top */

.image-section {
    width: 100%;
    height: 600px;
    /* Set the height you want */
    background-color: #f5f5f5;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.image-section img {
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
    object-fit: fill;
    /* Shows the whole image without cropping */
    display: block;
}


/* for  FEATURES & AMENITIES section*/

.features-section {
    padding: 50px 20px;
    background: #fff;
    text-align: center;
    margin-bottom: 30px;
    /* display: inline-block; */
}

.text-center {
    text-align: center;
    color: #0f3c47;
}

.features-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 28px;
    color: #0f3c47;
    margin-bottom: 8px;
}

.section-divider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 300px;
    /* controls how wide the entire underline should be */
}

.line {
    flex: 1;
    height: 1px;
    background-color: #0f3c47;
}

.section-divider {
    width: 10px;
    height: 10px;
    background: #0f3c47;
    border-radius: 50%;
    margin: 0 10px;
}

.features-section p {
    font-size: 16px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.features-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    margin-top: 20px;
}

.feature-item {
    max-width: 300px;
    text-align: center;
}


/* .feature-item video {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
} */

.icon-circle {
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* position: relative; */
}

.icon-circle::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #0f3c47;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    right: 8px;
}

.icon-circle i {
    font-size: 24px;
    color: #0f3c47;
}

.feature-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: #0f3c47;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 15px;
}

.grid-item {
    flex: 1 1 500px;
    /* makes both items grow equally with a min size of 500px */
    max-width: 600px;
}

.grid-item video {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

.grid-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: #0f3c47;
    margin-bottom: 10px;
}

.grid-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 15px;
}


/* FEATURES & AMENITIES section ends */

.image-bg {
    text-align: center;
    background-image: url('../images/bckg.jpg');
    padding: 50px 10px;
}


/* floor plan grid style */

.floorplan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 4 equal columns */
    gap: 15px;
    padding: 30px;
}

.floorplan-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}


/*THE PLAZA IS PERFECT FOR. section  */

.list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    justify-content: center;
}

.list-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-grid li {
    font-size: 16px;
    color: white;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.list-grid li i {
    color: #FFA500;
    margin-right: 12px;
    font-size: 18px;
}


/* MEET THE TEAM section */

.team-section {
    padding: 60px 20px;
    background: #f5f5f5;
    text-align: center;
}

.team-section h2 {
    font-size: 32px;
    color: #0f3c47;
    margin-bottom: 10px;
}

.section-divider {
    width: 12px;
    height: 12px;
    background: #0f3c47;
    border-radius: 50%;
    margin: 15px auto 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.team-member h4 {
    font-size: 18px;
    color: #0f3c47;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    color: #0f3c47;
    font-size: 18px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #FFA500;
}

.view-more-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #FFA500;
    color: white;
    border: none;
    border-radius: 20px;
    margin: 10px 0;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.view-more-btn:hover {
    background-color: #e69500;
}


/* Modal Styles */

.custom-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.custom-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: left;
}

.custom-modal-content h3 {
    margin-top: 0;
    color: #0f3c47;
}

.custom-modal-content p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

.custom-modal-close {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}


/* contact us */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: auto auto;
    padding: 80px 20px;
    justify-content: center;
}

.contact-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-grid li {
    font-size: 16px;
    color: white;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.contact-grid li i {
    color: #FFA500;
    margin-right: 12px;
    font-size: 18px;
}


/* footer */

.site-footer {
    background-color: #000;
    padding: 20px 30px;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-content p {
    margin: 0;
    font-size: 14px;
}

@media screen and (max-width: 700px) {
    html,
    body {
        overflow-x: hidden;
    }
    body {
        min-height: 100vh;
        min-height: 100dvh;
        background-color: var(--primary-color);
    }
    main {
        /* padding: min(5em, 7%); */
        padding: 0%
    }
    section {
        margin-bottom: 0;
    }
    #open-sidebar-button,
    #close-sidebar-button {
        display: block;
    }
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(15em, 100%);
        z-index: 10;
        border-left: 1px solid var(--hover-color);
        transition: right 300ms ease-in-out;
    }
    nav.show {
        right: 0;
    }
    nav.show~#overlay {
        display: block;
    }
    nav ul {
        width: 100%;
        flex-direction: column;
    }
    nav a {
        width: 100%;
        padding-left: 2.5em;
    }
    nav a.active-link {
        border-bottom: none;
    }
    nav .home-li {
        margin-right: unset;
    }
    /* Main image section */
    .image-section {
        width: 100%;
        height: 400px;
        /* Set the height you want */
        background-color: #f5f5f5;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    .image-section img {
        width: 100%;
        height: 100%;
        /* object-fit: contain; */
        object-fit: fill;
        /* Shows the whole image without cropping */
        display: block;
    }
    /* FEATURES & AMENITIES section */
    .features-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .grid-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
    /* floor plan grid style */
    .floorplan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .floorplan-grid img {
        grid-template-columns: 1fr;
    }
    /*THE PLAZA IS PERFECT FOR. section  */
    .list-grid {
        grid-template-columns: 1fr;
    }
    /* contact us section */
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 40px 15px;
        gap: 20px;
    }
    .contact-grid iframe {
        width: 100%;
        height: 200px;
    }
    .contact-grid span {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .contact-grid h1 {
        text-align: center;
        font-size: 24px;
    }
    .contact-grid li {
        font-size: 14px;
    }
    /* footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}