:root {
    --primary: #6B8E63;         /* Verde Olivo/Salvia del Logo */
    --primary-dark: #4A6B43;    /* Verde Oscuro de Acento */
    --bg-dark: #1C1412;         /* Café Oscuro/Marrón de Fondo del Logo */
    --bg-card: #2A1E1B;         /* Café Mediano para Tarjetas */
    --accent: #8FA382;         /* Verde Claro Suave */
    --text-light: #F4EBE1;       /* Crema Claro para Textos */
    --text-muted: #C2B69D;      /* Tono Crema/Dorado Apagado */
    --shadow: 0 10px 30px rgba(0,0,0,0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    color: var(--text-light);
    background-color: var(--bg-dark);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(28, 20, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(107, 142, 99, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section con Video */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 1rem;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 20, 18, 0.75);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

.hero-logo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(107, 142, 99, 0.4);
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2.2rem;
    background: var(--primary);
    color: var(--bg-dark);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--text-light);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
}

/* Menu Interactivo */
.menu-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.6rem 1.8rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(107, 142, 99, 0.15);
    transition: transform 0.3s, border-color 0.3s;
    display: none;
}

.menu-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.menu-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.menu-card h3 {
    color: var(--text-light);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.menu-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.8rem;
}

/* Contacto, Formulario y Mapa Full Width */
.contact-section {
    background: #140E0D;
    padding: 5rem 2rem 3rem 2rem;
    border-top: 1px solid rgba(107, 142, 99, 0.2);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.icon-detail {
    color: var(--primary);
    margin-right: 8px;
}

.contact-info p {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.contact-form h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form textarea {
    padding: 1rem;
    border: 1px solid rgba(107, 142, 99, 0.3);
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: 8px;
    outline: none;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.3s;
}

.social-icon:hover {
    background: var(--text-light);
    transform: translateY(-3px);
}

/* Mapa Ancho Completo */
.map-container-full {
    max-width: 1200px;
    margin: 0 auto;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(107, 142, 99, 0.3);
    box-shadow: var(--shadow);
}

.map-container-full iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Botón WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    z-index: 100;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

footer {
    background: #0C0807;
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(107, 142, 99, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
}