/* ============================================================
   NOLIA HOME — Variables & Fonts
   ============================================================ */
:root {
    --nd-moss: #526248;
    --nd-bronze: #af9666;
    --nd-cream: #f4f2eb;
    --nd-sand: #edeae0;
    --nd-dark: #2a2a2a;
    --nd-light: #fafaf8;
    --nd-font-heading: 'Playfair Display', serif;
    --nd-font-body: 'Inter', sans-serif;
    --nd-font-accent: 'Cormorant Garamond', 'Playfair Display', serif;
}

/* ============================================================
   Shared Components
   ============================================================ */
.nd-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--nd-bronze);
    font-family: var(--nd-font-accent);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.nd-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 32px;
}

.nd-section-header h2 {
    color: var(--nd-moss);
    font-family: var(--nd-font-heading);
    font-size: 36px;
    line-height: 1.25;
    margin: 0;
}

.nd-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--nd-moss);
    font-family: var(--nd-font-body);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nd-link-arrow:hover {
    color: var(--nd-bronze);
}

.nd-link-arrow i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.nd-link-arrow:hover i {
    transform: translateX(4px);
}

.nd-link-underline {
    display: inline-block;
    color: var(--nd-moss);
    font-family: var(--nd-font-body);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid var(--nd-bronze);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.nd-link-underline:hover {
    color: var(--nd-bronze);
    border-color: var(--nd-bronze);
}

/* ============================================================
   1. HERO
   ============================================================ */
.nd-hero {
    padding: 10px 0 12px;
    background: var(--nd-cream);
}

.nd-hero__stage {
    position: relative;
    width: 100vw;
    max-width: 100%;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 12px 8px 40px;
    overflow: hidden;
}

/* Carousel */
.nd-hero__carousel.owl-carousel .owl-stage-outer {
    overflow: visible !important;
    padding: 24px 0;
}

.nd-hero__slide {
    transform-origin: center;
    transition: transform 0.55s cubic-bezier(0.25, 0.9, 0.32, 1),
                opacity 0.45s ease;
}

.nd-hero__carousel .owl-item .nd-hero__slide {
    opacity: 0.75;
    transform: perspective(1400px) translateY(4px) scale(0.92);
}

.nd-hero__carousel .owl-item.active.center .nd-hero__slide,
.nd-hero__carousel:not(.owl-center) .owl-item.active .nd-hero__slide {
    opacity: 1;
    transform: perspective(1400px) translateY(0) scale(1);
    z-index: 2;
}

.nd-hero__media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1),
                0 2px 8px rgba(0, 0, 0, 0.06),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    width: 100%;
    aspect-ratio: 16 / 9;
}

.nd-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.92) saturate(0.94) grayscale(4%);
    transition: filter 0.55s ease;
}

.nd-hero__carousel .owl-item {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.nd-hero__carousel .owl-item .nd-hero__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.nd-hero__carousel .owl-item.active.center .nd-hero__media img,
.nd-hero__carousel:not(.owl-center) .owl-item.active .nd-hero__media img {
    filter: brightness(1.08) saturate(1.04) grayscale(4%);
}

.nd-hero__carousel .owl-item:not(.active.center) .nd-hero__media {
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.07);
}

/* Nav */
.nd-hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border: 1px solid var(--nd-moss);
    border-radius: 50%;
    background: rgba(244, 242, 235, 0.95);
    color: var(--nd-moss);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nd-hero__nav--prev { left: 8px; }
.nd-hero__nav--next { right: 8px; }

.nd-hero__nav:hover {
    background: var(--nd-moss);
    color: var(--nd-cream);
}

/* Glass overlay */
.nd-hero__overlay {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 50;
    pointer-events: none;
}

.nd-hero__glass {
    text-align: center;
    color: var(--nd-cream);
    padding: 20px 36px;
    border-radius: 28px;
    border: 1px solid rgba(244, 242, 235, 0.45);
    background: linear-gradient(168deg,
        rgba(244, 242, 235, 0.38) 0%,
        rgba(237, 234, 224, 0.32) 18%,
        rgba(175, 150, 102, 0.52) 48%,
        rgba(82, 98, 72, 0.58) 100%);
    box-shadow: 0 6px 18px rgba(82, 98, 72, 0.12),
                inset 0 1px 0 rgba(244, 242, 235, 0.22);
    -webkit-backdrop-filter: blur(12px) saturate(1.15);
    backdrop-filter: blur(12px) saturate(1.15);
    max-width: 520px;
    width: max-content;
}

.nd-hero__eyebrow {
    display: block;
    margin-bottom: 8px;
    font-family: var(--nd-font-accent);
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--nd-cream);
    opacity: 0.95;
}

.nd-hero__headline {
    font-family: var(--nd-font-heading);
    color: var(--nd-cream);
    font-size: 32px;
    line-height: 1.2;
    font-weight: 500;
    margin: 0;
    filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.35));
}

.nd-hero__headline span {
    font-style: italic;
}

/* CTA */
.nd-hero__cta {
    margin-top: 16px;
    text-align: center;
}

