:root {
    --primary: #ffba00;
    --primary-light: #ffd014;
    --dark: #11202a;
    --dark-soft: #1d394b;
    --surface: #f6f6f9;
    --white: #ffffff;
    --muted: #dbe2e8;
    --shadow: 0 18px 40px rgba(17, 32, 42, 0.18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    color: var(--dark-soft);
    background: var(--surface);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

.container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
}

.section-head {
    color: #000000;
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-head h2 {
    margin: 0;
    color: var(--dark);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 4.3vw, 3rem);
}

.section-head p {
    margin: 0.7rem 0 0;
    color: #000000;
    font-size: 1.05rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 0;
    border-radius: 7px;
    padding: 0.95rem 1.8rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.btn:hover {
    background: var(--primary-light);
    color: var(--dark);
}

.btn-small {
    padding: 0.75rem 1.3rem;
    font-size: 0.8rem;
}

.hero {
    position: relative;
    min-height: 100vh;
    background-image: url("img/Banner1.avif");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 32, 42, 0.39) 0%, rgba(17, 32, 42, 0.423) 22%, rgba(17, 32, 42, 0.352) 78%, rgba(17, 32, 42, 0.379) 100%),
        linear-gradient(180deg, rgba(17, 32, 42, 0.395) 0%, rgba(17, 32, 42, 0.351) 100%);
}

.nav {

    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0;
    margin-bottom: 3.8rem;
}

.brand {
    display: none;
}

.brand img {
    display: none;
}

.brand span {
    display: none;
}

.nav-links {

    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 18px !important;
    font-family: "Montserrat", sans-serif;
    font-size: 2.1vh;
    font-weight: 400;
    color: var(--white);
    opacity: 0.96;
    letter-spacing: 0.2px;
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: var(--white);
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 700;
    cursor: pointer;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    justify-items: center;
    text-align: center;
}

.hero-content h1 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 7vw, 4.6rem);
    text-transform: uppercase;
    letter-spacing: 2.4px;
    line-height: 1.1;
}

.hero-content p {
    display: none;
}

.hero-btn {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    margin-top: 4rem;
    width: 392px;
    max-width: 100%;
    height: 52px;
    font-size: 26px;
    letter-spacing: 2px;
}

.btn-icon {
    margin-left: 0.6rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-grid img {
    width: 100%;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.about-grid h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    color: var(--dark);
}

.about-grid p {
    margin: 0 0 1rem;
    line-height: 1.7;
}

.amenities .container {
    width: min(1460px, 78vw);
}

.amenities .section-head {
    margin-bottom: 2.5rem;
}

.amenities .section-head h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 50px;
    line-height: 1.04;
    color: #152b3b;
}

.amenities .section-head p {
    margin-top: 1rem;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.25rem, 1.85vw, 2.15rem);
    font-weight: 500;
    color: #152b3b;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid #274865;
    overflow: hidden;
}

.amenity-card {
    background: #1d3448;
    border-right: 1px solid #274865;
    border-bottom: 1px solid #274865;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.12rem;
    padding: 45px;
    text-align: center;
    box-shadow: none;
}

.amenities-grid.row-reveal .amenity-card {
    opacity: 0;
    transform: translateX(var(--enter-offset, -90px));
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.amenities-grid.row-reveal .amenity-card.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.amenity-card img {
    width: 76px;
    height: 76px;
    margin: 0;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(76%) sepia(88%) saturate(3000%) hue-rotate(359deg) brightness(102%) contrast(103%);
}

.amenity-card h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    line-height: 1.22;
}

.amenity-card:nth-child(4n) {
    border-right: 0;
}

.amenity-card:nth-last-child(-n+4) {
    border-bottom: 0;
}

.terms {
    /* background: url("http://web.archive.org/web/20250522055329im_/https://leatlas.com/wp-content/uploads/2022/03/DSC_4847-scaled.jpg") center / cover no-repeat; */
    position: relative;
}

.terms::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(17, 32, 42, 0.72);
}

.terms-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    color: var(--white);
}

