/* Custom styles for La Frontera del Rico Bondy */

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

/* Body styling */
body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    background-color: #0a1338;
    color: #ffffff;
    overflow-x: hidden;
}

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

/* Geometric shapes */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

/* Hero background pattern */
.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(43, 184, 106, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(60, 109, 255, 0.1) 0%, transparent 50%);
}

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #2bb86a 0%, #4fd18a 50%, #8ee9af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(10, 19, 56, 0.15);
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #2bb86a 0%, #1a9552 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a9552 0%, #137642 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 184, 106, 0.3);
}

/* Secondary button */
.btn-secondary {
    background: transparent;
    border: 2px solid #2bb86a;
    color: #2bb86a;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #2bb86a;
    color: #0a1338;
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(20px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(10, 19, 56, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Menu item hover */
.menu-item:hover .menu-item-img {
    transform: scale(1.05);
}

.menu-item-img {
    transition: transform 0.4s ease;
}

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

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

/* Pulse animation */
.pulse-dot {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

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

::-webkit-scrollbar-thumb {
    background: #2bb86a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a9552;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #2bb86a;
    outline-offset: 2px;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
    
    .geometric-shape {
        display: none;
    }
}
