:root{
    --forest:#1E3A2B;
    --forest-dark:#0F241A;
    --gold:#B8863E;
    --gold-light:#E9CFA0;
    --cream:#F6F1E4;
    --ivory:#FAF7F0;
    --white:#FFFFFF;
    --ink:#24291F;
    --ink-soft:#5C6155;
    --sand:#E6E0D0;
    --glass-bg:rgba(21, 42, 31, 0.42);
    --glass-border:rgba(255, 255, 255, 0.14);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; height:100%; }
body{
    font-family:'Public Sans', -apple-system, sans-serif;
    color:var(--ink);
    background:var(--ivory);
}
h1,h2,h3{ font-family:'Fraunces', Georgia, serif; font-weight:600; letter-spacing:-0.01em; margin:0; }


  

.page-header{ text-align:center; padding:44px 20px 8px; }
.page-header h1{ font-size:30px; color:var(--forest-dark); }
.page-header-rule{ width:52px; height:2px; background:var(--gold); margin:14px auto 0; }

/* ========================================
   ACCOMMODATIONS
======================================== */

.room-cards{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:28px;
    max-width:1050px;
    margin:42px auto 90px;
    padding:0 24px;
}

.room-card{
    background:var(--white);
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(230,224,208,0.8);
    box-shadow:0 6px 24px rgba(30,58,43,0.07);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.room-card.reveal{
    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        box-shadow 0.3s ease;
}

.room-card:hover{
    transform:translateY(-5px);
    box-shadow:0 14px 32px rgba(30,58,43,0.13);
}

.room-card.reveal.visible:hover{
    transform:translateY(-5px);
}

.room-card-img{
    width:100%;
    height:270px;
    object-fit:cover;
    object-position:center;
    display:block;
}

.room-card-body{
    padding:25px 25px 24px;
}

.room-card-body h3{
    font-size:25px;
    color:var(--forest);
    margin-bottom:10px;
}

.room-card-desc{
    font-size:14px;
    color:var(--ink-soft);
    line-height:1.7;
    margin:0 0 22px;
    max-width:42ch;
}

.room-card-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding-top:18px;
    border-top:1px solid var(--sand);
}

.room-card-price{
    font-family:'Fraunces', Georgia, serif;
    font-size:17px;
    color:var(--forest);
}

.room-card-price span{
    font-family:'Public Sans', sans-serif;
    font-size:12px;
    color:var(--ink-soft);
    font-weight:400;
}

.room-card-link{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:9px 0;
    font-size:14px;
    font-weight:600;
    color:var(--gold);
    text-decoration:none;
    transition:color 0.2s ease;
}

.room-card-link:hover{
    color:var(--forest);
}


/* ========================================
   ACCOMMODATIONS — RESPONSIVE
======================================== */

@media (max-width:700px){

    .room-cards{
        grid-template-columns:1fr;
        gap:24px;
        padding:0 18px;
        margin-bottom:70px;
    }

    .room-card-img{
        height:240px;
    }

    .room-card-body{
        padding:22px 20px 21px;
    }

    .room-card-body h3{
        font-size:23px;
    }
}
/* ========================================================
   BOOK_ACCOMMODATION.HTML — immersive glass form
   ======================================================== */

.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}
.hero-bg{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    transition:background-image 0.5s ease;
}
.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        180deg,
        rgba(15,36,26,0.75) 0%,
        rgba(15,36,26,0.55) 35%,
        rgba(15,36,26,0.85) 100%
    );
}
.hero-content{
    position:relative;
    z-index:2;
    width:100%;
    max-width:480px;
    padding:32px 20px 60px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:18px;
}

.back-link{
    align-self:flex-start;
    display:flex;
    align-items:center;
    gap:7px;
    font-size:13px;
    font-weight:500;
    color:rgba(246,241,228,0.8);
    text-decoration:none;
    padding:6px 2px;
}
.back-link:hover{ color:var(--white); }

.form-card{
    width:100%;
    background:var(--glass-bg);
    border:1px solid var(--glass-border);
    border-radius:20px;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    box-shadow:0 8px 40px rgba(0,0,0,0.35);
    padding:30px 26px 28px;
}
.form-header{ margin-bottom:20px; text-align:center; }
.form-header h1{ font-size:26px; color:var(--white); margin-bottom:6px; }
.room-description{
    font-size:13.5px;
    line-height:1.5;
    color:rgba(246,241,228,0.75);
    margin:0;
}

