/* =====================================================================
   NOVA Brasserie page styles — nv-* only.
   Same running order as the Pool / Ballroom / Meeting Rooms pages:
   hero, a content section, the gallery, the CTA banner, the collapsible.
   ===================================================================== */

/* ---------- Shared eyebrow + section headings ---------- */
.nv-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.85rem;
}
.nv-section-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin: 0 0 1.25rem;
}
.nv-section-sub {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 2.5rem;
}

/* === Breadcrumbs === */
.breadcrumbs { background: var(--extra-light); border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06); }
.breadcrumbs_inner { max-width: var(--max-width); margin: 0 auto; padding: 0.85rem 1rem; display: flex; align-items: center; gap: .5rem; font-size: .95rem; }
.breadcrumbs a { color: var(--text-dark); font-weight: 600; }
.breadcrumbs .current { color: var(--text-light); }

/* =====================================================================
   Hero
   ===================================================================== */
.nv-edge {
    position: relative;
    background: var(--white);
    padding: 0 0 clamp(4rem, 9vw, 7rem);
    /* hero-about-us-style.css gives the bare header selector min-height 100vh. */
    min-height: 0;
    isolation: isolate;
    --nv-card-overlap: 5rem;
    --nv-crumb-h: 3rem;
}

.nv-edge .breadcrumbs {
    position: relative;
    z-index: 1;
    min-height: var(--nv-crumb-h);
    display: flex;
    align-items: center;
}
.nv-edge .breadcrumbs_inner { width: 100%; padding-block: 0; }

/* The hero card sits over the middle of this strip and these page names are
   long, so the trail leaves the centred box and hugs the left edge instead. */
.nv-edge .breadcrumbs_inner {
    max-width: none;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.nv-edge_media {
    position: relative;
    margin: 0;
    height: 88vh;
    min-height: 560px;
    overflow: hidden;
}

/* The global sheet sizes and darkens these for a 100vh header; scope it back. */
.nv-edge .header_bg_swiper,
.nv-edge .header_bg_swiper .swiper-slide { width: 100%; height: 100%; }
.nv-edge .header_bg_swiper { position: absolute; inset: 0; }
.nv-edge .header_bg_swiper img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block !important;
    filter: none;
}

.nv-edge_card {
    position: relative;
    z-index: 2;
    max-width: min(660px, calc(100% - 2.5rem));
    margin: calc((var(--nv-card-overlap) + var(--nv-crumb-h)) * -1) auto 0;
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--white);
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 24px 60px rgba(10, 34, 64, 0.14);
    text-align: center;
    animation: nv-hero-rise 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nv-edge_title {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    color: var(--text-dark);
    font-weight: 300;
    letter-spacing: 0.04em;
    line-height: 1.08;
    margin: 0 0 1.4rem;
}

.nv-edge_card p,
.nv-edge_copy { color: var(--text-light); line-height: 1.85; margin: 0 0 1.75rem; }
.nv-edge_copy p { margin: 0 0 1.1rem; }
.nv-edge_copy p:last-child { margin-bottom: 0; }

.nv-edge_scroll {
    position: absolute;
    left: 50%;
    bottom: calc(var(--nv-card-overlap) + 2.5rem);
    z-index: 3;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: var(--white);
    font-size: 1.15rem;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    animation: nv-bounce 2.4s ease-in-out infinite;
}
.nv-edge_scroll:hover { background: var(--primary-color); border-color: var(--primary-color); color: var(--white); }

.nv-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    padding: 0;
    margin: 0;
}
.nv-chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.2rem;
    background: var(--cream-light, #f9f7f4);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: background 0.3s ease, transform 0.25s ease, border-color 0.3s ease;
}
.nv-chips li:hover { background: var(--white); border-color: var(--primary-color); transform: translateY(-2px); }
.nv-chips i { color: var(--primary-color); font-size: 1.05rem; }

@keyframes nv-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(7px); }
}
@keyframes nv-hero-rise {
    from { opacity: 0; transform: translateY(34px); }
    to   { opacity: 1; transform: none; }
}

/* Info Cards */
.nv-info { background: var(--white); padding-bottom: 2rem; }
.nv-info_inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.nv-info_card {
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
    background: var(--cream-light, #f9f7f4);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 2px solid var(--primary-color);
}
.nv-info_title {
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 1.35rem;
}
.nv-info_list { list-style: none; padding: 0; margin: 0; }
.nv-info_list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.nv-info_list li:first-child { border-top: 0; padding-top: 0; }
.nv-info_day { color: var(--text-dark); font-weight: 600; font-size: 0.95rem; }
.nv-info_time { color: var(--text-light); font-size: 0.95rem; text-align: right; }

/* More Information Coming Soon */
.nv-soon {
    background: var(--cream-light, #f9f7f4);
    padding: clamp(3.5rem, 8vw, 5rem) 1.25rem;
    text-align: center;
}
.nv-soon_inner { max-width: 640px; margin: 0 auto; }

/* A rule across the middle with the seal set on it. */
.nv-soon_rule {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    max-width: 320px;
    margin: 0 auto 1.75rem;
}
.nv-soon_rule::before,
.nv-soon_rule::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(196, 156, 116, 0.8), transparent);
}
.nv-soon_seal {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.1rem;
    background: var(--white);
}
.nv-soon_text { color: var(--text-light); line-height: 1.85; margin: 0 0 1.5rem; }
.nv-soon_note {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-color);
}

