/* Los Corales Lonchera — Additional Custom Styles */

/* Smooth focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a843, #ff5733);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e6c264, #ff7a4d);
}

/* 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;
    }
    
    .float-anim {
        animation: none;
    }
    
    .shimmer-text {
        animation: none;
        background: linear-gradient(135deg, #f0d68a 0%, #d4a843 50%, #b8912e 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* Print styles */
@media print {
    .nav-glass, #mobile-menu, .float-anim {
        display: none !important;
    }
    
    body {
        background: white;
        color: #111;
    }
    
    .card-luxury {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .card-luxury {
        border: 1px solid ButtonText;
    }
    
    .btn-gold, .btn-coral {
        border: 1px solid ButtonText;
    }
}

/* Ensure touch targets are large enough on mobile */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
    
    nav a, .mobile-link {
        font-size: 1.125rem;
        padding: 0.75rem 0;
    }
}

/* Ensure text is readable on all backgrounds */
.text-glow {
    text-shadow: 0 0 40px rgba(255, 87, 51, 0.3);
}

/* Gold gradient line divider */
.divider-ornament {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.divider-ornament::before,
.divider-ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.4), transparent);
}

/* Card hover states */
.card-luxury {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-luxury:hover {
    border-color: rgba(212, 168, 67, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(255, 87, 51, 0.08), 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Image hover zoom */
.img-luxury {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-luxury:hover {
    transform: scale(1.03);
}
