/* Custom Styles for Casa de Hospedaje en Miami */

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

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

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

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

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

/* Selection Color */
::selection {
    background: rgba(217, 119, 6, 0.3);
    color: #fafaf9;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Reveal Animations */
.reveal-up {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal-left {
    opacity: 1;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.reveal-right {
    opacity: 1;
    animation: fadeInRight 0.8s ease-out forwards;
}

/* Reduced Motion */
@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;
    }
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Navbar Active State */
.nav-scrolled {
    background: rgba(12, 10, 9, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

/* Button Focus States */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d97706;
    outline-offset: 2px;
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 1px #d97706;
}

/* Gold Accent Utilities */
.text-gold-gradient {
    background: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Luxury Card Effect */
.luxury-card {
    background: linear-gradient(145deg, rgba(24, 24, 27, 0.9), rgba(12, 10, 9, 0.9));
    border: 1px solid rgba(217, 119, 6, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Gold Border Animation */
@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(217, 119, 6, 0.2);
    }
    50% {
        border-color: rgba(217, 119, 6, 0.5);
    }
}

.gold-border-glow {
    animation: borderGlow 3s ease-in-out infinite;
}
