/* ===== VARIABLES ===== */
:root {
    --verde: #72b84f;
    --verde-oscuro: #5a9a3a;
    --cafe: #933416;
    --cafe-oscuro: #7a2b12;
    --amarillo: #ffd166;
    --naranja: #ff9f1c;
    --rojo: #e63946;
    --fondo: #fff9f0;
    --texto: #2d1b0e;
    --sombra-fuerte: 0 20px 35px -8px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka', sans-serif;
    background-color: var(--fondo);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 209, 102, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 50%, rgba(114, 184, 79, 0.1) 0%, transparent 25%);
    color: var(--texto);
    line-height: 1.5;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, var(--verde), var(--amarillo));
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 5px solid var(--cafe);
    box-shadow: var(--sombra-fuerte);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    height: 80px;
    width: auto;
    background: white;
    border-radius: 50%;
    padding: 5px;
    border: 4px solid var(--cafe);
}

.logo img {
    height: 100%;
    width: auto;
    border-radius: 50%;
}

/* ===== LOGO CLICKABLE ===== */
.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo-link:hover {
    transform: scale(1.05);
}

/* ===== MENÚ HAMBURGUESA ===== */
.hamburger-btn {
    display: none;
    background: var(--cafe);
    border: 3px solid white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 5px 0 var(--cafe-oscuro);
    transition: all 0.3s;
    z-index: 1000;
}

.hamburger-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 var(--cafe-oscuro);
}

.hamburger-btn span {
    display: block;
    width: 30px;
    height: 4px;
    background: white;
    margin: 6px auto;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-menu {
    display: flex;
    gap: 15px;
    background: rgba(255,255,255,0.3);
    padding: 10px 20px;
    border-radius: 60px;
    backdrop-filter: blur(5px);
    border: 2px solid white;
    flex-wrap: wrap;
    justify-content: center;
    transition: all 0.3s;
}

.nav-menu a {
    color: var(--texto);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 40px;
    white-space: nowrap;
}

.nav-menu a:hover {
    background: var(--cafe);
    color: white;
    transform: scale(1.05);
}

/* ===== HERO - SOLO FOTO ===== */
.hero {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 40px 40px 100px 100px;
    overflow: hidden;
    margin: 30px 0 60px;
    border: 5px solid white;
    box-shadow: var(--sombra-fuerte);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ===== TÍTULOS DE SECCIÓN ===== */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--texto);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-shadow: 3px 3px 0 var(--amarillo);
    scroll-margin-top: 100px;
}

.section-title i {
    color: white;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--rojo), var(--naranja));
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 7px 0 var(--cafe);
    border: 3px solid white;
}

.section-title:after {
    content: '';
    flex: 1;
    height: 8px;
    background: repeating-linear-gradient(
        45deg,
        var(--verde) 0px,
        var(--verde) 15px,
        var(--amarillo) 15px,
        var(--amarillo) 30px
    );
    margin-left: 20px;
    border-radius: 10px;
    border: 2px solid white;
}

/* ===== GRID DE MENÚ ===== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* ===== TARJETAS ===== */
.menu-item {
    background: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--sombra-fuerte);
    transition: all 0.4s;
    border: 4px solid white;
}

.menu-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 40px -10px var(--verde);
    border-color: var(--amarillo);
}

.photo-container {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--amarillo), var(--naranja));
    overflow: hidden;
    border-bottom: 8px solid var(--cafe);
}

.menu-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.menu-item:hover .menu-photo {
    transform: scale(1.1);
}

.item-info {
    padding: 25px 20px 20px;
    background: white;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--amarillo), transparent);
    padding: 5px 10px 5px 0;
    border-radius: 0 40px 40px 0;
    margin-left: -20px;
}

.item-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--texto);
    background: var(--amarillo);
    padding: 5px 20px 5px 25px;
    border-radius: 0 40px 40px 0;
    border: 2px solid var(--cafe);
    border-left: none;
}

.item-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, var(--rojo), var(--cafe));
    padding: 8px 20px;
    border-radius: 40px;
    border: 3px solid var(--amarillo);
    box-shadow: 0 4px 0 var(--texto);
    margin-right: 5px;
}

.item-description {
    color: #5a3e2b;
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 3px dotted var(--verde);
    font-weight: 500;
    background: rgba(255, 209, 102, 0.2);
    padding: 12px;
    border-radius: 20px;
}

/* ===== BEBIDAS ===== */
.drinks-section {
    background: white;
    border-radius: 60px;
    padding: 40px;
    box-shadow: var(--sombra-fuerte);
    margin-bottom: 50px;
    border: 5px solid var(--verde);
}

.drinks-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.drink-item {
    background: linear-gradient(135deg, var(--fondo), #fff);
    padding: 15px 25px;
    border-radius: 40px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid var(--verde);
    transition: all 0.3s;
}

.drink-item:hover {
    background: var(--verde);
    color: white;
    transform: scale(1.02);
}

.drink-price {
    background: var(--cafe);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 700;
}

/* ===== CARNES ===== */
.meat-final-list {
    background: white;
    border-radius: 60px;
    padding: 40px;
    box-shadow: var(--sombra-fuerte);
    margin-bottom: 50px;
    border: 5px solid var(--verde);
}

.meat-final-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px dashed var(--amarillo);
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.meat-final-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.meat-final-english {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--cafe);
    line-height: 1.3;
}