.nd-hero__cta a {
    position: relative;
    left: -7px;
    top: -15px;
    display: inline-block;
    color: var(--nd-moss);
    font-family: var(--nd-font-body);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-decoration: none;
    border-bottom: 1px solid var(--nd-bronze);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.nd-hero__cta a:hover {
    color: var(--nd-bronze);
}

/* ============================================================
   2. BOOKING ENGINE
   ============================================================ */
.nd-booking {
    background: var(--nd-sand);
    padding: 40px 0 48px;
}

.nd-booking__panel {
    border: 1px solid rgba(82, 98, 72, 0.2);
    background: #EDEAE0;
    padding: 24px 24px;
}

.nd-booking__head {
    margin-bottom: 24px;
}

.nd-booking__head h3 {
    color: var(--nd-moss);
    font-family: var(--nd-font-heading);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

.nd-booking__head p {
    margin: 6px 0 0;
    color: var(--nd-moss);
    font-family: var(--nd-font-body);
    opacity: 0.7;
    font-size: 14px;
}

.nd-booking__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    align-items: end;
}

.nd-booking__grid label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nd-booking__grid label span {
    color: var(--nd-moss);
    font-family: var(--nd-font-body);
    opacity: 0.7;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nd-booking__grid input {
    height: 44px;
    border: none;
    border-bottom: 1px solid var(--nd-bronze);
    padding: 0 4px;
    background: transparent;
    color: var(--nd-moss);
    font-family: var(--nd-font-body);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.nd-booking__grid input:focus {
    border-color: var(--nd-moss);
}

.nd-booking__submit {
    grid-column: span 1;
}

.nd-booking__submit button {
    width: 100%;
    height: 44px;
    border: none;
    background: var(--nd-moss);
    color: var(--nd-cream);
    font-family: var(--nd-font-body);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.5s ease;
}

.nd-booking__submit button:hover {
    background: var(--nd-bronze);
}

/* ============================================================
   3. STORY
   ============================================================ */
.nd-story {
    background: var(--nd-cream);
    padding: 64px 0 72px;
}

.nd-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.nd-story__image {
    overflow: hidden;
    border: 1px solid var(--nd-bronze);
}

.nd-story__image img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: grayscale(15%);
    transition: filter 0.7s ease;
}

.nd-story__image:hover img {
    filter: grayscale(0%);
}

.nd-story__content h2 {
    color: var(--nd-moss);
    font-family: var(--nd-font-heading);
    font-size: 32px;
    line-height: 1.25;
    margin: 0 0 20px;
}

.nd-story__content p {
    color: var(--nd-moss);
    font-family: var(--nd-font-body);
    font-size: 17px;
    line-height: 1.75;
    opacity: 0.9;
    font-weight: 300;
}

/* ============================================================
   4. ROOMS CAROUSEL
   ============================================================ */
.nd-rooms {
    background: var(--nd-sand);
    padding: 64px 0 72px;
}

.nd-rooms h2 {
    color: var(--nd-moss);
    font-family: var(--nd-font-heading);
    font-size: 36px;
    line-height: 1.25;
    margin: 0;
}

.nd-section-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nd-rooms__navs {
    display: flex;
    gap: 8px;
}

.nd-rooms__nav {
    width: 40px;
    height: 40px;
    border: 1px solid var(--nd-moss);
    border-radius: 50%;
    background: transparent;
    color: var(--nd-moss);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.nd-rooms__nav:hover {
    background: var(--nd-moss);
    color: var(--nd-cream);
}

.nd-rooms__carousel-wrap {
    position: relative;
}

/* Room card */
.nd-room-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.owl-carousel .nd-rooms__carousel .owl-item,
.nd-rooms__carousel .owl-item > div {
    height: 100%;
}

.nd-rooms__carousel .owl-stage {
    display: flex;
}

.nd-room-card__thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    margin-bottom: 14px;
}

.nd-room-card__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(10%);
    transition: transform 0.7s ease, filter 0.7s ease;
}

.nd-room-card:hover .nd-room-card__thumb img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.nd-room-card__body {
    padding-top: 4px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nd-room-card__price {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(82, 98, 72, 0.18);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    color: var(--nd-moss);
}

.nd-room-card__price-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.nd-room-card__from {
    font-family: var(--nd-font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--nd-bronze);
}

.nd-room-card__amounts {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.nd-room-card__amount {
    font-family: var(--nd-font-heading);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--nd-moss);
    font-variant-numeric: tabular-nums;
}

.nd-room-card__currency {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--nd-bronze);
    margin-left: 2px;
}

.nd-room-card__amount-old {
    font-family: var(--nd-font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--nd-moss);
    opacity: 0.55;
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.nd-room-card__discount {
    flex-shrink: 0;
    align-self: center;
    padding: 6px 12px;
    font-family: var(--nd-font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nd-cream);
    background: var(--nd-bronze);
    border-radius: 2px;
    white-space: nowrap;
}

.nd-room-card:hover .nd-room-card__discount {
    background: var(--nd-moss);
}

@media (max-width: 480px) {
    .nd-room-card__amount { font-size: 19px; }
    .nd-room-card__price { gap: 10px; }
    .nd-room-card__discount { padding: 5px 9px; font-size: 9px; }
}

.nd-room-card h3 {
    color: var(--nd-moss);
    font-family: var(--nd-font-heading);
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 6px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(24px * 1.3);
}

.nd-room-card:hover h3 {
    color: var(--nd-bronze);
}

.nd-room-card__desc {
    color: var(--nd-moss);
    font-family: var(--nd-font-body);
    font-size: 14px;
    line-height: 1.65;
    opacity: 0.88;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 14px;
    min-height: calc(14px * 1.65 * 2);
}

.nd-room-card__desc > * {
    display: inline;
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    line-height: inherit;
}

.nd-room-card__desc br {
    display: none;
}

/* ============================================================
   5. MAP
   ============================================================ */
.nd-map {
    background: var(--nd-cream);
    padding: 64px 0 72px;
}

.nd-map h2 {
    color: var(--nd-moss);
    font-family: var(--nd-font-heading);
    font-size: 36px;
    line-height: 1.25;
    margin: 0 0 20px;
}

.nd-map__frame {
    border: 1px solid rgba(82, 98, 72, 0.15);
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.nd-map__frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.nd-map__caption {
    margin-top: 12px;
    color: var(--nd-moss);
    font-family: var(--nd-font-body);
    font-size: 14px;
    opacity: 0.75;
    font-weight: 300;
}

/* ============================================================
   6. SERVICES COLLAGE
   ============================================================ */
.nd-services {
    background: var(--nd-sand);
    padding: 64px 0 72px;
}

.nd-services h2 {
    color: var(--nd-moss);
    font-family: var(--nd-font-heading);
    font-size: 36px;
    line-height: 1.25;
    margin: 0;
}

.nd-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.nd-service-tile {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    text-decoration: none;
}

.nd-service-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(18%);
    transition: transform 0.7s ease, filter 0.7s ease;
}

.nd-service-tile:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.nd-service-tile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.2), transparent);
    pointer-events: none;
}