.terms-wrap h2 {
    margin: 0 0 0.8rem;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.terms-wrap ul {
    margin: 0;
    padding-left: 1.2rem;
    line-height: 1.8;
}

.gallery {
    background: var(--white);
}

.gallery-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.8rem;
}

.gallery-track {
    --visible-cards: 3;
    --card-gap: 1rem;
    display: flex;
    gap: var(--card-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0.3rem 0;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 calc((100% - (var(--visible-cards) - 1) * var(--card-gap)) / var(--visible-cards));
    max-width: calc((100% - (var(--visible-cards) - 1) * var(--card-gap)) / var(--visible-cards));
    scroll-snap-align: start;
    scroll-snap-stop: always;
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    height: 220px;
    box-shadow: 0 10px 24px rgba(17, 32, 42, 0.14);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: var(--dark-soft);
    color: var(--white);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.gallery-btn:hover {
    background: var(--primary);
    color: var(--dark);
}

/* .packages {
    background: linear-gradient(180deg, #1e3445 0%, #152a39 100%);
} */

.packages .section-head h2,
.packages .section-head p {
    color: black;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.package-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: 410px;
}

.package-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.package-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(8, 15, 24, 0.12) 0%, rgba(8, 15, 24, 0.24) 100%);
    transition: background 0.35s ease;
}

.package-overlay-box {
    width: 100%;
    height: 100%;
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid transparent;
    transition: border-color 0.35s ease, background 0.35s ease;
}

.package-overlay h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.55rem, 2.6vw, 2.05rem);
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s ease, margin 0.35s ease;
}

.package-overlay p,
.package-overlay a {
    opacity: 0;
    max-height: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
}

.package-overlay p {
    margin: 0.95rem 0 0;
    line-height: 1.55;
    font-size: 1rem;
    max-width: 92%;
}

.package-overlay a {
    margin-top: 1.3rem;
    align-self: flex-end;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(25, 49, 74, 0.7);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
}

.package-card:hover img {
    transform: scale(1.04);
}

.package-card:hover .package-overlay {
    background: linear-gradient(180deg, rgba(8, 15, 24, 0.42) 0%, rgba(8, 15, 24, 0.62) 100%);
}

.package-card:hover .package-overlay-box {
    border-color: rgba(255, 255, 255, 0.86);
    background: rgba(12, 24, 37, 0.22);
}

.package-card:hover .package-overlay h3 {
    transform: translateY(-10px);
}

.package-card:hover .package-overlay p,
.package-card:hover .package-overlay a,
.package-card:focus-within .package-overlay p,
.package-card:focus-within .package-overlay a {
    opacity: 1;
    max-height: 220px;
    pointer-events: auto;
    transform: translateY(0);
}

.package-overlay a:hover {
    background: rgba(255, 186, 0, 0.92);
    color: #12212d;
    border-color: rgba(255, 186, 0, 0.95);
}

.enquiry {
    position: relative;
    background: #ececec;
}

.enquiry::before {
    content: "";
    position: absolute;
    inset: 0;
}

.enquiry-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.6rem;
    align-items: center;
}

.enquiry-copy {
    color: #111111;
    align-self: center;
    text-align: center;
}

.enquiry-copy h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 2.5vw, 2.6rem);
    font-weight: 500;
}

.enquiry-copy p {
    margin: 1.1rem 0 0;
    font-size: clamp(1rem, 1.2vw, 1.35rem);
    line-height: 1.8;
}

.form-card {
    background: #071f2f;
    border-radius: 6px;
    padding: 2.15rem 2.15rem 2.35rem;
    box-shadow: 0 10px 30px rgba(7, 19, 29, 0.2);
}

.form-card h2 {
    margin: 0 0 1.7rem;
    font-family: "Montserrat", sans-serif;
    color: #f5f8fb;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 500;
}

.form-card label {
    display: block;
    margin-bottom: 0.85rem;
}

.form-card label span {
    font-size: 0.85rem;
    color: rgba(227, 236, 244, 0.62);
    letter-spacing: 0.2px;
}

