:root {
    --ink: #17201d;
    --green: #324a41;
    --cream: #f4f0e8;
    --sand: #ded3c0;
    --muted: #6e7773
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'DM Sans',sans-serif;
    color: var(--ink);
    background: #fff
}

.navbar {
    transition: .25s;
    padding: 1.15rem 0
}

    .navbar.scrolled {
        background: rgba(20,30,27,.96);
        padding: .7rem 0;
        box-shadow: 0 10px 35px rgba(0,0,0,.12)
    }

.navbar-brand {
    font-weight: 700;
    letter-spacing: .12em;
    font-size: 1rem
}

    .navbar-brand span {
        font-weight: 400
    }

.navbar .nav-link {
    color: rgba(255,255,255,.82)
}

    .navbar .nav-link:hover {
        color: #fff
    }

.hero {
    min-height: 92vh;
    position: relative;
    background: linear-gradient(135deg,#22362f 0%,#6f857b 48%,#c4ad8b 100%);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .hero:before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 75% 35%,rgba(255,255,255,.17),transparent 27%),linear-gradient(110deg,rgba(10,20,17,.25),transparent 55%)
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(9,16,14,.78),rgba(9,16,14,.06) 70%)
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display',serif
}

.hero h1 {
    line-height: .98;
    letter-spacing: -.035em
}

.text-white-75 {
    color: rgba(255,255,255,.76)
}

.eyebrow {
    font-size: .78rem;
    letter-spacing: .18em;
    font-weight: 700;
    color: var(--green)
}

.section-title {
    font-size: clamp(2.2rem,5vw,4rem);
    line-height: 1.02
}

.bg-cream {
    background: var(--cream)
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem
}

    .feature i {
        font-size: 1.6rem;
        margin-bottom: .4rem;
        color: var(--green)
    }

    .feature strong {
        font-size: 1rem
    }

    .feature span {
        font-size: .9rem;
        color: var(--muted)
    }

.apartment-card {
    border: 1px solid #ece8df;
    border-radius: 24px;
    overflow: hidden;
    background: white;
    box-shadow: 0 18px 50px rgba(33,46,41,.07)
}

.placeholder-photo {
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #a9b3ae
}

    .placeholder-photo:before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,rgba(255,255,255,.12),rgba(0,0,0,.16))
    }

    .placeholder-photo span {
        position: relative;
        color: white;
        letter-spacing: .25em;
        font-weight: 700;
        font-size: .8rem
    }

