/* Custom styles for Daytona Beach Motel */

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

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

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

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

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

/* Room card hover effects */
.room-card {
    position: relative;
}

.room-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af7c, #ff9675);
    transition: width 0.3s ease;
}

.room-card:hover::after {
    width: 100%;
}

/* Image hover zoom */
.room-card img,
#experience img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Button hover effects */
button,
a[href="#rooms"],
a[href="#contact"] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form input focus effects */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 1px #d4af7c;
}

/* Fade in animation for scroll reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger animation delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Gold gradient text effect */
.text-gold-gradient {
    background: linear-gradient(135deg, #e8d5a3, #d4af7c, #c9a26b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem !important;
    }
    
    .room-card img {
        height: 250px !important;
    }
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #d4af7c;
    outline-offset: 2px;
}

/* Loading state for buttons */
button:disabled,
button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success message animation */
#form-success {
    animation: fadeInUp 0.6s ease-out;
}
