/* ========================================
   Gaylord Motel — Custom Styles
   ======================================== */

/* Base reset & smooth scrolling */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ========================================
   Geometric Hero Shapes
   ======================================== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* Large circle - top right */
.shape-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 151, 112, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float-slow 8s ease-in-out infinite;
}

/* Medium circle - bottom left */
.shape-circle-2 {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 197, 208, 0.15) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation: float-slow 10s ease-in-out infinite reverse;
}

/* Rotated square - top left */
.shape-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 151, 112, 0.08);
    top: 25%;
    left: 5%;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

/* Rotated square - bottom right */
.shape-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(244, 197, 208, 0.12);
    bottom: 20%;
    right: 8%;
    transform: rotate(30deg);
    animation: spin-slow 15s linear infinite reverse;
}

/* Triangle - mid left */
.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(255, 151, 112, 0.07);
    top: 40%;
    right: 15%;
    animation: float-slow 6s ease-in-out infinite;
}

/* Dotted pattern */
.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    bottom: 15%;
    left: 10%;
}

/* Animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(45deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   Navbar
   ======================================== */
#navbar {
    background: rgba(255, 248, 246, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(154, 48, 72, 0.08);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(154, 48, 72, 0.1);
}

/* ========================================
   Room Cards
   ======================================== */
.room-card {
    border: 1px solid rgba(154, 48, 72, 0.06);
}

.room-card:hover {
    border-color: rgba(154, 48, 72, 0.15);
}

/* ========================================
   Amenities
   ======================================== */
.amenity-item {
    transition: transform 0.2s ease;
}

.amenity-item:hover {
    transform: translateX(4px);
}

/* ========================================
   Scroll Reveal (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s 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; }
}

/* Reduced motion - ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ========================================
   Responsive adjustments
   ======================================== */
@media (max-width: 640px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* ========================================
   Selection color
   ======================================== */
::selection {
    background: rgba(154, 48, 72, 0.15);
    color: #3a101c;
}

/* ========================================
   Focus styles
   ======================================== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #ff9770;
    outline-offset: 2px;
    border-radius: 4px;
}