.photo-zala {
    background: linear-gradient(135deg,#8b9c94,#d6c7ad)
}

.photo-app {
    background: linear-gradient(135deg,#c9b79f,#687a73)
}

.amenities {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.1rem;
    font-size: .9rem;
    color: #59635f
}

    .amenities i {
        margin-right: .35rem
    }

.text-link {
    color: var(--ink);
    font-weight: 700;
    text-decoration: none
}

    .text-link:hover {
        color: var(--green)
    }


.location-info {
    border-top: 1px solid rgba(0, 0, 0, .10);
}

.location-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.location-info-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    font-size: 1.2rem;
}

.location-info-item strong {
    display: block;
    font-weight: 600;
}

.home-map {
    height: 520px;
    overflow: hidden;
    border-radius: 28px;
    background: #ddd;
    box-shadow: 0 24px 60px rgba(33, 46, 41, .10);
}

    .home-map iframe {
        width: 100%;
        height: 100%;
        display: block;
        border: 0;
    }

@media (max-width: 991.98px) {

    .home-map {
        height: 380px;
    }
}


.wellness-section {
    background: #16251f
}

.wellness-image {
    min-height: 540px;
    border-radius: 28px;
    background: linear-gradient(145deg,#7a6d60,#2f4039)
}

.wellness-item {
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    background: rgba(255,255,255,.04)
}

    .wellness-item i {
        font-size: 1.25rem
    }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 220px;
    gap: 14px
}

.gallery-item {
    min-height: 0;
    border-radius: 18px;
    background: linear-gradient(145deg,#8b9a93,#c8b79d)
}

.gallery-large {
    grid-column: span 2;
    grid-row: span 2
}

.gallery-item:nth-child(3) {
    background: linear-gradient(145deg,#c4b39e,#7d8b84)
}

.gallery-item:nth-child(4) {
    background: linear-gradient(145deg,#687a73,#b4a58d)
}

.gallery-item:nth-child(5) {
    background: linear-gradient(145deg,#9b8877,#394b44)
}

.explore-card {
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee9df
}

.explore-photo {
    height: 240px;
    background: linear-gradient(135deg,#71897d,#bcc6bd);     
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.apartment-card-image {
    height: 260px;
    overflow: hidden;
}

    .apartment-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.p2 {
    background: linear-gradient(135deg,#405a4d,#9dad98)
}

.p3 {
    background: linear-gradient(135deg,#8b7c69,#c9baa4)
}

.explore-card p {
    color: var(--muted);
    margin-bottom: 0
}

.booking-section {
    background: #ede6da
}

.booking-box {
    max-width: 850px;
    padding: 3rem;
    border-radius: 28px;
    background: #f8f5ef
}

    .booking-box p {
        max-width: 620px
    }

.footer {
    background: #101815
}

    .footer a {
        display: block;
        color: rgba(255,255,255,.6);
        text-decoration: none;
        margin: .45rem 0
    }

        .footer a:hover {
            color: #fff
        }

    .footer h6 {
        font-weight: 700;
        margin-bottom: 1rem
    }


.editable-resource {
    position: relative;
    display: inline;
}

.resource-edit-button {
    position: absolute;
    left: 0;
    bottom: 100%;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: #c99539;
    color: white;
    display: grid;
    place-items: center;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}

.editable-resource:hover .resource-edit-button {
    opacity: 1;
    pointer-events: auto;
}

.resource-edit-button i {
    font-size: 12px;
}


@media(max-width:991.98px) {
    .navbar {
        background: rgba(20,30,27,.96)
    }

    .hero {
        min-height: 800px
    }

    .gallery-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .gallery-large {
        grid-column: span 2
    }

    .wellness-image {
        min-height: 400px
    }
}

@media(max-width:575.98px) {
    .hero h1 {
        font-size: 3.1rem
    }

    .hero {
        min-height: 760px
    }

    .gallery-grid {
        grid-auto-rows: 170px
    }

    .booking-box {
        padding: 2rem 1.25rem
    }

    .placeholder-photo {
        min-height: 260px
    }
}


/* Apartment Mija detail page */
.app-hero {
    height: 82vh;
    min-height: 660px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(125deg,#354c44 0%,#8b9a8f 44%,#c5b49c 100%)
}

    .app-hero:before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 76% 30%,rgba(255,255,255,.18),transparent 25%),linear-gradient(120deg,rgba(16,27,23,.12),rgba(16,27,23,.03))
    }

.app-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(8,15,13,.86),rgba(8,15,13,.03) 70%)
}

.back-link {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600
}

    .back-link:hover {
        color: #fff
    }

.app-hero-pills span, .wellness-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .62rem .9rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: .9rem
}

.app-bookbar {
    position: sticky;
    top: 0;
    z-index: 1015;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #ece8df
}

.app-facts {
    border: 1px solid #ece8df;
    border-radius: 26px;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 22px 55px rgba(33,46,41,.06)
}

.app-fact {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem;
    border-bottom: 1px solid #f0ede7
}

    .app-fact:last-child {
        border-bottom: 0
    }

    .app-fact i {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        background: var(--cream);
        display: grid;
        place-items: center;
        font-size: 1.2rem;
        color: var(--green)
    }

    .app-fact strong, .app-fact span {
        display: block
    }

    .app-fact span {
        font-size: .88rem;
        color: var(--muted);
        margin-top: .12rem
    }

.app-gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 280px 280px;
    grid-auto-rows: 280px;
    gap: 14px
}

.app-photo {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(145deg,#8d9d95,#cdbda5);
    text-decoration: none;
    color: inherit;
    cursor: pointer
}

    .app-photo:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top,rgba(15,23,20,.48),transparent 55%)
    }

    .app-photo span {
        position: relative;
        z-index: 1;
        color: #fff;
        font-weight: 700;
        letter-spacing: .12em;
        font-size: .76rem
    }

    .app-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
        transition: transform .5s ease;
    }

    .app-photo:hover img {
        transform: scale(1.04);
    }

.app-photo-main {
    grid-row: span 2;
    background: linear-gradient(140deg,#74887e,#d2c2a9)
}

.app-photo-bedroom {
    background: linear-gradient(135deg,#a99885,#d7cabc)
}

.app-photo-kitchen {
    background: linear-gradient(135deg,#5f746a,#b4c1b8)
}

.app-photo-bath {
    background: linear-gradient(135deg,#c4b7a5,#7b8983)
}

.app-photo-detail {
    background: linear-gradient(135deg,#7b685a,#b6a38d)
}

.amenity-card {
    height: 100%;
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid #ebe7df;
    border-radius: 18px;
    background: #fff
}

    .amenity-card i {
        font-size: 1.45rem;
        color: var(--green)
    }

    .amenity-card strong, .amenity-card span {
        display: block
    }

    .amenity-card span {
        font-size: .86rem;
        color: var(--muted);
        margin-top: .22rem
    }

.app-wellness {
    background: #14231d
}

.py-lg-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important
}


.location-list > div {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd6ca
}

    .location-list > div > span {
        font-family: 'Playfair Display',serif;
        color: #a79b88;
        font-size: 1.1rem
    }

.location-list strong, .location-list small {
    display: block
}

.location-list small {
    color: var(--muted);
    margin-top: .18rem
}


.app-book-card {
    padding: 3rem;
    border-radius: 30px;
    background: #f4f0e8;
    border: 1px solid #e9e2d7
}

@media(max-width:991.98px) {
    .app-hero {
        height: 760px;
        min-height: 0
    }

    .app-bookbar {
        top: 64px
    }

    .app-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 320px 220px 220px;
        grid-auto-rows: 220px
    }

    .app-photo-main {
        grid-column: span 2;
        grid-row: auto
    }

    .app-wellness-photo {
        min-height: 380px
    }

    .py-lg-6 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important
    }
}

@media(max-width:575.98px) {
    .app-hero {
        height: 700px
    }

    .app-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 260px repeat(4,190px);
        grid-auto-rows: 190px
    }

    .app-photo-main {
        grid-column: auto
    }

    .app-book-card {
        padding: 2rem 1.25rem
    }

    .app-bookbar {
        position: relative;
        top: auto
    }
}


.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
        transition: transform .5s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.04);
    }

    .gallery-item::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 55% );
        pointer-events: none;
    }

    .gallery-item span {
        position: absolute;
        left: 24px;
        bottom: 20px;
        z-index: 2;
        color: #fff;
        font-size: 1rem;
        font-weight: 600;
    }

