@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #00509d;
    --secondary: #00b4d8;
    --accent: #ffd166;
    --text: #1a2a3a;
    --text-light: #5a6a7a;
    --bg: #ffffff;
    --bg-alt: #f0f7ff;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 80, 157, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .playfair {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

section {
    padding: 100px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    box-shadow: var(--shadow);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul a {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul a:hover {
    color: var(--secondary);
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
}

.nav-cta:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--bg-alt);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Menu Section */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary);
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 10px auto 0;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-10px);
}

.item-img {
    width: 100%;
    height: 250px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.item-content {
    padding: 25px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.item-header h3 {
    font-size: 1.4rem;
}

.price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.item-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Info Section */
.info-section {
    background: var(--bg-alt);
}

.info-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.info-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: block;
}

.info-card h4 {
    margin-bottom: 5px;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: #e5e5e5;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    position: relative;
    overflow: hidden;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-alt);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 80, 157, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.stars {
    color: #ffb703;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 5% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-links ul li:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Menu Page Specifics */
.menu-header {
    background: linear-gradient(rgba(0, 80, 157, 0.8), rgba(0, 180, 216, 0.8)), url('assets/arrozbanda.png');
    background-size: cover;
    background-position: center;
    padding: 150px 5% 100px;
    text-align: center;
    color: var(--white);
}

.menu-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
}

.menu-tab {
    background: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.menu-tab.active {
    background: var(--primary);
    color: var(--white);
}

.menu-tab:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.menu-category {
    margin-bottom: 50px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-alt);
}

.category-title h3 {
    font-size: 2rem;
    color: var(--primary);
}

.category-title i {
    color: var(--secondary);
}

.menu-items-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.dish-item {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(0, 80, 157, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dish-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 5px;
}

.dish-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.menu-price-tag {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: var(--bg-alt);
    border-radius: 20px;
    border: 2px dashed var(--primary);
}

.menu-price-tag h2 {
    font-size: 3rem;
    color: var(--primary);
}

.menu-price-tag p {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        display: none;
        box-shadow: var(--shadow);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }

    .menu-items-list {
        grid-template-columns: 1fr;
    }
}

.dish-item .item-header { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; }
.dish-item .price { font-size: 1rem; color: var(--primary); font-weight: 700; }

@media (max-width: 768px) { .cta-menu-container { grid-template-columns: 1fr !important; text-align: center; gap: 30px !important; } .cta-text-side h2 { font-size: 2.5rem !important; } }

/* Language Switcher */
.lang-en { display: none; }
body.lang-en-active .lang-es { display: none; }
body.lang-en-active .lang-en { display: inline-block; }
.lang-switch { display: flex; gap: 10px; margin-left: 20px; font-weight: 600; cursor: pointer; font-size: 0.8rem; }
.lang-switch span { opacity: 0.5; transition: var(--transition); }
.lang-switch span.active { opacity: 1; color: var(--secondary); border-bottom: 2px solid var(--secondary); }

/* Menu Item with Image */
.dish-item { 
    display: flex; 
    gap: 20px; 
    align-items: center; 
    margin-bottom: 25px; 
    background: rgba(255,255,255,0.05); 
    padding: 15px; 
    border-radius: 12px; 
    transition: var(--transition); 
}
.dish-item:hover { 
    transform: translateY(-5px); 
    background: rgba(255,255,255,0.1); 
}
.dish-img { 
    width: 100px; 
    height: 100px; 
    border-radius: 8px; 
    background: var(--bg-alt); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    flex-shrink: 0; 
    position: relative; 
}
.dish-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block;
}
.dish-img:empty::after { 
    content: 'IMAGE'; 
    font-size: 0.6rem; 
    color: var(--primary); 
    font-weight: 700; 
    opacity: 0.3; 
}

@media (max-width: 768px) { 
    .lang-switch { margin: 15px 0; justify-content: center; } 
    .cta-menu-container { grid-template-columns: 1fr !important; text-align: center; gap: 30px !important; } 
    .cta-text-side h2 { font-size: 2.5rem !important; }
}

@media (max-width: 600px) { 
    .dish-item { flex-direction: column; text-align: center; } 
    .dish-img { width: 100%; height: 150px; } 
}

.dish-img:empty { background: linear-gradient(135deg, var(--bg-alt), var(--bg)); display: flex; align-items: center; justify-content: center; }.dish-img:empty::before { content: '\ea10'; font-family: 'lucide'; font-size: 1.5rem; color: var(--primary); opacity: 0.2; }