.form-card input,
.form-card textarea {
    width: 100%;
    margin-top: 0.35rem;
    border-radius: 0;
    font: inherit;
    background: transparent;
    color: #f3f8fd;
    outline: none;
}

.form-card input {
    border: 0;
    border-bottom: 1px solid rgba(227, 236, 244, 0.28);
    padding: 0.35rem 0 0.55rem;
}

.form-card input::placeholder,
.form-card textarea::placeholder {
    color: rgba(227, 236, 244, 0.48);
}

.form-card input:focus {
    border-bottom-color: rgba(255, 255, 255, 0.65);
}

.form-card textarea {
    margin-top: 0.65rem;
    min-height: 150px;
    border: 1px solid rgba(227, 236, 244, 0.28);
    padding: 0.8rem 0.75rem;
    resize: vertical;
}

.form-card textarea:focus {
    border-color: rgba(255, 255, 255, 0.58);
}

.form-card .btn {
    margin-top: 0.85rem;
    border-radius: 0;
    padding: 0.8rem 1.25rem;
    background: #ffdc00;
    color: #17293a;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.form-card .btn:hover {
    background: #ffe549;
    color: #0e1f2e;
}

#charCount {
    display: block;
    text-align: right;
    margin-top: 0.3rem;
    color: rgba(227, 236, 244, 0.55);
    font-size: 0.85rem;
}

.form-status {
    min-height: 1.3rem;
    margin: 0.8rem 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(227, 236, 244, 0.8);
}

.location-map {
    background: #ffffff;
    padding: 4rem 0 0;
}

.location-map .container {
    width: min(1360px, 90vw);
}

.location-frame {
    display: block;
    width: 100%;
    height: 375px;
    border: 0;
}

footer.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 3.8rem 0 2.8rem;
}

.footer-wrap {
    width: min(1360px, 90vw);
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto 1.6rem;
}

.footer-brand img {
    margin-left: 0;
    height: 90px;
    width: min(900px, 100%);
    object-fit: contain;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.1rem 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: #ffffff;
    /* font-size: clamp(1.05rem, 1.65vw, 2rem); */
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
}

.footer-social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffd100;
    color: #12151d;
    display: grid;
    place-items: center;
    /* font-size: 1.35rem; */
    font-weight: 700;
    text-transform: lowercase;
}

.footer-social-btn:hover {
    background: #ffe15a;
}

.footer-contact-grid {
    margin-top: 2.1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}



.footer-icon {
    width: 44px;
    height: 44px;
    border: 2px solid #ffd100;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: #ffd100;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-contact-card p {
    margin: 0 0 0.35rem;
    color: #ffffff;
    /* font-size: clamp(1.05rem, 1.6vw, 2rem); */
    line-height: 1.45;
}

.footer-contact-card a:hover {
    color: var(--primary);
}

.footer-copy {
    margin: 3.3rem 0 0;
    color: #ffffff;
    /* font-size: clamp(1rem, 1.55vw, 1.9rem); */
}

.hide-mobile {
    display: none;
}

