:root {
    --dark-brown: #1a1512;
    --primary-yellow: #ffcc00;
    --primary-red: #a52a2a;
    --cream: #f4e9d5;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--cream);
    color: white;
    padding-top: 90px;
}
.logo-img {
    height: 150px; /* antes 50px */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(255, 255, 255, 0.55); /* transparencia */
    backdrop-filter: blur(5px); /* efecto glass */
    -webkit-backdrop-filter: blur(10px); /* soporte Safari */
        transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* --- ESTILOS DEL MENÚ HAMBURGUESA --- */
.menu-toggle {
    display: none; /* Oculto en PC */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--red);
    transition: 0.3s;
}

.btn-whatsapp-nav {
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between; /* Empuja el contenido a los extremos */
    align-items: center;
    padding: 120px 8% 160px;
    flex-wrap: wrap; /* Permite que en móvil la foto baje */
}

.hero-content {
    flex: 1;
    min-width: 450px; /* Asegura que el texto no se comprima demasiado */
    z-index: 2;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Mueve la foto a la derecha */
    z-index: 1;
}

.hero-image img {
    width: 100%;
    max-width: 550px; /* Tamaño máximo de la hamburguesa */
    height: auto;
    /* Efecto de flotado suave */
    filter: drop-shadow(20px 20px 30px rgba(0,0,0,0.6));
}

.features {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.8rem;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(10px 10px 20px rgba(0,0,0,0.5));
}