.nd-service-tile__text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 16px 20px;
}

.nd-service-tile__text span {
    display: block;
    color: #fff;
    font-family: var(--nd-font-body);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 11px;
    opacity: 0.9;
}

.nd-service-tile__text h3 {
    margin: 6px 0 0;
    color: #fff;
    font-family: var(--nd-font-heading);
    font-size: 18px;
    line-height: 1.3;
}

/* ============================================================
   7. QUOTE
   ============================================================ */
.nd-quote {
    background: var(--nd-moss);
    padding: 64px 0 72px;
    color: var(--nd-cream);
    text-align: center;
}

.nd-quote blockquote {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    border: none;
    font-family: var(--nd-font-heading);
    font-size: 28px;
    line-height: 1.5;
    font-style: italic;
    font-weight: 300;
    color: var(--nd-cream);
}

.nd-quote__author {
    margin: 32px 0 0;
    font-family: var(--nd-font-body);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ============================================================
   RESPONSIVE — Tablet (max-width: 991px)
   ============================================================ */
@media (max-width: 991px) {
    .nd-hero__stage {
        padding: 8px 20px 32px;
    }

    .nd-hero__carousel.owl-carousel .owl-stage-outer {
        overflow: hidden !important;
    }

    .nd-hero__media {
        border-radius: 18px;
    }

    .nd-hero__overlay {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        display: flex;
        justify-content: center;
        margin-top: 12px;
    }

    .nd-hero__glass {
        width: 100%;
        max-width: 100%;
        border-radius: 18px;
        background: rgba(82, 98, 72, 0.95);
        border-color: rgba(82, 98, 72, 0.18);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: 0 4px 14px rgba(82, 98, 72, 0.1);
    }

    .nd-hero__nav {
        display: none;
    }

    .nd-hero__headline,
    .nd-story__content h2,
    .nd-rooms h2,
    .nd-map h2,
    .nd-services h2 {
        font-size: 28px;
    }

    .nd-booking__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nd-booking__submit {
        grid-column: span 2;
    }

    .nd-story__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nd-story__image {
        order: 2;
    }

    .nd-story__content {
        order: 1;
    }

    .nd-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nd-quote blockquote {
        font-size: 22px;
    }
}

/* ============================================================
   RESPONSIVE — Mobile (max-width: 640px)
   ============================================================ */
@media (max-width: 640px) {
    .nd-hero__stage {
        padding: 6px 12px 24px;
    }

    .nd-hero__glass {
        padding: 16px 20px;
    }

    .nd-hero__headline {
        font-size: 22px;
    }

    .nd-hero__eyebrow {
        font-size: 9px;
        letter-spacing: 0.12em;
        white-space: nowrap;
    }

    .nd-booking__grid {
        grid-template-columns: 1fr;
    }

    .nd-booking__submit {
        grid-column: span 1;
    }

    .nd-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nd-rooms__navs {
        display: none;
    }

    .nd-section-header__actions {
        width: 100%;
    }

    .nd-services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .nd-service-tile__text h3 {
        font-size: 15px;
    }

    .nd-quote blockquote {
        font-size: 20px;
    }
}
