/* ============================================
   RV Salgados - Premium Menu Website
   Blue palette from original flyer
   ============================================ */

/* --- Design Tokens --- */
:root {
    --blue-50: #eaf2fc;
    --blue-100: #c9def6;
    --blue-200: #a3c8ef;
    --blue-300: #76ade6;
    --blue-400: #539ae0;
    --blue-500: #3688d9;
    --blue-600: #2e7acc;
    --blue-700: #2568b5;
    --blue-800: #1d579e;
    --blue-900: #103a75;

    --bg-primary: #070e18;
    --bg-secondary: #0c1a2e;
    --bg-card: rgba(12, 26, 46, 0.65);
    --bg-card-hover: rgba(20, 42, 68, 0.85);

    --text-primary: #f0f5fa;
    --text-secondary: #8fb0d0;
    --text-muted: #506c85;

    --accent-gold: #f0c040;
    --accent-green: #25d366;
    --accent-sweet: #d97cb8;

    --gradient-hero: linear-gradient(160deg, #0d2240 0%, #1a5294 40%, #2e7acc 70%, #4aa0e8 100%);

    --shadow-glow: 0 0 40px rgba(46, 122, 204, 0.18);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 40px;
    --radius-full: 9999px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1140px;
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Background Ambient Orbs --- */
.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--blue-600);
    top: -200px;
    right: -150px;
    animation: orbFloat1 25s ease-in-out infinite;
}

.bg-orb-2 {
    width: 450px;
    height: 450px;
    background: var(--blue-400);
    bottom: 10%;
    left: -100px;
    animation: orbFloat2 30s ease-in-out infinite;
}

.bg-orb-3 {
    width: 350px;
    height: 350px;
    background: var(--blue-800);
    top: 50%;
    right: 20%;
    animation: orbFloat3 20s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-60px, 80px); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(70px, -50px); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-40px, -60px); }
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(46, 122, 204, 0.2), transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(7, 14, 24, 0.5), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 24px;
    animation: fadeInUp 0.7s ease-out;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-img {
    max-width: 320px;
    width: 80vw;
    height: auto;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.5));
    animation: logoAppear 0.9s ease-out;
}

@keyframes logoAppear {
    0% { opacity: 0; transform: scale(0.7) translateY(20px); }
    60% { transform: scale(1.03) translateY(-4px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--blue-100);
    font-weight: 300;
    margin-bottom: 28px;
    letter-spacing: 0.03em;
    opacity: 0;
    animation: fadeInUp 0.7s ease-out 0.3s forwards;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeInUp 0.7s ease-out 0.45s forwards;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--blue-100);
    transition: var(--transition);
}

.badge:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.badge svg {
    opacity: 0.8;
    flex-shrink: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: var(--transition);
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.7s ease-out 0.6s forwards;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(46, 122, 204, 0.35);
}

.cta-button svg {
    animation: bounceDown 2.5s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 90px;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   CATEGORY NAV
   ======================================== */
.category-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-primary);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(46, 122, 204, 0.1);
    padding: 14px 0;
}

.nav-container {
    display: flex;
    gap: 8px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-container::-webkit-scrollbar {
    display: none;
}

.nav-pill {
    flex-shrink: 0;
    padding: 10px 24px;
    border: 1px solid rgba(46, 122, 204, 0.2);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.nav-pill:hover {
    background: rgba(46, 122, 204, 0.12);
    color: var(--text-primary);
    border-color: rgba(46, 122, 204, 0.35);
}

.nav-pill.active {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(46, 122, 204, 0.35);
}

/* ========================================
   MENU CONTAINER
   ======================================== */
.menu-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 32px 24px 80px;
    position: relative;
    z-index: 1;
}

/* ========================================
   MENU SECTIONS
   ======================================== */
.menu-section {
    margin-bottom: 72px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.menu-section.visible-section {
    opacity: 1;
    transform: translateY(0);
}

.menu-section.hidden {
    display: none;
}

.section-header {
    margin-bottom: 28px;
    text-align: center;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 16px;
}

.section-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
    border-radius: 3px;
    margin: 0 auto;
}

/* ========================================
   MENU GRID
   ======================================== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.grid-drinks {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ========================================
   MENU CARD
   ======================================== */
.menu-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(46, 122, 204, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: default;
    opacity: 0;
    transform: translateY(16px);
}

.menu-card.visible {
    animation: cardReveal 0.45s ease-out forwards;
}

@keyframes cardReveal {
    to { opacity: 1; transform: translateY(0); }
}

.menu-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(46, 122, 204, 0.2), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.menu-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.menu-card:hover::before {
    opacity: 1;
}

.card-content {
    padding: 22px 26px;
    position: relative;
    z-index: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 6px;
}

.card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
}

