/* =============================================================
   THE INN CO. — style.css
   Layout and components. Do not edit for client rebranding —
   all brand config lives in config.css.
   ============================================================= */

/* Google Fonts loaded via <link> in HTML — no @import needed here */

/* --- Reset --- */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

/* --- Focus styles (keyboard navigation) --- */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

/* --- Scroll animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--stagger, 0s);
}
.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- Base --- */
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-bg);
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); margin-bottom: 1rem; }
a { color: inherit; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section     { padding: var(--section-gap) 0; }
.section--sm { padding: 3rem 0; }

/* --- Header --- */
.site-header {
    background: var(--color-white);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo { flex: 1; }
.header-nav  { flex: 2; display: flex; justify-content: center; }
.header-cta  { flex: 1; text-align: right; }

.header-logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: -0.05em;
    color: var(--color-primary);
    text-decoration: none;
}

.nav-links { display: flex; gap: 2rem; align-items: center; }

.nav-links a {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-text);
    transition: color 0.3s ease;
}
.nav-links a:hover              { color: var(--color-accent); }
.nav-links a[aria-current="page"] {
    color: var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 2px;
}

/* --- Buttons --- */
.btn-nav {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-decoration: none;
    transition: background 0.3s ease;
}
.btn-nav:hover { background: var(--color-accent); }

.btn-primary {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 1rem 3rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: opacity 0.3s ease;
}
.btn-primary:hover { opacity: 0.85; }

.btn-outline {
    display: inline-block;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.8rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }

/* --- Mobile Nav Toggle --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Scroll lock + backdrop when mobile nav is open */
body.nav-open { overflow: hidden; }
body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--color-overlay);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
}

/* --- Hero (homepage) --- */
.hero {
    position: relative;
    height: 90vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--color-primary);
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}
.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    padding: 2rem;
    max-width: 740px;
}
.hero-content h1 {
    color: var(--color-white);
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-wrap: balance;
}
.hero-content p {
    font-size: 1.15rem;
    opacity: 0.88;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Page Hero (interior pages) --- */
.page-hero {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 5rem 2rem;
    text-align: center;
}
.page-hero h1 {
    color: var(--color-white);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    margin-bottom: 1rem;
    text-wrap: balance;
}
.page-hero p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 580px;
    margin: 0 auto;
}

/* --- Section Label + Header --- */
.section-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); text-wrap: balance; }
.section-header p   { color: var(--color-text-light); max-width: 580px; margin: 0.5rem auto 0; }

/* --- Feature Cards (homepage) --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--color-white);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}
.feature-card h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.feature-card p  { color: var(--color-text-light); margin-bottom: 1.25rem; flex: 1; }

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--color-white);
    padding: 2rem;
    border-left: 3px solid var(--color-accent);
}
.testimonial-card blockquote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.7;
}
.testimonial-card cite { font-size: 0.82rem; color: var(--color-text-light); font-style: normal; }
.stars { color: var(--color-accent); font-size: 0.9rem; margin-bottom: 0.75rem; letter-spacing: 0.15em; }

/* --- CTA Strip --- */
.cta-strip {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 5rem 2rem;
    text-align: center;
}
.cta-strip h2 { color: var(--color-white); font-size: 2.2rem; margin-bottom: 1rem; }
.cta-strip p  { opacity: 0.8; margin-bottom: 2rem; }

/* --- Room Cards --- */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.room-card { background: var(--color-white); border: 1px solid var(--color-border); overflow: hidden; display: flex; flex-direction: column; }
.room-card img { width: 100%; height: 240px; object-fit: cover; display: block; }

/* Flex column so the CTA button always sits at the bottom of every card */
.room-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.room-card-body h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }

.room-price { font-size: 1.4rem; font-weight: 600; color: var(--color-accent); margin-bottom: 0.75rem; }
.room-price span { font-size: 0.85rem; font-weight: 400; color: var(--color-text-light); }

.room-meta { display: flex; gap: 1.25rem; flex-wrap: wrap; margin: 0.75rem 0; font-size: 0.82rem; color: var(--color-text-light); }

.room-amenities { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.5rem; }
.amenity-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
}

/* Push the CTA to the bottom of the card regardless of content length */
.room-card-body .btn-primary,
.room-card-body .btn-outline { margin-top: auto; }

/* --- Room Feature (alternating editorial layout on rooms.html) --- */
.room-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    margin-bottom: 3rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-white);
}
.room-feature-image {
    overflow: hidden;
}
.room-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}
.room-feature:hover .room-feature-image img {
    transform: scale(1.04);
}
.room-feature-content {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.room-feature-content h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    margin-bottom: 0.5rem;
    text-wrap: balance;
}
.room-feature-content .room-price {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}
.room-feature-content p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.room-feature-content .room-amenities { margin-bottom: 2rem; }
/* Flip image to right on even rooms */
.room-feature:nth-child(even) .room-feature-image {
    order: 2;
}

