/* ===== RED RIDGE CABIN — Custom Styles ===== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: rgba(200, 164, 94, 0.3);
    color: #f0f3f9;
}

/* ===== NAVBAR ===== */
#navbar {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(5, 11, 20, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(200, 164, 94, 0.1);
}

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    min-height: 100dvh;
}

/* ===== AMENITY CARDS ===== */
.amenity-card {
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.amenity-card:hover {
    transform: translateY(-4px);
}

/* ===== EXPERIENCE CARDS ===== */
.experience-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.experience-card:hover {
    border-color: rgba(200, 164, 94, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ===== REVIEW CARDS ===== */
.review-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ===== MOBILE MENU ===== */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}

/* ===== SMOOTH SECTION TRANSITIONS ===== */
section {
    position: relative;
}

/* ===== FORM FOCUS STATES ===== */
input:focus, textarea:focus {
    outline: none;
}

/* ===== IMAGE LAZY LOAD FALLBACK ===== */
img {
    opacity: 1;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* ===== PRINT ===== */
@media print {
    #navbar, #mobileMenu {
        display: none !important;
    }
}
