/* ═══════════════════════════════════════════════════
   Siddharta Boutique — Main Stylesheet
   assets/css/main.css
═══════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --cream:       #F5EFE4;
    --cream-dark:  #EDE5D5;
    --stone:       #2A2420;
    --stone-mid:   #4A3F38;
    --terracotta:  #B85C38;
    --gold:        #C9A96E;
    --gold-light:  #E8D5A8;
    --white:       #FDFAF5;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Jost', sans-serif;
    background: var(--white);
    color: var(--stone);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ── NAV ── */
#site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 3rem;
    background: rgba(253,250,245,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 0.5px solid rgba(42,36,32,0.1);
    transition: all 0.3s ease;
}
#site-nav.scrolled { padding: 0.85rem 3rem; }

.nav-logo {
    font-family: 'Cormorant Garant', serif;
    font-size: 1.1rem; font-weight: 400;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--stone); text-decoration: none;
}

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

.nav-links a {
    font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--stone-mid); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--terracotta); }

.nav-cta {
    font-size: 0.72rem !important; letter-spacing: 0.14em !important;
    background: var(--stone) !important; color: var(--cream) !important;
    padding: 0.55rem 1.4rem; border-radius: 1px;
    transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--terracotta) !important; }

.nav-hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
    display: block; width: 22px; height: 1px;
    background: var(--stone); transition: all 0.2s;
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr;
    position: relative; overflow: hidden;
}

.hero-left {
    display: flex; flex-direction: column; justify-content: center;
    padding: 8rem 4rem 4rem 5rem; position: relative; z-index: 2;
}

.hero-eyebrow {
    font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--terracotta); margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--terracotta); }

.hero-title {
    font-family: 'Cormorant Garant', serif;
    font-size: clamp(3rem, 5vw, 4.75rem); font-weight: 300;
    line-height: 1.1; color: var(--stone); margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--terracotta); }

.hero-sub {
    font-size: 0.95rem; color: var(--stone-mid);
    max-width: 380px; margin-bottom: 2.5rem; line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.hero-right { position: relative; overflow: hidden; }

.hero-image {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #8B6F5E 0%, #4A3F38 40%, #2A2420 100%);
    position: relative;
}
.hero-image::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(201,169,110,0.2) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 70%, rgba(184,92,56,0.15) 0%, transparent 50%);
}

.angkor-silhouette { position: absolute; width: 85%; top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: 0.12; }

.hero-badge {
    position: absolute; bottom: 2.5rem; right: 2.5rem;
    background: rgba(42,36,32,0.85); backdrop-filter: blur(8px);
    color: var(--gold-light); padding: 1.25rem 1.5rem; text-align: center;
    border: 0.5px solid rgba(201,169,110,0.3);
}
.hero-badge-num {
    font-family: 'Cormorant Garant', serif; font-size: 2rem; font-weight: 300;
    line-height: 1; display: block;
}
.hero-badge-label {
    font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold); display: block; margin-top: 0.25rem;
}

.hero-scroll {
    position: absolute; bottom: 2rem; left: 5rem;
    font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--stone-mid); display: flex; align-items: center; gap: 0.5rem;
}
.hero-scroll::after {
    content: ''; width: 1px; height: 40px; background: var(--gold);
    animation: scrollPulse 2s infinite;
}

/* ── QUOTE STRIP ── */
.quote-strip {
    background: var(--stone); padding: 3rem 5rem;
    display: flex; align-items: center; gap: 2rem;
}
.quote-strip blockquote {
    font-family: 'Cormorant Garant', serif; font-size: 1.4rem;
    font-weight: 300; font-style: italic; color: var(--gold-light);
    line-height: 1.5; max-width: 680px;
}
.quote-strip cite {
    font-family: 'Jost', sans-serif; font-size: 0.65rem;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--gold); font-style: normal; white-space: nowrap; margin-left: auto;
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-block; padding: 0.9rem 2rem;
    background: var(--terracotta); color: var(--white) !important;
    text-decoration: none; font-size: 0.72rem;
    letter-spacing: 0.14em; text-transform: uppercase;
    transition: background 0.2s, transform 0.2s; border-radius: 1px;
}
.btn-primary:hover { background: var(--stone); transform: translateY(-1px); }