/* --- Contact Form --- */
.contact-form {
    background: var(--color-white);
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background: var(--color-field-bg);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    transition: border-color 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}
.form-group select {
    /* Custom dropdown arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 16px;
    background-color: var(--color-field-bg);
    padding-right: 2.5rem;
    cursor: pointer;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--color-accent); background: var(--color-white); }

/* Validation error state — triggers after user interaction */
.form-group input:user-invalid,
.form-group textarea:user-invalid,
.form-group select:user-invalid {
    border-color: var(--color-error);
    background-color: var(--color-error-bg);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
}
.btn-submit:hover { background: var(--color-accent); }

.price-preview {
    border: 1px solid var(--color-border, #e0dede);
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}
.price-preview-row {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--color-border, #e0dede);
}
.price-preview-row:last-child { border-bottom: none; }
.price-preview-total {
    font-weight: 700;
    font-size: 1rem;
    padding-top: 0.6rem;
}
.price-preview-error {
    color: #c0392b;
    margin: 0;
    font-size: 0.9rem;
}

/* --- Contact Page Layout --- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
.contact-info-item { margin-bottom: 2rem; }
.contact-info-item h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; font-family: var(--font-body); color: var(--color-accent); margin-bottom: 0.4rem; }
.contact-info-item p { color: var(--color-text-light); line-height: 1.7; }

/* --- Menu --- */
/* --- Menu jump nav --- */
.menu-nav {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: var(--header-height);
    z-index: 10;
}
.menu-nav .container {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
}
.menu-nav .container::-webkit-scrollbar { display: none; }
.menu-nav a {
    flex-shrink: 0;
    padding: 1rem 1.5rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-light);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.menu-nav a:hover { color: var(--color-primary); }
.menu-nav a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent);
}

.menu-layout { max-width: 820px; margin: 0 auto; }
.menu-section { margin-bottom: 4rem; scroll-margin-top: calc(var(--header-height) + 60px); }
.menu-section h2 {
    position: sticky;
    top: calc(var(--header-height) + 46px);
    background: var(--color-bg);
    padding: 0.75rem 0;
    margin-bottom: 0;
    border-bottom: 1px solid var(--color-accent);
    font-size: 1.6rem;
    z-index: 5;
}
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 2rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
}
.menu-section .menu-item:first-of-type { margin-top: 1.5rem; }
.menu-item:last-child { border-bottom: none; }
.menu-item-info h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 0.2rem; color: var(--color-text); }
.menu-item-info p  { color: var(--color-text-light); font-size: 0.875rem; margin: 0; }
.menu-item-price   { font-weight: 600; white-space: nowrap; color: var(--color-primary); flex-shrink: 0; }

.menu-hours { padding: 2.5rem 0; margin-bottom: 3.5rem; text-align: center; border-bottom: 1px solid var(--color-border); }
.menu-hours h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-accent); margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 600; }
.menu-hours-grid {
    display: inline-grid;
    grid-template-columns: auto auto;
    gap: 0.45rem 2rem;
    margin: 0;
    text-align: left;
}
.menu-hours-grid dt { font-weight: 600; font-size: 0.9rem; color: var(--color-text); white-space: nowrap; }
.menu-hours-grid dd { margin: 0; font-size: 0.9rem; color: var(--color-text-light); white-space: nowrap; }

/* --- FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-category { margin-bottom: 3rem; }
.faq-category > h3 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-primary);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--color-accent);
    font-family: var(--font-body);
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    display: inline-block;
}
details[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 2rem 1.25rem 0; color: var(--color-text-light); line-height: 1.7; }
details[open] .faq-answer { animation: faqFadeIn 0.2s ease; }
@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- About --- */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-bottom: var(--section-gap); }
.about-story img { width: 100%; height: 480px; object-fit: cover; }
.about-story-text h2 { font-size: 2.2rem; margin-bottom: 1.5rem; text-wrap: balance; }
.about-story-text p { color: var(--color-text-light); margin-bottom: 1.25rem; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.value-card { padding: 2rem; background: var(--color-white); border-top: 3px solid var(--color-accent); }
.value-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.value-card p  { color: var(--color-text-light); font-size: 0.95rem; }

/* --- Restaurant Hero --- */
.restaurant-hero {
    position: relative;
    height: 55vh;
    min-height: 380px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-primary);
}
.restaurant-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}
.restaurant-hero-content { position: relative; z-index: 1; color: var(--color-white); }
.restaurant-hero-content h1 { color: var(--color-white); font-size: clamp(2rem, 5vw, 3.5rem); text-wrap: balance; }
.restaurant-hero-content p  { opacity: 0.85; font-size: 1.1rem; max-width: 500px; margin: 0 auto; }

/* --- Booking Trust Block --- */
.booking-trust {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    font-size: 0.875rem;
    color: var(--color-text-light);
}
.booking-trust ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.booking-trust li::before { content: "✓  "; color: var(--color-accent); font-weight: 600; }

