/* ===== CUSTOM STYLES FOR EL LAGUNERO ===== */

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

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

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(255, 254, 252, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(140, 37, 37, 0.08);
}

/* ===== HERO FLOATING CARDS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

.floating-card-1 {
    animation: float 4s ease-in-out infinite;
}

.floating-card-2 {
    animation: float-delayed 5s ease-in-out infinite;
}

.floating-card-3 {
    animation: float 4.5s ease-in-out infinite;
    animation-delay: 1s;
}

/* ===== MENU TABS ===== */
.menu-tab {
    background: white;
    color: #8c2525;
    border: 2px solid transparent;
    box-shadow: 0 1px 4px rgba(140, 37, 37, 0.06);
}

.menu-tab:hover {
    background: #fdf2f2;
    border-color: #f9e4e4;
}

.menu-tab.active {
    background: #8c2525;
    color: white;
    box-shadow: 0 4px 14px rgba(140, 37, 37, 0.3);
}

/* ===== MENU CARDS ===== */
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-2px);
}

/* ===== FEATURE ITEMS ===== */
.feature-item {
    opacity: 1;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }

    .menu-card:hover {
        transform: none;
    }

    .feature-item:hover {
        transform: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== GALLERY HOVER ===== */
.rounded-2xl.overflow-hidden img {
    transition: transform 0.7s ease;
}

.rounded-2xl.overflow-hidden:hover img {
    transform: scale(1.05);
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* ===== BUTTON HOVER EFFECTS ===== */
a, button {
    transition: all 0.3s ease;
}

/* ===== SELECTION COLOR ===== */
::selection {
    background: #f9e4e4;
    color: #5e1a1a;
}

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

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

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

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