/* Gallery */
.nv-bays { background: var(--white); padding: clamp(3.5rem, 8vw, 5.5rem) 1.25rem clamp(4rem, 9vw, 6rem); }
.nv-bays_inner { max-width: 1040px; margin: 0 auto; }
.nv-bays_head { text-align: center; }

.nv-bays_run {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* The gap is the mullion; the rule below draws in it. */
    gap: 14px;
    background: rgba(196, 156, 116, 0.55);
    padding: 1px;
    box-shadow: 0 24px 56px rgba(10, 34, 64, 0.16);
}

.nv-bay {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #efece7;
}

/* The reveal at the head of the bay, and the light falling down the glass. */
.nv-bay_glass { position: absolute; inset: 0; }
.nv-bay::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0) 16%),
        linear-gradient(105deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 34%);
}

.nv-pane {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.85s ease, transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Without JS the first photograph in each bay still shows. */
.nv-pane:first-of-type { opacity: 1; transform: none; }
/* Once JS has the run, it decides which pane is up. */
.nv-bays_run.is-live .nv-pane { opacity: 0; }
.nv-bays_run.is-live .nv-pane.is-on { opacity: 1; transform: none; }
.nv-pane img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    display: block !important;
}

.nv-bay_no {
    position: absolute;
    left: 0.9rem;
    bottom: 1.1rem;
    z-index: 4;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--white);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

/* The sill the bay sits on. */
.nv-bay_sill {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    height: 5px;
    background: linear-gradient(to bottom, rgba(196, 156, 116, 0.85), rgba(150, 116, 82, 0.55));
}

.nv-bays_bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    margin-top: 1.75rem;
}
.nv-bays_step {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 50%;
    background: var(--white);
    color: var(--text-dark);
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.nv-bays_step:hover { background: var(--primary-color); border-color: var(--primary-color); color: var(--white); }
.nv-bays_count {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: var(--text-light);
    min-width: 6.5em;
    text-align: center;
}

/* Fewer photographs than bays, or only one — the controls stand down. */
.nv-bays.is-static .nv-bays_bar { display: none; }

/* =====================================================================
   CTA banner
   ===================================================================== */
.nv-cta {
    position: relative;
    min-height: 440px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--white);
    padding: 6rem 1.25rem;
    isolation: isolate;
}
.nv-cta_media { position: absolute; inset: 0; z-index: 0; }
.nv-cta_media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block !important;
}
.nv-cta_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 34, 64, 0.85) 0%, rgba(10, 34, 64, 0.7) 100%);
}
.nv-cta_content { position: relative; z-index: 2; text-align: center; max-width: 900px; width: 100%; }
.nv-cta_eyebrow {
    display: inline-block;
    font-size: 0.86rem;
    letter-spacing: 0.44em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.nv-cta_title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: var(--white);
    font-weight: 400;
    margin: 1rem auto;
    letter-spacing: 0.02em;
    line-height: 1.15;
    max-width: 620px;
}
.nv-cta_text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto 2rem;
}
.nv-cta_actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.nv-cta_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2.6rem;
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
    font-family: 'roasterregular', sans-serif;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease,
                transform 0.2s ease, box-shadow 0.35s ease;
}
.nv-cta_btn:hover {
    background: var(--primary-color);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(196, 156, 116, 0.35);
}
.nv-cta_icon { transition: transform 0.3s ease; }
.nv-cta_btn:hover .nv-cta_icon--arrow { transform: translateX(5px); }

/* =====================================================================
   Scroll-reveal — JS toggles .is-visible
   ===================================================================== */
.nv-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.nv-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .nv-edge_card,
    .nv-edge_scroll { animation: none !important; }
    .nv-edge_scroll { transform: translateX(-50%); }
    .nv-reveal { opacity: 1; transform: none; transition: none; }
    .nv-pane { transition: opacity 0.25s ease; transform: none; }
}

/* =====================================================================
   Narrower screens
   ===================================================================== */
@media (max-width: 820px) {
    /* Three tall bays get too narrow to read, so the run drops to two. */
    .nv-bays_run { grid-template-columns: repeat(2, 1fr); }
    .nv-bay:nth-child(3) { display: none; }
}

@media (max-width: 520px) {
    .nv-bays_run { grid-template-columns: 1fr; }
    .nv-bay:nth-child(2) { display: none; }
    .nv-bay { aspect-ratio: 4 / 5; }
}

@media (max-width: 640px) {
    .nv-edge_media { height: 78vh; min-height: 460px; }
    .nv-edge { --nv-card-overlap: 2.5rem; }
    .nv-info,
    .nv-soon,
    .nv-bays,
    .nv-cta { padding-left: 1rem; padding-right: 1rem; }
    .nv-cta { padding-top: 4.5rem; padding-bottom: 4.5rem; min-height: 380px; }
    .nv-cta_eyebrow { font-size: 0.78rem; letter-spacing: 0.36em; }
    .nv-info_list li { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
    .nv-info_time { text-align: left; }
    .nv-bays_count { min-width: 5.5em; letter-spacing: 0.18em; }
}
