/* Custom styles for Santa Rosa Hotels & Lodging */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fdf2f4;
}

::-webkit-scrollbar-thumb {
    background: #af3d5f;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8f324e;
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Stagger animations for grid items */
    .reveal:nth-child(1) { transition-delay: 0.1s; }
    .reveal:nth-child(2) { transition-delay: 0.2s; }
    .reveal:nth-child(3) { transition-delay: 0.3s; }
    .reveal:nth-child(4) { transition-delay: 0.4s; }
}

/* Ensure content is visible without JavaScript */
@media not all and (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Geometric decorative elements */
.geometric-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    pointer-events: none;
}

/* Navbar glass effect on scroll */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Room card hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Form focus styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(175, 61, 95, 0.1);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Custom gradient backgrounds */
.gradient-burgundy {
    background: linear-gradient(135deg, #411420 0%, #772d44 100%);
}

.gradient-blush {
    background: linear-gradient(135deg, #fff8f6 0%, #ffe4db 100%);
}

/* Testimonial card hover */
.bg-white\/5 {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.bg-white\/5:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Ensure proper contrast for all text */
.text-burgundy-900 {
    color: #411420;
}

.text-burgundy-700 {
    color: #af3d5f;
}

.text-burgundy-600 {
    color: #c9577a;
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Pulse animation for CTA buttons */
@keyframes pulse-soft {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 104, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 138, 104, 0); }
}

.pulse-soft {
    animation: pulse-soft 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
    
    .font-display {
        font-size: 2rem;
    }
}
