/* Custom styles for La Isla del Sabor */

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

/* Base styles */
body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
}

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

/* Custom color utilities */
.text-emerald-950 {
    color: #052e16;
}

.text-emerald-900 {
    color: #14532d;
}

.text-emerald-800 {
    color: #166534;
}

.text-emerald-700 {
    color: #15803d;
}

.text-emerald-600 {
    color: #16a34a;
}

.text-emerald-500 {
    color: #22c55e;
}

.text-emerald-400 {
    color: #4ade80;
}

.text-emerald-300 {
    color: #86efac;
}

.text-emerald-200 {
    color: #bbf7d0;
}

.text-emerald-100 {
    color: #dcfce7;
}

.text-emerald-50 {
    color: #f0fdf4;
}

.bg-emerald-950 {
    background-color: #052e16;
}

.bg-emerald-900 {
    background-color: #14532d;
}

.bg-emerald-800 {
    background-color: #166534;
}

.bg-emerald-700 {
    background-color: #15803d;
}

.bg-emerald-600 {
    background-color: #16a34a;
}

.bg-emerald-500 {
    background-color: #22c55e;
}

.bg-emerald-400 {
    background-color: #4ade80;
}

.bg-emerald-300 {
    background-color: #86efac;
}

.bg-emerald-200 {
    background-color: #bbf7d0;
}

.bg-emerald-100 {
    background-color: #dcfce7;
}

.bg-emerald-50 {
    background-color: #f0fdf4;
}

/* Cream colors */
.text-cream-950 {
    color: #421e06;
}

.text-cream-900 {
    color: #7d4012;
}

.text-cream-800 {
    color: #9a5218;
}

.text-cream-700 {
    color: #b86a20;
}

.text-cream-600 {
    color: #d48830;
}

.text-cream-500 {
    color: #e4a850;
}

.text-cream-400 {
    color: #efc888;
}

.text-cream-300 {
    color: #f5e4c0;
}

.text-cream-200 {
    color: #faf0d8;
}

.text-cream-100 {
    color: #fdf9f0;
}

.text-cream-50 {
    color: #fefdf8;
}

.bg-cream-950 {
    background-color: #421e06;
}

.bg-cream-900 {
    background-color: #7d4012;
}

.bg-cream-800 {
    background-color: #9a5218;
}

.bg-cream-700 {
    background-color: #b86a20;
}

.bg-cream-600 {
    background-color: #d48830;
}

.bg-cream-500 {
    background-color: #e4a850;
}

.bg-cream-400 {
    background-color: #efc888;
}

.bg-cream-300 {
    background-color: #f5e4c0;
}

.bg-cream-200 {
    background-color: #faf0d8;
}

.bg-cream-100 {
    background-color: #fdf9f0;
}

.bg-cream-50 {
    background-color: #fefdf8;
}

/* Navigation active state */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #166534;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 101, 52, 0.3);
}

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

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(22, 101, 52, 0.15);
}

/* Image hover zoom */
.img-zoom {
    overflow: hidden;
}

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

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

/* Form focus styles */
input:focus,
textarea:focus {
    outline: none;
    border-color: #166534;
    box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.1);
}

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

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

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
}

#mobile-menu.hidden {
    max-height: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 500px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .grid-cols-1.md\\:grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #14532d;
}

/* Decorative elements */
.ornament::before,
.ornament::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #166534, transparent);
    margin: 0 auto;
}
