/* ── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --terra:        #B85C38;
    --terra-dark:   #8C4328;
    --terra-light:  #D4845E;
    --sand:         #F5E6D3;
    --sand-light:   #FBF7F2;
    --sand-mid:     #E8D5C0;
    --clay:         #C49A78;
    --charcoal:     #2A2219;
    --warm-gray:    #5C4F42;
    --soft-black:   #1A1612;
    --white:        #FDFCFA;
    --font-sans:    'Inter', system-ui, sans-serif;
    --font-serif:   'Playfair Display', Georgia, serif;
    --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ─────────────────────────────────── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--warm-gray);
    max-width: 560px;
    line-height: 1.8;
}

/* ── Navigation ─────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--sand-mid);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--white);
    transition: color var(--transition);
}

.nav.scrolled .nav-logo { color: var(--charcoal); }

.nav-logo-mark {
    font-size: 1.3rem;
    color: var(--terra-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(253, 252, 250, 0.8);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terra-light);
    transition: width var(--transition);
}

.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--white); }

.nav.scrolled .nav-link { color: var(--warm-gray); }
.nav.scrolled .nav-link:hover { color: var(--charcoal); }

.nav-cta {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(253, 252, 250, 0.4);
    padding: 10px 22px;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--terra);
    border-color: var(--terra);
}

.nav.scrolled .nav-cta {
    color: var(--white);
    border-color: var(--terra);
}

.nav.scrolled .nav-cta:hover {
    background: var(--terra-dark);
    border-color: var(--terra-dark);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--transition);
}

.nav.scrolled .nav-toggle-line { background: var(--charcoal); }

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}
.nav-toggle.active .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ── Hero ────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 22, 18, 0.55) 0%,
        rgba(26, 22, 18, 0.45) 50%,
        rgba(26, 22, 18, 0.70) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sand-mid);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-headline {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-headline em {
    font-style: italic;
    color: var(--terra-light);
}

.hero-subhead {
    font-size: 1.05rem;
    color: rgba(253, 252, 250, 0.75);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(253,252,250,0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--terra);
    color: var(--white);
    border-color: var(--terra);
}

.btn-primary:hover {
    background: var(--terra-dark);
    border-color: var(--terra-dark);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(253, 252, 250, 0.4);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(253, 252, 250, 0.1);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 0.85rem;
}

/* ── Divider ─────────────────────────────────────── */
.divider {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    max-width: 400px;
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--sand-mid);
}

.divider-mark {
    color: var(--clay);
    font-size: 0.7rem;
}

/* ── Sections ────────────────────────────────────── */
.section {
    padding: 120px 0;
}

/* ── Rooms ───────────────────────────────────────── */
.rooms {
    background: var(--sand-light);
}

.rooms .container {
    text-align: center;
}

.rooms .section-subtitle {
    margin: 0 auto 64px;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: left;
}

.room-card {
    background: var(--white);
    border: 1px solid var(--sand-mid);
    transition: all var(--transition);
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(42, 34, 25, 0.08);
    border-color: var(--clay);
}

.room-card-img {
    overflow: hidden;
    aspect-ratio: 3/2;
}

.room-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card:hover .room-card-img img {
    transform: scale(1.04);
}

.room-card-body {
    padding: 32px;
}

.room-card-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.35rem;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.room-card-desc {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.room-card-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.room-card-features li {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--warm-gray);
    padding: 6px 12px;
    border: 1px solid var(--sand-mid);
    border-radius: 2px;
}

/* ── Location ────────────────────────────────────── */
.location {
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.location-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.location-desc {
    font-size: 1.05rem;
    color: var(--warm-gray);
    line-height: 1.8;
}

.location-address {
    font-size: 0.95rem;
    color: var(--charcoal);
    line-height: 1.8;
    padding-top: 8px;
    border-top: 1px solid var(--sand-mid);
}

.location-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 8px;
    font-weight: 400;
}

.location-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--charcoal);
    font-weight: 400;
    padding: 16px 0;
    border-top: 1px solid var(--sand-mid);
    transition: color var(--transition);
}

.location-phone:hover { color: var(--terra); }

.location-map {
    min-height: 400px;
    border: 1px solid var(--sand-mid);
    overflow: hidden;
}

/* ── Amenities ───────────────────────────────────── */
.amenities {
    background: var(--sand-light);
}

.amenities-header {
    text-align: center;
    margin-bottom: 64px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.amenity-card {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid transparent;
    transition: all var(--transition);
}

.amenity-card:hover {
    border-color: var(--sand-mid);
    background: var(--white);
}

.amenity-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--terra);
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenity-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.15rem;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.amenity-desc {
    font-size: 0.88rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ── CTA ─────────────────────────────────────────── */
.cta {
    background: var(--charcoal);
    padding: 120px 0;
}

.cta-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta .section-eyebrow { color: var(--terra-light); }

.cta-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(253, 252, 250, 0.6);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-actions { margin-bottom: 32px; }

.cta .btn-primary {
    background: var(--terra);
    border-color: var(--terra);
}

.cta .btn-primary:hover {
    background: var(--terra-light);
    border-color: var(--terra-light);
}

.cta-note {
    font-size: 0.82rem;
    color: rgba(253, 252, 250, 0.35);
    letter-spacing: 0.04em;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
    background: var(--soft-black);
    padding: 64px 0 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    font-size: 1.5rem;
    color: var(--terra-light);
    display: block;
    margin-bottom: 8px;
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--white);
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.82rem;
    color: rgba(253, 252, 250, 0.4);
    letter-spacing: 0.05em;
}

.footer-info {
    font-size: 0.88rem;
    color: rgba(253, 252, 250, 0.6);
    line-height: 2;
}

.footer-phone {
    color: var(--terra-light);
    transition: color var(--transition);
    display: inline-block;
    margin-top: 4px;
}

.footer-phone:hover { color: var(--terra); }

.footer-copy {
    font-size: 0.78rem;
    color: rgba(253, 252, 250, 0.25);
    text-align: right;
    padding-top: 32px;
    border-top: 1px solid rgba(253, 252, 250, 0.08);
    grid-column: 1 / -1;
}

/* ── Scroll Reveal ───────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
    .rooms-grid { grid-template-columns: repeat(2, 1fr); }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    }

    .nav-links.open { right: 0; }

    .nav-link {
        color: var(--charcoal) !important;
        font-size: 0.9rem;
    }

    .nav-cta {
        color: var(--white) !important;
        border-color: var(--terra);
        background: var(--terra);
    }

    .nav-toggle { display: flex; }

    .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }

    .rooms-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .location-grid { grid-template-columns: 1fr; }
    .location-map { min-height: 300px; }
    .amenities-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-copy { text-align: left; }

    .section { padding: 80px 0; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .nav-inner { padding: 0 16px; }
    .container { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