.btn-ghost {
    display: inline-block; padding: 0.9rem 2rem;
    border: 0.5px solid var(--stone); color: var(--stone);
    text-decoration: none; font-size: 0.72rem;
    letter-spacing: 0.14em; text-transform: uppercase;
    transition: all 0.2s; border-radius: 1px;
}
.btn-ghost:hover { background: var(--stone); color: var(--white); }

/* ── SECTION COMMONS ── */
section { padding: 7rem 5rem; }

.section-tag {
    font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--terracotta); display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
}
.section-tag::before { content: ''; width: 24px; height: 1px; background: var(--terracotta); }

.section-title {
    font-family: 'Cormorant Garant', serif;
    font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 300;
    line-height: 1.15; color: var(--stone); margin-bottom: 1rem;
}
.section-sub { font-size: 0.95rem; color: var(--stone-mid); max-width: 480px; line-height: 1.8; }

/* ── ROOMS ── */
#rooms { background: var(--cream); }

.rooms-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 3.5rem; flex-wrap: wrap; gap: 2rem;
}
.rooms-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5px; background: rgba(42,36,32,0.08);
}

.room-card { background: var(--white); overflow: hidden; transition: transform 0.3s ease; }
.room-card:hover { transform: translateY(-4px); }

.room-image { height: 240px; position: relative; overflow: hidden; }
.room-img-1 { background: linear-gradient(160deg, #8B7355 0%, #5C4A3A 100%); }
.room-img-2 { background: linear-gradient(160deg, #6B8B7A 0%, #3A5C4A 100%); }
.room-img-3 { background: linear-gradient(160deg, #8B6355 0%, #4A2A20 100%); }

.room-image-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}
.room-icon {
    width: 60px; height: 60px; border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garant', serif; font-size: 1.5rem; color: rgba(255,255,255,0.7);
}
.room-from {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--terracotta); color: var(--white);
    font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.7rem;
}
.room-body { padding: 1.75rem; }
.room-name {
    font-family: 'Cormorant Garant', serif; font-size: 1.35rem;
    font-weight: 400; color: var(--stone); margin-bottom: 0.4rem;
}
.room-specs {
    font-size: 0.75rem; color: var(--stone-mid); letter-spacing: 0.06em;
    margin-bottom: 1.25rem; display: flex; gap: 0.75rem; flex-wrap: wrap;
}
.room-spec::after { content: '·'; margin-left: 0.75rem; opacity: 0.4; }
.room-spec:last-child::after { display: none; }
.room-link {
    font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--terracotta); text-decoration: none;
    display: flex; align-items: center; gap: 0.5rem; transition: gap 0.2s;
}
.room-link:hover { gap: 0.85rem; }
.room-link::after { content: '→'; }

/* ── OFFERS ── */
.offers-section { background: var(--white); }
.offers-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.offers-list { display: flex; flex-direction: column; gap: 1px; margin-top: 2.5rem; }

.offer-item {
    border-top: 0.5px solid rgba(42,36,32,0.12); padding: 1.5rem 0;
    display: grid; grid-template-columns: auto 1fr auto;
    gap: 1.25rem; align-items: start; transition: padding-left 0.2s;
}
.offer-item:hover { padding-left: 0.5rem; }
.offer-num { font-family: 'Cormorant Garant', serif; font-size: 0.85rem; color: var(--gold); font-weight: 400; margin-top: 0.1rem; }
.offer-name { font-family: 'Cormorant Garant', serif; font-size: 1.2rem; font-weight: 400; color: var(--stone); margin-bottom: 0.35rem; }
.offer-desc { font-size: 0.82rem; color: var(--stone-mid); line-height: 1.7; }
.offer-badge {
    font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
    background: var(--cream); color: var(--terracotta);
    padding: 0.25rem 0.6rem; white-space: nowrap; border: 0.5px solid var(--gold-light);
}
.offers-cta-panel { background: var(--stone); padding: 3rem 2.5rem; position: sticky; top: 6rem; }
.offers-cta-panel h3 {
    font-family: 'Cormorant Garant', serif; font-size: 1.75rem;
    font-weight: 300; color: var(--gold-light); margin-bottom: 1rem;
}
.offers-cta-panel p { font-size: 0.85rem; color: rgba(232,213,168,0.65); line-height: 1.8; margin-bottom: 2rem; }
.direct-perks { list-style: none; margin-bottom: 2rem; }
.direct-perks li {
    font-size: 0.8rem; color: var(--gold-light); padding: 0.5rem 0;
    border-bottom: 0.5px solid rgba(201,169,110,0.15);
    display: flex; gap: 0.75rem; align-items: flex-start;
}
.direct-perks li::before { content: '✓'; color: var(--gold); flex-shrink: 0; }

/* ── GALLERY ── */
.gallery-section { background: var(--cream-dark); padding: 7rem 0; }
.gallery-header { padding: 0 5rem; margin-bottom: 3rem; }
.gallery-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 260px 200px; gap: 1.5px; background: rgba(42,36,32,0.08);
}
.gallery-item { overflow: hidden; position: relative; cursor: pointer; }
.gallery-item:first-child { grid-row: span 2; }
.gallery-img {
    width: 100%; height: 100%; transition: transform 0.5s ease;
    display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-img { transform: scale(1.04); }
.g1 { background: linear-gradient(145deg, #7A6455 0%, #3A2820 100%); }
.g2 { background: linear-gradient(145deg, #6A8070 0%, #3A5040 100%); }
.g3 { background: linear-gradient(145deg, #8A7060 0%, #4A3020 100%); }
.g4 { background: linear-gradient(145deg, #7A6878 0%, #3A2838 100%); }
.g5 { background: linear-gradient(145deg, #8A7850 0%, #4A3818 100%); }
.gallery-overlay {
    position: absolute; inset: 0; background: rgba(42,36,32,0);
    transition: background 0.3s; display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-overlay { background: rgba(42,36,32,0.35); }
.gallery-label {
    font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255,255,255,0); transition: color 0.3s;
}
.gallery-item:hover .gallery-label { color: rgba(255,255,255,0.9); }

/* ── DINING ── */
.dining-section {
    background: var(--stone);
    display: grid; grid-template-columns: 1fr 1fr;
    padding: 0; min-height: 520px;
}
.dining-content { padding: 6rem 4rem 6rem 5rem; display: flex; flex-direction: column; justify-content: center; }
.dining-content .section-tag { color: var(--gold); }
.dining-content .section-tag::before { background: var(--gold); }
.dining-content .section-title { color: var(--gold-light); }
.dining-content .section-sub { color: rgba(232,213,168,0.65); }
.dining-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.dining-feat { border-left: 1px solid rgba(201,169,110,0.3); padding-left: 1rem; }
.dining-feat-name { font-size: 0.8rem; font-weight: 500; color: var(--gold-light); letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.dining-feat-desc { font-size: 0.78rem; color: rgba(232,213,168,0.5); line-height: 1.6; }
.dining-visual {
    background: linear-gradient(160deg, #5A4535 0%, #2A1A10 100%);
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.dining-visual::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(201,169,110,0.2) 0%, transparent 70%);
}

/* ── BOOKING ── */
.book-section { background: var(--cream); }
.book-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.book-form-wrap { background: var(--white); padding: 2.5rem; border: 0.5px solid rgba(42,36,32,0.1); }
.book-form-title { font-family: 'Cormorant Garant', serif; font-size: 1.6rem; font-weight: 400; color: var(--stone); margin-bottom: 0.35rem; }
.book-form-sub { font-size: 0.82rem; color: var(--stone-mid); margin-bottom: 2rem; line-height: 1.6; }

.form-group { margin-bottom: 1.25rem; }
label {
    display: block; font-size: 0.68rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--stone-mid); margin-bottom: 0.5rem;
}
label span { color: var(--terracotta); }
input, select {
    width: 100%; padding: 0.75rem 1rem; border: 0.5px solid rgba(42,36,32,0.2);
    background: var(--cream); font-family: 'Jost', sans-serif;
    font-size: 0.9rem; color: var(--stone); appearance: none;
    outline: none; transition: border-color 0.2s; border-radius: 1px;
}
input:focus, select:focus { border-color: var(--terracotta); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

#booking-message {
    padding: 0; margin-bottom: 0; font-size: 0.85rem;
    border-radius: 1px; transition: all 0.3s;
}
#booking-message.success {
    padding: 0.75rem 1rem; margin-bottom: 1rem;
    background: #EAF3DE; color: #3B6D11; border: 0.5px solid #9FE1CB;
}
#booking-message.error {
    padding: 0.75rem 1rem; margin-bottom: 1rem;
    background: #FCEBEB; color: #A32D2D; border: 0.5px solid #F09595;
}

.form-submit {
    width: 100%; padding: 1rem; background: var(--terracotta);
    color: var(--white); border: none; font-family: 'Jost', sans-serif;
    font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
    cursor: pointer; transition: background 0.2s; border-radius: 1px;
}
.form-submit:hover { background: var(--stone); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.book-info { padding-top: 0.5rem; }
.book-info h2 {
    font-family: 'Cormorant Garant', serif; font-size: 2.5rem;
    font-weight: 300; color: var(--stone); margin-bottom: 1rem; line-height: 1.2;
}
.book-info p { font-size: 0.9rem; color: var(--stone-mid); line-height: 1.8; margin-bottom: 2.5rem; }

.perks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.perk { background: var(--stone); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.perk-icon { font-size: 1.1rem; color: var(--gold); margin-bottom: 0.25rem; }
.perk-name { font-size: 0.8rem; font-weight: 500; color: var(--gold-light); letter-spacing: 0.05em; }
.perk-desc { font-size: 0.75rem; color: rgba(232,213,168,0.5); line-height: 1.5; }

/* ── FOOTER ── */
#site-footer { background: #1A1410; padding: 4rem 5rem 2rem; color: rgba(232,213,168,0.5); }
.footer-top {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem; margin-bottom: 3rem; padding-bottom: 3rem;
    border-bottom: 0.5px solid rgba(201,169,110,0.15);
}
.footer-logo {
    font-family: 'Cormorant Garant', serif; font-size: 1.25rem; font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold-light); text-decoration: none; display: block; margin-bottom: 1rem;
}
.footer-tagline { font-size: 0.82rem; line-height: 1.75; color: rgba(232,213,168,0.4); margin-bottom: 1.25rem; }
.footer-contact a {
    display: block; font-size: 0.82rem; color: rgba(232,213,168,0.55);
    text-decoration: none; margin-bottom: 0.4rem; transition: color 0.2s;
}
.footer-contact a:hover { color: var(--gold); }
.footer-col h4 { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-col a {
    display: block; font-size: 0.82rem; color: rgba(232,213,168,0.45);
    text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.72rem; color: rgba(232,213,168,0.25);
}

/* ── ANIMATIONS ── */
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up[style*="--delay"] { transition-delay: var(--delay, 0s); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .book-layout { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    #site-nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    .nav-links.open {
        display: flex; flex-direction: column; position: fixed;
        inset: 0; background: var(--white); z-index: 200;
        align-items: center; justify-content: center; gap: 2rem;
    }
    .nav-links.open a { font-size: 1rem; }

    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-right { height: 320px; }
    .hero-left { padding: 7rem 1.5rem 3rem; }

    section { padding: 4rem 1.5rem; }
    .gallery-section { padding: 4rem 0; }
    .gallery-header { padding: 0 1.5rem; }

    .rooms-grid { grid-template-columns: 1fr; }
    .offers-layout { grid-template-columns: 1fr; }
    .offers-cta-panel { position: static; }

    .dining-section { grid-template-columns: 1fr; }
    .dining-content { padding: 4rem 1.5rem; }
    .dining-visual { height: 240px; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-item:first-child { grid-row: span 1; grid-column: span 2; height: 240px; }
    .gallery-item { height: 180px; }

    .quote-strip { padding: 2rem 1.5rem; flex-direction: column; }
    .quote-strip cite { margin-left: 0; }

    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    #site-footer { padding: 3rem 1.5rem 1.5rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

    .perks-grid { grid-template-columns: 1fr; }
    .dining-features { grid-template-columns: 1fr; }
}