@media (max-width: 991.98px) {
    .gallery-item {

    }
}


.testimonial-card {
    border: 1px solid #ebe7df;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(33,46,41,.06);
}

    .testimonial-card p {
        font-style: italic;
    }


.dining-card {
    height: 100%;
    border: 1px solid #ebe7df;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(33,46,41,.06);
}

.dining-icon {
    font-size: 1.6rem;
    color: var(--green);
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--cream);
    display: grid;
    place-items: center;
}


.dining-carousel {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: .75rem;
}

.dining-track {
    position: relative;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: .25rem 0 1rem;
    flex: 1 1 auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.dining-slide {
    flex: 0 0 calc((100% - 3rem) / 3);
    scroll-snap-align: start;
    min-width: 0;
}

.dining-nav {
    flex: 0 0 auto;
    align-self: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #ebe7df;
    background: #fff;
    color: var(--ink);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: .2s;
    box-shadow: 0 8px 20px rgba(33,46,41,.08);
}

    .dining-nav:hover {
        background: var(--green);
        border-color: var(--green);
        color: #fff;
    }

    .dining-nav:disabled {
        visibility: hidden;
        cursor: default;
        pointer-events: none;
    }

@media (max-width: 991.98px) {
    .dining-slide {
        flex-basis: calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 575.98px) {
    .dining-slide {
        flex-basis: 100%;
    }

    .dining-nav {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}


.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background: var(--ink);
    color: #fff;
    padding: 1rem 1.25rem;
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

    .cookie-banner-inner p {
        margin: 0;
        font-size: .9rem;
        color: #fff;
        opacity: .85;
    }

    .cookie-banner-inner a {
        color: #fff;
        text-decoration: underline;
    }


.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(23,32,29,.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-stage {
    position: relative;
    max-width: 1100px;
    max-height: 88vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .lightbox-stage img {
        max-width: 100%;
        max-height: 76vh;
        width: auto;
        border-radius: 12px;
        box-shadow: 0 30px 80px rgba(0,0,0,.5);
        object-fit: contain;
    }

.lightbox-caption {
    color: #fff;
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
}

.lightbox-counter {
    color: rgba(255,255,255,.55);
    font-size: .8rem;
    letter-spacing: .04em;
    margin-top: .25rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: none;
    background: rgba(255,255,255,.1);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: .2s;
    z-index: 1081;
}

    .lightbox-close:hover,
    .lightbox-prev:hover,
    .lightbox-next:hover {
        background: rgba(255,255,255,.22);
    }

.lightbox-close {
    top: 1.25rem;
    right: 1.25rem;
}

.lightbox-prev {
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 767.98px) {
    .lightbox {
        padding: 1rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lightbox-prev {
        left: .5rem;
    }

    .lightbox-next {
        right: .5rem;
    }

    .lightbox-close {
        top: .5rem;
        right: .5rem;
    }
}

