/* ============================================
   Palo Alto Hotel — Custom Styles
   ============================================ */

/* --- Base & Typography --- */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-weight: 300;
    letter-spacing: 0.01em;
}

::selection {
    background: #1a3c34;
    color: #f4f1eb;
}

/* --- Navbar --- */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    padding-top: 0;
}

.nav-fixed.scrolled {
    background-color: rgba(244, 241, 235, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(26, 60, 52, 0.08);
}

.nav-fixed.scrolled .nav-link {
    color: #26382d;
}

.nav-fixed.scrolled .nav-link:hover {
    color: #527558;
}

.nav-fixed.scrolled .logo-text {
    color: #26382d;
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(244, 241, 235, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(26, 60, 52, 0.08);
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu.hidden {
    display: none;
}

.mobile-menu-link {
    display: block;
    color: #26382d;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #527558;
}

/* --- Hero Stat Cards --- */
.stat-card {
    background: rgba(244, 241, 235, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(244, 241, 235, 0.15);
    border-radius: 4px;
    padding: 1.25rem 1.75rem;
    min-width: 200px;
    text-align: left;
    animation: floatIn 0.8s ease forwards;
    opacity: 0;
}

.stat-card .stat-number {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 300;
    color: #f4f1eb;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-card .stat-label {
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(244, 241, 235, 0.6);
}

.card-1 {
    animation-delay: 0.3s;
    transform: translateX(20px);
}

.card-2 {
    animation-delay: 0.5s;
    transform: translateX(20px);
}

.card-3 {
    animation-delay: 0.7s;
    transform: translateX(20px);
}

@keyframes floatIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Buttons --- */
button, a[role="button"] {
    cursor: pointer;
}

/* --- Input Focus --- */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(114, 150, 120, 0.4);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .stat-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .room-card .group:hover img {
        transform: none;
    }
}

/* --- Tablet --- */
@media (max-width: 767px) {
    .font-serif {
        font-size: 1.75rem;
    }
}

/* --- Large Desktop --- */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 72rem;
    }
}