.flash-messages{ margin-bottom:16px; }
.flash{
    padding:10px 14px;
    border-radius:10px;
    font-size:13px;
    margin-bottom:8px;
    border:1px solid var(--glass-border);
}
.flash-success{ background:rgba(74,122,91,0.25); color:#CFE9DA; }
.flash-error, .flash-danger{ background:rgba(181,83,60,0.25); color:#F3D2C8; }
.flash-message{ background:rgba(184,134,62,0.2); color:var(--gold-light); }

.field-error {
    display: block;
    margin-top: 6px;
    color: #ffd2c7;
    font-size: 12px;
    line-height: 1.45;
}

.field-error:empty {
    display: none;
}

.form-group{ margin-bottom:15px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.form-row .form-group{ margin-bottom:0; }
.form-row + .form-group,
.form-group + .form-row{ margin-top:15px; }

label{
    display:block;
    font-size:11.5px;
    font-weight:600;
    letter-spacing:0.03em;
    text-transform:uppercase;
    color:rgba(246,241,228,0.65);
    margin-bottom:6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea{
    width:100%;
    font-family:'Public Sans', sans-serif;
    font-size:14px;
    color:var(--white);
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.16);
    border-radius:10px;
    padding:11px 13px;
    transition:border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
input::placeholder, textarea::placeholder{ color:rgba(246,241,228,0.4); }
input:focus, textarea:focus{
    outline:none;
    border-color:var(--gold);
    background:rgba(255,255,255,0.09);
    box-shadow:0 0 0 3px rgba(184,134,62,0.18);
}
textarea{ resize:vertical; min-height:76px; }

input[type="date"]::-webkit-calendar-picker-indicator{
    filter:invert(1) opacity(0.7);
}

.btn-submit{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:20px;
    padding:14px 18px;
    border:none;
    border-radius:10px;
    background:var(--gold);
    color:var(--forest-dark);
    font-family:'Public Sans', sans-serif;
    font-size:14.5px;
    font-weight:700;
    letter-spacing:0.01em;
    cursor:pointer;
    transition:background 0.2s ease, transform 0.1s ease;
}
.btn-submit:hover{ background:var(--gold-light); }
.btn-submit:active{ transform:scale(0.99); }

/* ========================================================
   RESPONSIVE
   ======================================================== */

@media (max-width:640px){
    .hero-overlay{
        background:linear-gradient(180deg, rgba(15,36,26,0.92) 0%, rgba(15,36,26,0.97) 100%);
    }
    .hero-content{ max-width:100%; padding:24px 16px 40px; }
    .form-card{ border-radius:16px; padding:24px 18px 22px; }
}

@media (min-width:641px) and (max-width:1024px){
    .hero-content{ max-width:440px; }
    .room-cards{ max-width:600px; flex-direction:row; flex-wrap:wrap; }
    .room-card{ flex:1 1 260px; }
}

@media (prefers-reduced-motion:reduce){
    .room-card:hover,
    .room-card.reveal.visible:hover{
        transform:none;
    }
}

.accommodations .page-header {
    padding: clamp(64px, 8vw, 96px) 20px 12px;
}

.accommodations .page-header h1 {
    font-size: clamp(38px, 5vw, 54px);
    letter-spacing: -0.025em;
}

.accommodations .page-header-rule {
    width: 64px;
    margin-top: 18px;
}

.accommodations .room-cards {
    gap: clamp(22px, 3vw, 34px);
    margin-top: 36px;
}

.accommodations .room-card {
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(30, 58, 43, 0.07);
}

.accommodations .room-card-img {
    height: 290px;
}

.accommodations .room-card-body {
    padding: clamp(22px, 3vw, 30px);
}

.accommodations .room-card-body h3 {
    letter-spacing: -0.02em;
}

@media (max-width:700px) {
    .accommodations .room-card-img {
        height: 250px;
    }
}

.collection-hero {
    position: relative;
    display: flex;
    min-height: clamp(420px, 54vw, 600px);
    align-items: flex-end;
    overflow: hidden;
    padding: 140px clamp(24px, 8vw, 120px) 76px;
    isolation: isolate;
    background: var(--forest-dark);
    color: var(--white);
}

.collection-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-position: center;
    background-size: cover;
    content: "";
    animation: heroZoom 28s ease-in-out infinite alternate;
}

.collection-hero-rooms::before {
    background-image:
        linear-gradient(90deg, rgba(15, 36, 26, 0.82), rgba(15, 36, 26, 0.12)),
        url("/static/images/gallery-09.jpg");
}

.collection-hero-events::before {
    background-image:
        linear-gradient(90deg, rgba(15, 36, 26, 0.82), rgba(15, 36, 26, 0.12)),
        url("/static/images/wedding-garden.jpg");
}

.collection-hero-content {
    width: min(100%, 820px);
    margin: 0 auto;
}

.collection-hero .section-eyebrow {
    color: var(--gold-light);
}

.collection-hero h1 {
    max-width: 13ch;
    margin: 0 0 18px;
    color: var(--white);
    font-size: clamp(44px, 6.4vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.025em;
}

.collection-hero-content > p:last-child {
    max-width: 58ch;
    margin: 0;
    color: rgba(250, 247, 240, 0.86);
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.8;
}

.accommodations .room-cards {
    margin-top: 60px;
}

.event-page .room-cards {
    max-width: 1320px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    margin-top: 0;
    padding-top: clamp(64px, 8vw, 100px);
}

.event-page .room-card,
.accommodations .room-card {
    display: flex;
    flex-direction: column;
}

.event-page .room-card-body,
.accommodations .room-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.event-page .room-card-footer,
.accommodations .room-card-footer {
    margin-top: auto;
}

.rooms-booking-note {
    margin: -48px 24px 96px;
    color: var(--ink-soft);
    text-align: center;
    font-size: 14px;
}

.rooms-booking-note a {
    color: var(--forest);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px;
}

@media (max-width: 900px) {
    .event-page .room-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .collection-hero {
        min-height: 480px;
        padding: 120px 24px 54px;
    }

    .collection-hero-rooms::before,
    .collection-hero-events::before {
        background-image:
            linear-gradient(90deg, rgba(15, 36, 26, 0.78), rgba(15, 36, 26, 0.38)),
            var(--collection-mobile-image);
    }

    .collection-hero-rooms::before {
        --collection-mobile-image: url("/static/images/gallery-09.jpg");
    }

    .collection-hero-events::before {
        --collection-mobile-image: url("/static/images/wedding-garden.jpg");
    }

    .event-page .room-cards {
        grid-template-columns: 1fr;
    }

    .rooms-booking-note {
        margin-bottom: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .collection-hero::before,
    .footer-visit-link span {
        animation: none;
        transition: none;
    }
}
