/* ============================================================
   Annpurna Haveli Bundi — Design tokens
   A restored Rajasthani haveli: sandstone, brass, terracotta,
   jharokha-arch windows as the recurring signature frame.
   ============================================================ */
:root {
    --ink:        #241A14;
    --sandstone:  #F6EEE0;
    --sandstone-2:#EFE3CC;
    --paper:      #FCF9F2;
    --gold:       #B8873A;
    --gold-deep:  #8C6425;
    --terracotta: #9C4A34;
    --jharokha:   #33566A;
    --text:       #2E2118;
    --muted:      #8A7862;
    --border:     #E2D3B4;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', 'Segoe UI', sans-serif;

    --arch: 300px 300px 8px 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin: 0 0 .5em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold-deep); font-weight: 500; margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); }

.btn {
    display: inline-block; padding: 13px 28px; border-radius: 3px;
    background: var(--terracotta); color: #fff; text-decoration: none;
    font-family: var(--font-body); font-size: 14.5px; letter-spacing: .03em;
    border: 1px solid var(--terracotta); transition: all .2s ease; cursor: pointer;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.btn-light:hover { background: #fff; color: var(--ink); }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--border); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand img { height: 42px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { text-decoration: none; font-size: 14.5px; letter-spacing: .02em; color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--terracotta); border-color: var(--terracotta); }
.site-nav a.nav-cta { background: var(--ink); color: #fff; padding: 9px 20px; border-radius: 3px; border: none; }
.site-nav a.nav-cta:hover { background: var(--terracotta); }
.nav-toggle, .nav-burger { display: none; }

/* ---------------- Hero (arch signature) ---------------- */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; background: var(--sandstone); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy p.lead { font-size: 1.15rem; color: var(--muted); max-width: 480px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-frame {
    position: relative; border-radius: var(--arch); overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(36,26,20,.35);
    border: 6px solid var(--paper);
}
.hero-frame img { width: 100%; height: 520px; object-fit: cover; }
.hero-frame::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px rgba(184,135,58,.5); border-radius: inherit; pointer-events: none; }

/* ---------------- Section basics ---------------- */
.section { padding: 84px 0; }
.section-alt { background: var(--sandstone); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); }
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0; }
.divider::before, .divider::after { content: ''; width: 46px; height: 1px; background: var(--border); }
.divider span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); transform: rotate(45deg); }

/* ---------------- Room cards ---------------- */
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.room-card { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.room-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -18px rgba(36,26,20,.25); }
.room-card-img { position: relative; }
.room-card-img img { height: 230px; object-fit: cover; width: 100%; border-radius: 130px 130px 0 0; }
.room-card-body { padding: 22px 24px 26px; }
.room-card-body h3 { margin-bottom: 6px; }
.room-card-meta { display: flex; gap: 14px; color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }
.room-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--terracotta); font-weight: 600; }
.room-price small { font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 400; }
.room-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }

/* ---------------- About / split sections ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { border-radius: var(--arch); overflow: hidden; border: 6px solid var(--sandstone); box-shadow: 0 24px 46px -20px rgba(36,26,20,.3); }
.split-img img { height: 460px; object-fit: cover; }
.split.reverse .split-img { order: 2; }

.feature-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.feature-list li { padding-left: 28px; position: relative; color: var(--text); }
.feature-list li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 13px; top: 3px; }

/* ---------------- Gallery ---------------- */
.gallery-masonry { column-count: 3; column-gap: 20px; }
.gallery-masonry figure { margin: 0 0 20px; break-inside: avoid; border-radius: 8px; overflow: hidden; }
.gallery-masonry img { width: 100%; transition: transform .4s ease; }
.gallery-masonry figure:hover img { transform: scale(1.04); }