@media (max-width: 1024px) {

    .about-grid,
    .enquiry-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .amenity-card {
        border-right: 1px solid #274865;
        border-bottom: 1px solid #274865;
    }

    .amenity-card:nth-child(4n+3) {
        background: #2f4f6b;
    }

    .amenity-card:nth-child(3n) {
        border-right: 0;
        background: #284761;
    }

    .amenity-card:nth-last-child(-n+4) {
        border-bottom: 1px solid #274865;
    }

    .amenity-card:nth-last-child(-n+3) {
        border-bottom: 0;
    }

    .package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .package-card {
        min-height: 360px;
    }

    .terms-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 860px) {
    .nav {
        position: absolute;
        top: 1rem;
        left: 50%;
        width: min(100% - 32px, 1180px);
        transform: translateX(-50%);
        justify-content: flex-end;
        margin-bottom: 0;
        z-index: 6;
    }

    .menu-toggle {
        display: inline-block;
        background: rgba(17, 32, 42, 0.58);
        font-size: 0.72rem;
        padding: 0.34rem 0.55rem;
    }

    .hide-mobile {
        display: none;
    }

    .nav-links {
        position: absolute;
        right: 0;
        top: calc(100% + 0.45rem);
        width: min(210px, 86vw);
        background: rgba(17, 32, 42, 0.95);
        backdrop-filter: blur(4px);
        border-radius: 6px;
        padding: 0.55rem 0.7rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: 0.2s ease;
    }

    .nav-links li,
    .nav-links a {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.36rem 0;
        font-size: 0.86rem !important;
        line-height: 1.2;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .hero {
        min-height: 85vh;
        background-attachment: scroll;
    }

    .hero-content {
        padding-top: 4.8rem;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8.5vw, 3rem);
        letter-spacing: 1.2px;
    }

    .hero-btn {
        margin-top: 2rem;
        width: min(100%, 320px);
        min-height: 52px;
        height: auto;
        padding: 0.9rem 1rem;
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .section {
        padding: 3.5rem 0;
    }

    .amenities .container,
    .location-map .container,
    .footer-wrap,
    .container {
        width: min(100% - 32px, 1180px);
    }

    .about-grid {
        gap: 1.4rem;
    }

    .amenity-card {
        padding: 2rem 1rem;
        min-height: 160px;
    }

    .location-map {
        padding: 2.8rem 0 0;
    }

    .location-frame {
        height: 290px;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .amenity-card {
        border-right: 1px solid #274865;
        border-bottom: 1px solid #274865;
    }

    .amenity-card:nth-child(3n) {
        background: #2f4f6b;
    }

    .amenity-card:nth-child(even) {
        border-right: 0;
        background: #284761;
    }

    .amenity-card:nth-last-child(-n+3) {
        border-bottom: 1px solid #274865;
    }

    .amenity-card:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .gallery-shell {
        grid-template-columns: 1fr;
    }

    .gallery-btn {
        display: none;
    }

    .gallery-track {
        --visible-cards: 1;
        --card-gap: 0.75rem;
    }

    .footer-links {
        gap: 0.8rem 1.2rem;
    }

    .footer-brand img {
        height: auto;
        max-height: 74px;
    }

    .footer-social-btn {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }

    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        margin-top: 1.8rem;
    }

    .footer-copy {
        margin-top: 2.2rem;
    }
}

@media (max-width: 520px) {
    .nav {
        top: 0.9rem;
        width: min(100% - 24px, 1180px);
    }

    .nav-links {
        width: min(178px, calc(100vw - 24px));
    }

    .hero-content h1 {
        font-size: clamp(1.9rem, 10vw, 2.55rem);
        word-break: normal;
    }

    .section-head {
        margin-bottom: 1.8rem;
    }

    .section-head h2,
    .amenities .section-head h2 {
        font-size: clamp(1.85rem, 10vw, 2.45rem);
    }

    .amenities .section-head p {
        font-size: 1.05rem;
        line-height: 1.45;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .amenity-card,
    .amenity-card:nth-child(even),
    .amenity-card:nth-child(3n),
    .amenity-card:nth-child(4n+3) {
        border-right: 0;
        background: #1d3448;
    }

    .amenity-card:nth-child(even) {
        background: #284761;
    }

    .amenity-card:nth-last-child(-n+2) {
        border-bottom: 1px solid #274865;
    }

    .amenity-card:last-child {
        border-bottom: 0;
    }

    .terms-wrap .hero-btn {
        width: 100%;
    }

    .package-grid {
        grid-template-columns: 1fr;
    }

    .package-card {
        min-height: 340px;
    }

    .package-overlay p {
        font-size: 0.95rem;
    }

    .enquiry-grid {
        gap: 1.8rem;
    }

    .enquiry-copy h3 {
        font-size: 1.75rem;
    }

    .form-card {
        padding: 1.45rem 1.2rem 1.65rem;
    }

    .form-card h2 {
        font-size: 1.8rem;
    }

    .footer-brand img {
        max-height: 58px;
    }

    .footer-contact-card p,
    .footer-copy {
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .amenities-grid.row-reveal .amenity-card,
    .amenities-grid.row-reveal .amenity-card.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
