/* Custom styles for Rainy Pass Lodge */

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

/* Floating card animations */
@keyframes float-1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-card-1 {
    animation: float-1 6s ease-in-out infinite;
}

.floating-card-2 {
    animation: float-2 5s ease-in-out infinite;
    animation-delay: 1s;
}

.floating-card-3 {
    animation: float-3 7s ease-in-out infinite;
    animation-delay: 2s;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        transition: none;
    }
    
    img {
        transition: none;
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 107, 87, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

::-webkit-scrollbar-track {
    background: #0f0f0f;
}

::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF6B57;
}

/* Selection color */
::selection {
    background: rgba(255, 107, 87, 0.3);
    color: #fff;
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* Geometric decorations */
.geo-diamond {
    transform: rotate(45deg);
}

/* Image hover overlay */
.img-overlay {
    position: relative;
    overflow: hidden;
}

.img-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

/* Contact form styles */
.form-input {
    background: rgba(42, 42, 42, 0.5);
    border: 1px solid rgba(61, 61, 61, 0.5);
    color: #f6f6f6;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #FF6B57;
    box-shadow: 0 0 0 3px rgba(255, 107, 87, 0.1);
}

.form-input::placeholder {
    color: #5e5e5e;
}

/* Success message */
.success-message {
    animation: fadeInUp 0.5s ease;
}

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