/* ---------------- Testimonials ---------------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review-card { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 28px; }
.review-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.review-card p { color: var(--text); font-style: italic; }
.review-author { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-top: 14px; }

/* ---------------- CTA banner ---------------- */
.cta-banner { background: var(--ink); color: var(--paper); padding: 70px 0; text-align: center; }
.cta-banner h2 { color: var(--paper); }
.cta-banner p { color: #C9BCAA; max-width: 520px; margin: 0 auto 28px; }

/* ---------------- Forms ---------------- */
.form-card { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 13.5px; color: var(--muted); letter-spacing: .02em; }
.field input, .field select, .field textarea {
    font-family: var(--font-body); font-size: 15px; padding: 12px 14px;
    border: 1px solid var(--border); border-radius: 4px; background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

.alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; font-size: 14.5px; }
.alert-success { background: #E4EEE2; color: #3E6B3E; }
.alert-error { background: #F3DCD5; color: var(--terracotta); }

/* ---------------- Blog ---------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card img { height: 190px; object-fit: cover; border-radius: 8px 8px 0 0; }
.blog-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--paper); }
.blog-card-body { padding: 20px 22px 24px; }
.blog-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.blog-card h3 a { text-decoration: none; }
.blog-excerpt { color: var(--muted); font-size: 14.5px; }

.article-body { max-width: 740px; margin: 0 auto; }
.article-body img { border-radius: var(--arch); margin-bottom: 30px; }
.article-body .article-content { font-size: 1.05rem; }
.article-content p { margin-bottom: 1.3em; }

/* ---------------- Attraction / page content cards ---------------- */
.attraction-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.attraction-card { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--paper); }
.attraction-card img { height: 190px; object-fit: cover; }
.attraction-card-body { padding: 18px 20px 22px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #C9BCAA; padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { height: 40px; margin-bottom: 16px; border-radius: 4px; }
.footer-brand p { font-size: 14px; color: #A79A87; }
.footer-col h4 { color: var(--paper); font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 14px; }
.footer-col a, .footer-col address { display: block; color: #C9BCAA; text-decoration: none; font-size: 14px; margin-bottom: 10px; font-style: normal; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding: 20px 24px; font-size: 13px; color: #8A7C68; text-align: center; }

/* ---------------- Room detail ---------------- */
.room-detail-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 50px; align-items: start; }
.room-detail-gallery img { border-radius: var(--arch); border: 6px solid var(--sandstone); height: 380px; object-fit: cover; margin-bottom: 20px; }
.room-detail-info { display: flex; flex-direction: column; gap: 6px; margin: 20px 0; }
.room-detail-info span { color: var(--muted); font-size: 14.5px; }
.booking-card { background: var(--sandstone); border: 1px solid var(--border); border-radius: 10px; padding: 26px; position: sticky; top: 100px; }
.booking-card .room-price { display: block; margin-bottom: 18px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
    .hero-grid, .split, .room-detail-grid { grid-template-columns: 1fr; }
    .split-img, .split.reverse .split-img { order: -1; }
    .room-grid, .review-grid, .blog-grid, .attraction-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-masonry { column-count: 2; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 680px) {
    .site-nav {
        position: fixed; inset: 68px 0 0 0; background: var(--paper); z-index: 99;
        flex-direction: column; align-items: flex-start; gap: 4px;
        padding: 20px 24px; transform: translateX(100%); transition: transform .3s ease;
        border-top: 1px solid var(--border);
    }
    .site-nav a { width: 100%; padding: 12px 0; }
    .nav-toggle:checked ~ .site-nav { transform: translateX(0); }
    .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
    .nav-burger span, .nav-burger::before, .nav-burger::after { content: ''; width: 24px; height: 2px; background: var(--ink); display: block; }
    .room-grid, .review-grid, .blog-grid, .attraction-grid { grid-template-columns: 1fr; }
    .gallery-masonry { column-count: 1; }
    .form-grid { grid-template-columns: 1fr; }
    .hero { padding: 50px 0; }
    .hero-frame img { height: 320px; }
    .section { padding: 56px 0; }
}
