/* Custom styles for Riviera Maya Grill */

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

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

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

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

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

/* Hero asymmetric layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 1023px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Font families */
.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-body {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Button styles */
.btn-primary {
    background-color: #15803d;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #166534;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Card hover effect */
.menu-card {
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Image hover effect */
.image-hover {
    overflow: hidden;
}

.image-hover img {
    transition: transform 0.5s ease;
}

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

/* Mobile menu animation */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.open {
    max-height: 400px;
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Decorative elements */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #15803d, #4ade80);
    opacity: 0.1;
}

/* Footer pattern */
.footer-pattern {
    background-image: radial-gradient(circle, #15803d 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid #15803d;
    outline-offset: 2px;
}

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

/* Print styles */
@media print {
    .fixed,
    nav,
    footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero-grid {
        min-height: auto;
    }
}
