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

:root {
    --terracotta: #B5694E;
    --terracotta-dark: #8F4D35;
    --terracotta-light: #D4917A;
    --sand: #E8D5C0;
    --sand-light: #F5EDE4;
    --stone-50: #FAFAF8;
    --stone-100: #F5F4F0;
    --stone-200: #E8E6E0;
    --stone-300: #D1CFC8;
    --stone-400: #A8A59E;
    --stone-500: #78756E;
    --stone-600: #5C5953;
    --stone-700: #44423E;
    --stone-800: #2C2A27;
    --stone-900: #1A1816;
    --stone-950: #0F0E0D;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    background-color: var(--stone-50);
    color: var(--stone-800);
}

.font-cormorant {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Navbar */
#navbar {
    color: var(--stone-100);
}

#navbar.scrolled {
    background: rgba(15, 14, 13, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

#navbar.scrolled .nav-link {
    color: var(--stone-200);
}

#navbar.scrolled .nav-link:hover {
    color: var(--terracotta-light);
}

.nav-link {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--terracotta-light);
}

/* Mobile menu */
.menu-line {
    background: currentColor;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu:not(.active) {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    transition: color 0.3s ease;
}

/* Hero */
.hero-bg {
    background: var(--stone-900);
}

.hero-scrim {
    background: linear-gradient(
        to bottom,
        rgba(15, 14, 13, 0.45) 0%,
        rgba(15, 14, 13, 0.35) 50%,
        rgba(15, 14, 13, 0.70) 100%
    );
}

.hero-img {
    animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1); }
}

.hero-eyebrow {
    animation: fadeUp 0.8s ease-out forwards;
}

.hero-title {
    animation: fadeUp 0.8s ease-out forwards;
}

.hero-subtitle {
    animation: fadeUp 0.8s ease-out forwards;
}

.hero-cta {
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn-terracotta {
    background: var(--terracotta);
    color: var(--stone-50);
    border: 1px solid var(--terracotta);
    transition: all 0.3s ease;
}

.btn-terracotta:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    color: var(--stone-50);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(181, 105, 78, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--stone-100);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    border-color: var(--stone-100);
    background: rgba(255,255,255,0.05);
    color: var(--stone-100);
}

/* Room cards */
.room-card {
    opacity: 1;
}

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

/* Reveal animations (below-fold only, progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--stone-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--stone-400);
}