/* Menu Grid */
.menu-section {
    padding: 50px 10%;
    text-align: center;
    color: #333;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.menu-card {
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.card-label {
    background: var(--primary-red);
    color: white;
    padding: 5px 10px;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: 'Bangers';
}

.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Footer Boxes */
.info-footer {
    display: flex;
    flex-wrap: wrap;
}

.info-box {
    flex: 1;
    padding: 40px;
    text-align: center;
    min-width: 300px;
}

.fa-facebook { color: #1877F2; }
.fa-instagram { color: #E4405F; }
.fa-whatsapp { color: #25D366; }

/* Para que se vean más grandes y tengan espacio */
.icons i {
    font-size: 1.5rem;
    margin: 0 10px;
    transition: transform 0.3s;
}

.icons i:hover {
    transform: scale(1.2); /* Efecto de agrandado al pasar el mouse */
}

.location { background-color: #a52a2a; }
.hours { background-color: #2e5a2e; }
.whatsapp-box { background-color: #c99f37; }

.btn-wa {
    display: inline-block;
    background: white;
    color: #333;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    margin-top: 15px;
}

:root {
    --dark: #1a1512;
    --cream: #f4e9d5;
    --red: #a52a2a;
    --green: #2e5a2e;
    --gold: #c99f37;
}

body { margin:0; font-family: 'Montserrat', sans-serif; background-color: var(--cream); overflow-x: hidden; }

/* NAVBAR */
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: #333; font-weight: bold; font-size: 0.9rem; }
.btn-whatsapp-nav { background: #25d366; color: #fff; padding: 10px 20px; border-radius: 20px; text-decoration: none; }

/* HERO & PAPEL RASGADO */
.hero { 
    background-color: var(--dark); 
    position: relative; 
    padding: 140px 10% 150px; 
    display: flex; 
    align-items: center; 
    color: white;
}
.hero-content h1 { font-family: 'Bangers'; font-size: 4.5rem; line-height: 0.8; margin-bottom: 10px; }
.hero-content h1 span { color: #ffcc00; }
.hero-image img { width: 100%; max-width: 500px; }

.rip-container {
    position: absolute;
    bottom: -1px; /* Evita línea blanca */
    left: 0;
    width: 100%;
    line-height: 0;

}


/* SECCIÓN MENÚ */
.menu-section { padding: 80px 10%; text-align: center; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; margin-top: 40px; }
.menu-card { background: #fff; padding: 20px; border-radius: 10px; position: relative; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.card-tag { position: absolute; top: -10px; left: 10px; background: var(--red); color: white; padding: 5px 15px; font-family: 'Bangers'; font-size: 1.2rem; }
.menu-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }
.btn-opciones { margin-top: 15px; background: none; border: 1px solid var(--red); color: var(--red); padding: 8px 20px; border-radius: 5px; cursor: pointer; }

/* NOSOTROS */
.nosotros-section { padding: 100px 10%; position: relative; display: flex; align-items: center; }
.nosotros-bg-logo { 
    position: absolute; right: 5%; top: 50%; width: 300px; height: 300px; 
    background: url('../img/logo.png') no-repeat; opacity: 0.05; background-size: contain; 
}
.nosotros-photo img { 
    width: 350px; border: 12px solid #fff; transform: rotate(-4deg); 
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1); 
}
.nosotros-text { padding-left: 50px; }
.nosotros-text h2 { font-family: 'Bangers'; font-size: 3.5rem; color: #1a1512; }
.nosotros-text p span { color: var(--red); font-weight: bold; }
.btn-history { background: var(--green); color: white; border: none; padding: 12px 25px; font-weight: bold; margin-top: 20px; border-radius: 5px; }



/* --- SECCIÓN NOSOTROS (3 COLUMNAS) --- */
.nosotros-section {
    padding: 100px 5%;
    background-color: var(--cream);
}

.nosotros-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.nosotros-col {
    flex: 1;
    text-align: center;
}

.photo-col img {
    width: 100%;
    max-width: 320px;
    border: 12px solid #fff;
    transform: rotate(-5deg);
    box-shadow: 15px 15px 40px rgba(0,0,0,0.1);
}

.text-col {
    flex: 1.5; /* Le damos un poco más de espacio al texto central */
    padding: 0 20px;
}

.logo-col img {
    width: 100%;
    max-width: 250px;
    opacity: 0.8; /* Ajusta según prefieras el PNG */
}

/* --- RESPONSIVIDAD (Celulares y Tablets) --- */
@media (max-width: 992px) {
    .hero {
        text-align: center;
        padding-top: 50px;
    }
    
    .hero-content {
        min-width: 100%;
        margin-bottom: 40px;
    }
    
    .hero-image {
        justify-content: center;
    }

    .nosotros-container {
        flex-direction: column; /* De 3 columnas a 1 sola en móvil */
        text-align: center;
    }
    
    .text-col {
        order: 1; /* El texto arriba en móvil */
    }
    
    .photo-col {
        order: 2;
    }
    
    .logo-col {
        order: 3;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}


/* --- RESPONSIVIDAD (Móvil) --- */
@media (max-width: 768px) {

     .navbar {
         display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed; /* mantener fijo */
        top: 0;
        width: 100%; /* Asegura que ocupe todo el ancho */
        padding: 10px 15px; /* Espaciado interno */
        background-color: #fff; /* O el color de tu fondo */
        z-index: 1000;
    
    }

    /* Navbar móvil */
    .menu-toggle { 
        flex: 2; /* Ocupa espacio a la derecha */
        display: flex;
        justify-content: flex-end;
        order: 3;
        cursor: pointer;
        padding-left: 15px;
        }
 /* Logo izquierda */
    .logo {
        flex: 1;
        display: flex;
        justify-content: flex-start;
    }
      .btn-whatsapp-nav {
        order: 2;
        flex: 1;  /* Ocupa espacio central */
        display: flex;
        justify-content: center; /* Centra el contenido del botón */
        text-decoration: none;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: -100%; /* Escondido a la izquierda */
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 100;
    }

    .nav-links.active { left: 0; } /* Se muestra al hacer click */

    .wa-text { 
        display: inline-block; 
        margin-left: 5px;
        font-size: 10px; /* Ajusta el tamaño si es necesario */
    }

    .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-whatsapp-nav {
    margin-left: 6px;
    padding: 8px 10px;
    border-radius: 50px;
}

    /* HERO MÓVIL: Evitar que se pierda la imagen */
    .hero {
        padding: 80px 5% 100px;
        flex-direction: column; /* Apila texto y luego imagen */
        text-align: center;
    }

    .hero-content {
        min-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.8rem; /* Letra un poco más pequeña en móvil */
    }

    .hero-image {
        display: block !important; /* Forzar visibilidad */
        width: 100%;
        margin-top: 30px;
    }

    .hero-image img {
        max-width: 280px; /* Tamaño controlado para que no desborde */
        margin: 0 auto;
    }

    /* Ajuste de sección Nosotros en móvil */
    .nosotros-container {
        gap: 40px;
    }
    
    .photo-col img {
        max-width: 250px;
    }
}
/* BLOQUES DE COLORES CON TEXTURA */
.footer-blocks { display: flex; flex-wrap: wrap; text-align: center; color: white; }
.f-block { 
    flex: 1; min-width: 300px; padding: 60px 20px; 
    background-image: url('https://www.transparenttextures.com/patterns/cream-paper.png'); /* Textura desgaste */
}
.red-bg { background-color: var(--red); }
.green-bg { background-color: var(--green); }
.gold-bg { background-color: var(--gold); }
.btn-wa-action { display: inline-block; background: #fff; color: #333; padding: 10px 25px; border-radius: 25px; text-decoration: none; margin-top: 15px; font-weight: bold; }

/* FOOTER */
.bottom-footer { background: #000; color: white; padding: 50px 10% 20px; text-align: center; }
.b-footer-nav { margin: 20px 0; font-size: 0.8rem; color: #ccc; }
.b-footer-social { margin-bottom: 20px; font-size: 14px; gap: 15px; display: flex; justify-content: center; }
.copyright { border-top: 1px solid #222; padding-top: 20px; font-size: 0.7rem; color: #555; }