.card-desc {
    font-size: 0.84rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.5;
}

/* --- Price Tag --- */
.price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-200);
    white-space: nowrap;
    padding: 6px 16px;
    background: rgba(46, 122, 204, 0.08);
    border-radius: var(--radius-full);
    border: 1px solid rgba(46, 122, 204, 0.12);
    flex-shrink: 0;
    letter-spacing: 0.01em;
}

.price-special {
    background: linear-gradient(135deg, rgba(240, 192, 64, 0.12), rgba(240, 192, 64, 0.05));
    color: var(--accent-gold);
    border-color: rgba(240, 192, 64, 0.2);
    font-size: 1.2rem;
}

/* --- Special Cards --- */
.card-special {
    border-color: rgba(240, 192, 64, 0.12);
    background: linear-gradient(135deg, rgba(12, 26, 46, 0.7), rgba(25, 42, 62, 0.5));
}

.card-special::before {
    background: linear-gradient(135deg, rgba(240, 192, 64, 0.25), transparent 60%) !important;
}

.card-special:hover {
    border-color: rgba(240, 192, 64, 0.3);
    box-shadow: 0 0 40px rgba(240, 192, 64, 0.08), var(--shadow-card);
}

/* --- Sweet Cards --- */
.card-sweet {
    border-color: rgba(217, 124, 184, 0.1);
}

.card-sweet::before {
    background: linear-gradient(135deg, rgba(217, 124, 184, 0.25), transparent 60%) !important;
}

.card-sweet:hover {
    border-color: rgba(217, 124, 184, 0.25);
    box-shadow: 0 0 40px rgba(217, 124, 184, 0.08), var(--shadow-card);
}

.card-sweet .price {
    background: rgba(217, 124, 184, 0.1);
    color: var(--accent-sweet);
    border-color: rgba(217, 124, 184, 0.15);
}

/* --- Drink Cards --- */
.card-drink .card-content {
    padding: 18px 22px;
}

.card-drink .card-header h3 {
    font-size: 0.95rem;
}

.card-drink .price {
    font-size: 0.95rem;
    padding: 4px 14px;
}

/* --- Ingredients --- */
.ingredients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.ingredient {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: rgba(46, 122, 204, 0.06);
    border: 1px solid rgba(46, 122, 204, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
}

.contact-container {
    max-width: 560px;
    margin: 0 auto;
}

.contact-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    opacity: 0.9;
}

.contact-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--text-primary), var(--blue-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 32px;
    font-weight: 300;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #25d366, #1da851);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-family: 'Outfit', sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(37, 211, 102, 0.35);
}

.location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
}

.location svg {
    color: var(--blue-400);
    flex-shrink: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    position: relative;
    z-index: 1;
    padding: 28px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(46, 122, 204, 0.08);
    text-align: center;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ========================================
   FLOATING WHATSAPP
   ======================================== */
.fab-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #25d366, #1da851);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    transform: scale(0.5) translateY(20px);
    animation: fabAppear 0.5s ease-out 1.2s forwards;
}

.fab-whatsapp:hover {
    transform: scale(1.12) translateY(-2px) !important;
    box-shadow: 0 10px 36px rgba(37, 211, 102, 0.45);
}

.fab-whatsapp::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.35);
    animation: fabPulse 2.5s ease-in-out infinite;
}

@keyframes fabAppear {
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fabPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero {
        min-height: 85vh;
    }

    .logo-img {
        max-width: 240px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .grid-drinks {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-pill {
        padding: 9px 18px;
        font-size: 0.82rem;
    }

    .card-content {
        padding: 18px 20px;
    }

    .contact-buttons {
        padding: 0 8px;
    }

    .fab-whatsapp {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
    }

    .menu-container {
        padding: 24px 16px 60px;
    }

    .contact-section {
        padding: 56px 20px;
    }
}

@media (max-width: 480px) {
    .card-header h3 {
        font-size: 0.95rem;
    }

    .price {
        font-size: 0.95rem;
        padding: 5px 12px;
    }

    .whatsapp-btn {
        padding: 14px 24px;
        font-size: 1rem;
        border-radius: var(--radius-lg);
    }

    .section-header h2 {
        font-size: 1.35rem;
    }
}

/* --- Scrollbar --- */
body::-webkit-scrollbar {
    width: 7px;
}

body::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

body::-webkit-scrollbar-thumb {
    background: var(--blue-900);
    border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
    background: var(--blue-700);
}

/* --- Selection --- */
::selection {
    background: var(--blue-600);
    color: white;
}