/* --- Prose (legal pages) --- */
.prose { max-width: 720px; margin: 4rem auto; padding: 0 2rem; }
.prose h1 { margin-bottom: 0.5rem; }
.prose .updated { color: var(--color-text-light); font-size: 0.875rem; margin-bottom: 3rem; }
.prose h3 { font-size: 1.2rem; margin-top: 2.5rem; margin-bottom: 0.5rem; }
.prose p  { color: var(--color-text-light); }

/* --- Footer --- */
.site-footer {
    background: var(--color-footer);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255,255,255,0.65);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}
.footer-brand p { line-height: 1.7; margin-bottom: 0.4rem; }
.footer-links { display: flex; flex-direction: column; }
.footer-links h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--color-accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.82rem;
}
.footer-bottom a { color: var(--color-accent); text-decoration: none; }

/* --- Success Page --- */
/* --- Success page --- */
.success-hero {
    background: var(--color-primary);
    color: var(--color-white);
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
}
.success-hero-inner { max-width: 540px; }
.success-check {
    color: var(--color-accent);
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
}
.success-check svg { width: 100%; height: 100%; }
.success-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-white);
    margin: 0.75rem 0 1.25rem;
    text-wrap: balance;
}
.success-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.btn-outline-light {
    display: inline-block;
    padding: 0.9rem 2rem;
    border: 1px solid rgba(255,255,255,0.35);
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-outline-light:hover {
    border-color: var(--color-accent);
    background: rgba(197,160,89,0.1);
}
.success-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.step-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-accent);
    opacity: 0.5;
    margin-bottom: 0.75rem;
    line-height: 1;
}
.success-step p { font-size: 0.88rem; color: var(--color-text-light); line-height: 1.6; }

/* --- Back to top --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 42px;
    height: 42px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 500;
    pointer-events: none;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover { background: var(--color-accent); }

/* --- Utility --- */
.text-center { text-align: center; }
.bg-white     { background: var(--color-white); }
.divider      { border: none; border-top: 1px solid var(--color-border); margin: 4rem 0; }

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.gallery-item {
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-bg);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item { cursor: zoom-in; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item--wide { grid-column: span 2; }

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    animation: lbFadeIn 0.2s ease;
}
@keyframes lbFadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1); }
}
.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.65);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s;
}
.lightbox-close:hover { color: #fff; }
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.55);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 1rem;
    transition: color 0.2s;
}
.lightbox-prev:hover,
.lightbox-next:hover { color: #fff; }
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }
.lightbox-caption {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.45);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    max-width: 80vw;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Footer Social Links --- */
.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.25rem;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    color: rgba(255,255,255,0.55);
    transition: all 0.2s ease;
    text-decoration: none;
}
.footer-social a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.footer-social svg { width: 15px; height: 15px; flex-shrink: 0; }

/* --- Map Embed --- */
.map-embed {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
    .section    { padding: 2.5rem 0; }
    .section--sm { padding: 2rem 0; }

    .nav-toggle { display: flex; }
    .header-nav,
    .header-cta { display: none; }

    .header-container { flex-wrap: wrap; }

    .nav-open .header-nav {
        display: flex;
        justify-content: flex-start;
        order: 4;
        flex: 0 0 100%;
        padding: 1rem 0;
        border-top: 1px solid var(--color-border);
    }
    .nav-open .header-nav .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .nav-open .header-cta {
        display: block;
        order: 5;
        flex: 0 0 100%;
        text-align: left;
        padding-bottom: 1rem;
    }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item--wide { grid-column: span 1; }
    .map-embed { height: 260px; }

    .hero        { height: 70vh; }
    .form-row    { grid-template-columns: 1fr; }
    .about-story { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 0; }
    .about-story img { height: 260px; }
    .contact-layout  { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .room-grid   { grid-template-columns: 1fr; }
    .room-feature {
        grid-template-columns: 1fr;
        min-height: unset;
    }
    .room-feature:nth-child(even) .room-feature-image {
        order: 0;
    }
    .room-feature-image { height: 280px; }
    .room-feature-content { padding: 2rem 1.5rem; }

    .success-steps { grid-template-columns: 1fr 1fr; }
    .back-to-top   { bottom: 1.25rem; right: 1.25rem; }

    /* Restaurant mobile fixes */
    .menu-nav  { margin-top: -3rem; }  /* flush nav against hero, no dead gap */
    .menu-hours { margin-bottom: 2rem; }
}

@media (max-width: 480px) {
    .container      { padding: 0 1.25rem; }
    .contact-form   { padding: 2rem 1.25rem; }
    .page-hero      { padding: 3.5rem 1.25rem; }
    .gallery-grid   { grid-template-columns: 1fr; }

}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================
   ROOM CAROUSEL
   ============================================ */
.room-feature:hover .room-feature-image img {
    transform: none; /* disable old zoom — doesn't work well with carousel */
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease;
}

.carousel-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.carousel-btn:hover {
    opacity: 1;
}

.carousel-prev { left: 0.5rem; }
.carousel-next { right: 0.5rem; }

.carousel-dots {
    position: absolute;
    bottom: 0.9rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background: white;
}
