:root {
    --ink: #3f2e34;          /* warm plum-brown */
    --muted: #927e84;        /* mauve-gray */
    --line: #f1e2e7;         /* blush line */
    --bg: #fdf7f8;           /* soft blush white */
    --paper: #ffffff;
    --accent: #cf8aa0;       /* dusty rose */
    --accent-dark: #a8607a;  /* deep rose / mauve */
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Inter", system-ui, -apple-system, sans-serif;
    --maxw: 1080px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    font-weight: 300;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: .3px; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin: 0 0 .6em; }
h3 { font-size: 1.3rem; margin: 0 0 .4em; }
p { margin: 0 0 1rem; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--sans);
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .85rem 1.8rem;
    border: 1px solid var(--accent);
    border-radius: 2px;
    cursor: pointer;
    transition: all .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--accent-dark); }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* Coming soon screen */
.coming-soon-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}
.coming-soon-inner { max-width: 600px; }
.cs-eyebrow { text-transform: uppercase; letter-spacing: .35em; font-size: .8rem; color: var(--accent-dark); margin-bottom: 1.2rem; }
.coming-soon-page h1 { font-size: clamp(3rem, 8vw, 5rem); margin: 0 0 1rem; }
.cs-lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 1.5rem; }
.cs-contact { font-size: 1rem; }
.cs-footer { position: absolute; bottom: 1.5rem; left: 0; right: 0; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253,252,250,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); letter-spacing: .5px; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { color: var(--ink); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.nav-links a.active { color: var(--accent-dark); }
.nav-cta { border: 1px solid var(--accent); padding: .5rem 1.1rem !important; border-radius: 2px; }
.nav-cta:hover { background: var(--accent); color: #fff !important; text-decoration: none; }
.nav-toggle, .nav-burger { display: none; }

/* Sections */
main { min-height: 60vh; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Hero */
.hero { padding: 7rem 0 6rem; text-align: center; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: .8rem; color: var(--accent-dark); margin-bottom: 1.5rem; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 600px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Grid */
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 2rem; }
.card h3 { color: var(--accent-dark); }

/* Pricing */
.price { font-family: var(--serif); font-size: 2.2rem; color: var(--ink); margin: .2rem 0 .6rem; }
.price small { font-size: .9rem; color: var(--muted); font-family: var(--sans); }
.feature-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.feature-list li { padding: .4rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.feature-list li:before { content: "—"; color: var(--accent); margin-right: .6rem; }

/* Booking embed */
.embed-frame { width: 100%; min-height: 760px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.embed-note { background: #fff7e6; border: 1px solid #f0e0b8; border-radius: 4px; padding: 1rem 1.25rem; font-size: .9rem; color: #7a6a3a; }

/* Forms */
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .4rem; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 3px; font-family: var(--sans); font-size: 1rem; background: var(--paper); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field .validation-message { display: block; color: var(--accent-dark); font-size: .82rem; margin-top: .35rem; }

/* Footer */
.site-footer { background: var(--ink); color: #e8e6e1; padding: 3rem 0; margin-top: 4rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1.2rem; }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; }
.site-footer .muted { color: #a8a49c; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: #e8e6e1; font-size: .9rem; }

/* Boot loader */
.boot-loader { display: flex; align-items: center; justify-content: center; height: 100vh; font-family: var(--serif); font-size: 1.6rem; color: var(--accent-dark); letter-spacing: 1px; }

/* Error UI */
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #2b2b29; color: #fff; padding: 1rem 1.5rem; z-index: 1000; }
#blazor-error-ui .reload, #blazor-error-ui .dismiss { color: #fff; margin-left: 1rem; cursor: pointer; }

/* Responsive */
@media (max-width: 820px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }

    .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; }
    .nav-burger span { width: 24px; height: 2px; background: var(--ink); display: block; }

    .nav-links {
        position: absolute; top: 70px; left: 0; right: 0;
        background: var(--bg); border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: flex-start; gap: 0;
        padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height .25s ease;
    }
    .nav-links.open { max-height: 420px; padding: 1rem 1.5rem; }
    .nav-links a { width: 100%; padding: .7rem 0; }
}

/* ============================================================
   Visual polish: hero, animations, gallery, hover effects
   ============================================================ */

/* --- Nav logout button (styled like a nav link) --- */
.nav-logout { display: inline; margin: 0; }
.nav-logout button {
    background: none; border: none; cursor: pointer; padding: 0;
    font-family: var(--sans); color: var(--ink); font-size: .9rem;
    letter-spacing: .06em; text-transform: uppercase;
}
.nav-logout button:hover { color: var(--accent-dark); }

/* --- Brand logo in header --- */
.brand { display: inline-flex; align-items: center; }
.brand-mark { height: 60px; width: auto; display: block; }

/* --- Hero with placeholder background --- */
.hero {
    position: relative;
    padding: 7rem 1.5rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(rgba(253,247,248,.5), rgba(253,247,248,.7)),
                url('../img/hero.svg') center / cover no-repeat;
}
.hero-content { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: .8rem; color: var(--accent-dark); margin-bottom: 1.5rem; }
.hero h1 { text-shadow: 0 1px 20px rgba(253,247,248,.7); }
.hero p.lead { font-size: 1.25rem; color: #7a6870; max-width: 600px; margin: 0 auto 2rem; }

/* Hero entrance (plays on load / navigation) */
@media (prefers-reduced-motion: no-preference) {
    .hero-content > * { animation: heroIn .9s both cubic-bezier(.2,.7,.2,1); }
    .hero-content > .eyebrow { animation-delay: .05s; }
    .hero-content > h1 { animation-delay: .18s; }
    .hero-content > .lead { animation-delay: .34s; }
    .hero-content > .hero-actions { animation-delay: .5s; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* --- Scroll reveal --- */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
    .js .reveal.revealed { opacity: 1; transform: none; }
    .js .reveal.d1 { transition-delay: .1s; }
    .js .reveal.d2 { transition-delay: .2s; }
    .js .reveal.d3 { transition-delay: .3s; }
    .js .reveal.d4 { transition-delay: .4s; }
}

/* --- Section heading divider --- */
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .rule { width: 56px; height: 1px; background: var(--accent); margin: 1rem auto 0; opacity: .6; }

/* --- Card hover lift --- */
.card { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(43,43,41,.10); }

/* --- Button hover lift --- */
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(138,154,123,.4); }
.btn-outline:hover { transform: translateY(-2px); }

/* --- Gallery --- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 3 / 2;
    box-shadow: 0 6px 20px rgba(43,43,41,.07);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(transparent 55%, rgba(43,43,41,.32));
    opacity: 0; transition: opacity .4s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .cap {
    position: absolute; left: 1.1rem; bottom: .9rem; z-index: 2;
    color: #fff; font-family: var(--serif); font-size: 1.15rem; letter-spacing: .3px;
    opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease;
}
.gallery-item:hover .cap { opacity: 1; transform: none; }

/* --- About: story split --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-img { border-radius: 6px; overflow: hidden; box-shadow: 0 14px 36px rgba(43,43,41,.10); }
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 820px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { min-height: 70vh; padding: 5rem 1.25rem; }
    .split { grid-template-columns: 1fr; gap: 2rem; }
    .split-img { order: -1; max-height: 360px; }
}
@media (max-width: 520px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* --- Star rating --- */
.stars { display: inline-flex; gap: .15rem; line-height: 1; }
.stars .star { color: var(--line); font-size: 1.4rem; }
.stars .star.on { color: var(--accent); }
.stars.stars-input .star {
    background: none; border: none; padding: 0 .05rem; cursor: pointer;
    font-size: 2rem; color: #e7d3da; transition: color .15s ease, transform .15s ease;
}
.stars.stars-input .star:hover { transform: scale(1.12); }
.stars.stars-input .star.on { color: var(--accent); }

/* --- Reviews --- */
.reviews-summary { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; }
.reviews-summary .reviews-avg { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); }
.reviews-grid { align-items: start; }
.review-card { margin: 0; display: flex; flex-direction: column; gap: .9rem; }
.review-card blockquote { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; color: var(--ink); }
.review-card figcaption { font-size: .95rem; color: var(--ink); }
.review-card figcaption .muted { font-style: italic; }
.review-thanks { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 1.5rem 1.75rem; }
.review-thanks .btn { margin-top: 1rem; }
.review-error { color: var(--accent-dark); font-size: .9rem; margin: .5rem 0 1rem; }

/* Honeypot — kept out of view for humans, still in the DOM for bots. */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Admin reviews --- */
.admin-subhead { font-size: 1.5rem; margin-bottom: 1.2rem; }
.review-admin { display: flex; flex-direction: column; gap: .8rem; }
.review-admin blockquote { margin: 0; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.review-admin figcaption { font-size: .9rem; }
.review-actions { display: flex; gap: .6rem; margin-top: .4rem; }
.review-actions .btn { padding: .5rem 1.1rem; font-size: .8rem; }
