/* ============================================
   LA GALERA RESTAURANT — CUSTOM STYLES
   ============================================ */

/* --- Geometric Background Shapes --- */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.4;
}

.shape-circle-mint {
    border: 2px solid rgba(61, 217, 176, 0.15);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-triangle-mint {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: rgba(61, 217, 176, 0.08);
    animation: float 10s ease-in-out infinite reverse;
}

.shape-diamond {
    background: rgba(61, 217, 176, 0.1);
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.shape-rect {
    background: rgba(61, 217, 176, 0.06);
    animation: float 12s ease-in-out infinite;
}

/* --- Buttons --- */
.btn-mint {
    background: linear-gradient(135deg, #3dd9b0 0%, #1fb88a 100%);
    color: #060f1d;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(61, 217, 176, 0.25);
}

.btn-mint:hover {
    box-shadow: 0 8px 32px rgba(61, 217, 176, 0.4);
    transform: translateY(-2px);
}

/* --- Navbar --- */
#navbar {
    background: rgba(6, 15, 29, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#navbar.scrolled {
    background: rgba(6, 15, 29, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3dd9b0;
    transition: width 0.3s ease;
}

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

/* --- Mobile Menu --- */
.menu-line {
    transition: all 0.3s ease;
}

#menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

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

.mobile-nav-link {
    position: relative;
}

/* --- Menu Tabs --- */
.menu-tab {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    border-color: rgba(61, 217, 176, 0.4);
    color: #7ef0d0;
}

.menu-tab.active {
    background: linear-gradient(135deg, #3dd9b0 0%, #1fb88a 100%);
    color: #060f1d;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(61, 217, 176, 0.3);
}

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

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.hidden-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* --- Animations --- */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

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

@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

@keyframes scroll-line {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 7s ease-in-out infinite;
    animation-delay: 1s;
}

.animate-scroll-line {
    animation: scroll-line 2s ease-in-out infinite;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .shape-circle-mint {
        width: 250px !important;
        height: 250px !important;
    }
    .shape-triangle-mint {
        width: 120px !important;
        height: 120px !important;
    }
    .shape-diamond {
        width: 60px !important;
        height: 60px !important;
    }
    .shape-rect {
        width: 100px !important;
        height: 50px !important;
    }
}