.meat-final-separator {
    font-size: 2rem;
    color: var(--verde);
    font-weight: 300;
    margin: 0 15px;
}

.meat-final-spanish {
    font-size: 1.4rem;
    color: #555;
    flex: 1;
}

/* ===== FOTO PLACEHOLDER ===== */
.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    border: 3px dashed var(--verde);
    border-radius: 10px;
}

.photo-placeholder i {
    font-size: 3rem;
    color: var(--verde);
    margin-bottom: 10px;
}

.photo-placeholder span {
    background: var(--cafe);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-family: monospace;
    font-size: 0.8rem;
}

/* ===== NOTA DE IMPUESTO ===== */
.tax-note {
    background: linear-gradient(135deg, var(--rojo), var(--cafe));
    color: white;
    text-align: center;
    padding: 25px;
    border-radius: 80px;
    margin: 50px 0;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: var(--sombra-fuerte);
    border: 5px solid var(--amarillo);
    text-transform: uppercase;
    line-height: 1.8;
}

/* ===== CONTACTO ===== */
.contact-section {
    background: linear-gradient(135deg, var(--amarillo), var(--naranja));
    border-radius: 60px;
    padding: 50px;
    box-shadow: var(--sombra-fuerte);
    margin: 50px 0;
    border: 5px solid white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* ===== FORMULARIO ===== */
.contact-form-container {
    background: white;
    border-radius: 40px;
    padding: 40px;
    border: 5px solid var(--cafe);
    box-shadow: 0 10px 0 var(--cafe-oscuro);
}

.form-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--cafe);
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 25px;
    border: 4px solid var(--verde);
    border-radius: 60px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    outline: none;
    transition: all 0.3s;
}

.contact-form textarea {
    border-radius: 30px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--cafe);
    box-shadow: 0 0 0 4px rgba(147, 52, 22, 0.2);
}

.submit-btn {
    background: linear-gradient(135deg, var(--verde), var(--verde-oscuro));
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 60px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: 4px solid white;
    box-shadow: 0 10px 0 var(--cafe-oscuro);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 0 var(--cafe-oscuro);
    background: linear-gradient(135deg, var(--cafe), var(--cafe-oscuro));
}

/* ===== MAPA ===== */
.map-container {
    border-radius: 40px;
    overflow: hidden;
    height: 500px;
    box-shadow: var(--sombra-fuerte);
    border: 5px solid white;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== BOTONES CON BANDERAS ===== */
.icon-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.icon-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    transition: all 0.3s;
    border: 4px solid white;
    box-shadow: 0 8px 0 rgba(0,0,0,0.2);
    text-decoration: none;
    position: relative;
}

.icon-button:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 16px 0 rgba(0,0,0,0.2);
}

/* Estilos para los botones con bandera */
.whatsapp-mx, .whatsapp-usa {
    position: relative;
}

.flag {
    position: absolute;
    bottom: -5px;
    right: -5px;
    font-size: 1.5rem;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
    background: white;
    border-radius: 50%;
    padding: 2px;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Colores de cada botón */
.icon-button:nth-child(1) { background: var(--cafe); }                    /* Maps */
.icon-button:nth-child(2) { background: var(--verde-oscuro); }           /* Email */
.icon-button:nth-child(3) { background: #25D366; }                       /* WhatsApp MX */
.icon-button:nth-child(4) { background: #25D366; }                       /* WhatsApp USA */
.icon-button:nth-child(5) { background: #1877f2; }                       /* Facebook */
.icon-button:nth-child(6) { background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5); } /* Instagram */
.icon-button:nth-child(7) { background: #000000; }                       /* TikTok */

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--cafe), #4a1a0b);
    color: white;
    padding: 40px 0;
    margin-top: 60px;
    border-radius: 80px 80px 0 0;
    border-top: 8px solid var(--amarillo);
}

.footer-content {
    text-align: center;
}

.footer-content p {
    margin: 10px 0;
    font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hamburger-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 80%;
        height: auto;
        background: linear-gradient(135deg, var(--verde), var(--amarillo));
        flex-direction: column;
        padding: 30px;
        border-radius: 0 40px 40px 0;
        transition: left 0.3s;
        box-shadow: var(--sombra-fuerte);
        z-index: 99;
        backdrop-filter: none;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 15px;
        width: 100%;
        text-align: center;
        background: rgba(255,255,255,0.2);
        border-radius: 30px;
    }
    
    .hamburger-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .header-content {
        flex-direction: row;
        gap: 15px;
    }
    
    .hero {
        height: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive para carnes */
    .meat-final-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .meat-final-english {
        font-size: 1.6rem;
    }
    
    .meat-final-separator {
        display: none;
    }
    
    .meat-final-spanish {
        font-size: 1.1rem;
        padding-left: 10px;
        border-left: 3px solid var(--verde);
    }
    
    /* Responsive para contacto */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .map-container {
        height: 350px;
    }
    
    .icon-button {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .flag {
        font-size: 1.2rem;
        bottom: -3px;
        right: -3px;
        width: 25px;
        height: 25px;
    }
}