/* ============================================
   Pueblo Nuevo Park — Custom Styles
   ============================================ */

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FDF9F0; }
::-webkit-scrollbar-thumb { background: #1B4332; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3D8B53; }

/* --- Header --- */
#site-header {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
#site-header.scrolled {
    background: rgba(253, 249, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(27, 67, 50, 0.08);
}

/* --- Nav links --- */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4A017;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* --- Mobile menu --- */
.mob-link {
    position: relative;
}
.mob-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4A017;
    transition: width 0.3s ease;
}
.mob-link:hover::after { width: 100%; }

/* --- Buttons --- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #D4A017;
    color: #2C1810;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(212, 160, 23, 0.3);
}
.btn-gold:hover {
    background: #B8860B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.4);
}
.btn-outline-cream {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: #FDF9F0;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 1rem;
    text-decoration: none;
    border: 2px solid rgba(253, 249, 240, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-outline-cream:hover {
    background: rgba(253, 249, 240, 0.1);
    border-color: rgba(253, 249, 240, 0.7);
    transform: translateY(-2px);
}

/* --- Hero blobs --- */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(212, 160, 23, 0.12);
    top: -100px;
    right: 10%;
    animation-delay: 0s;
}
.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(95, 163, 114, 0.2);
    bottom: 10%;
    left: 5%;
    animation-delay: -3s;
}
.blob-3 {
    width: 200px;
    height: 200px;
    background: rgba(212, 160, 23, 0.08);
    top: 40%;
    right: 30%;
    animation-delay: -5s;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* --- Menu cards --- */
.menu-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.menu-card.revealed {
    opacity: 1;
    transform: translateY(0);
}
.menu-card:not(.revealed) {
    opacity: 0;
    transform: translateY(30px);
}

/* --- Vibe cards --- */
.vibe-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.vibe-card.revealed {
    opacity: 1;
    transform: translateY(0);
}
.vibe-card:not(.revealed) {
    opacity: 0;
    transform: translateY(30px);
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: no-preference) {
    .menu-card, .vibe-card {
        opacity: 0;
        transform: translateY(30px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .menu-card, .vibe-card {
        opacity: 1;
        transform: none;
    }
    .hero-blob { animation: none; }
    html { scroll-behavior: auto; }
}

/* --- Scroll reveal utility --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Mobile menu animation --- */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Focus styles --- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #D4A017;
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Responsive tweaks --- */
@media (max-width: 640px) {
    .hero-blob { display: none; }
}
