/* Custom styles for Las Conchas */

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

/* Custom selection color */
::selection {
    background-color: #F4845F;
    color: white;
}

/* Navbar glass effect */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.navbar-transparent {
    background-color: transparent !important;
    backdrop-filter: none;
    box-shadow: none;
}

/* Hero image hover */
.hero-image-wrapper {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-image-wrapper:hover {
    transform: scale(1.01);
}

/* Floating card animation */
.float-card {
    animation: float 6s ease-in-out infinite;
}

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

/* Menu item hover */
.menu-item {
    transition: all 0.2s ease;
}

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

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #F4845F;
    outline-offset: 2px;
    border-radius: 9999px;
}

/* Mobile menu transitions */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Scroll indicator animation */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.5; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .float-card {
        animation: none;
    }
    .scroll-indicator {
        animation: none;
    }
    .menu-item:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .navbar-scrolled {
        background-color: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 1px 0 #000;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9fa3aa;
}

/* Image loading placeholder */
img {
    background-color: #e2e3e5;
}

/* Print styles */
@media print {
    nav, .scroll-indicator, #mobile-menu {
        display: none !important;
    }
    body {
        color: #1e2025;
        background: white;
    }
    section {
        page-break-inside: avoid;
    }
}
