/* Vallarta Restaurant — Custom Styles */

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

/* Selection color */
::selection {
    background: #b83232;
    color: #fff8f6;
}

/* Base font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Image loading fallback */
img {
    background-color: #fce7e7;
}

/* Custom focus styles */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #ff8d6e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(20px) rotate(40deg); }
}

.geo-diamond {
    animation: float-reverse 8s ease-in-out infinite;
}

.geo-circle {
    animation: float 10s ease-in-out infinite;
}

/* Parallax-lite for hero shapes */
@media (prefers-reduced-motion: no-preference) {
    .hero .geo-shape {
        will-change: transform;
    }
}

/* Print styles */
@media print {
    .navbar, .hero, .geo-shape, .footer-wave {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
    a {
        text-decoration: underline;
    }
}

/* 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;
    }
    .geo-diamond, .geo-circle {
        animation: none;
    }
}
