@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;700;900&display=swap');

:root {
    --primary-color: #3A4E31; /* Verde Olivo del Helecho */
    --secondary-color: #937A47; /* Marrón/Dorado del logo */
    --bg-color: #FDFBF7; /* Crema/Hueso */
    --text-dark: #1A1F24;
    --text-light: #555555;
    --white: #FFFFFF;
    --whatsapp: #25D366;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
}

/* Header */
.header {
    background-color: var(--white);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 60px;
}

.btn-whatsapp-header {
    background-color: var(--whatsapp);
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.btn-whatsapp-header:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5% 5%;
    background: linear-gradient(135deg, rgba(58,78,49,0.05) 0%, rgba(147,122,71,0.1) 100%);
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(58, 78, 49, 0.2);
}

.btn-primary:hover {
    background-color: #2c3a25;
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: rotate(2deg);
}

/* Categorias y Menú */
.menu-section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Grid de Tarjetas (Comidas Rápidas & Picadas) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-img-contain {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: var(--white);
    padding: 10px;
}

.product-img-tall {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background-color: var(--white);
    padding: 10px;
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: 'Outfit', sans-serif;
}

.btn-add {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-add:hover {
    background-color: #2c3a25;
}

/* Menú Estilo Lista (Para Carnes Finas) */
.menu-list-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.menu-list-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dashed #ddd;
    padding: 20px 0;
}

.menu-list-item:last-child {
    border-bottom: none;
}

.menu-item-details h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.menu-item-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    max-width: 500px;
}

.menu-list-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: 'Outfit', sans-serif;
    margin-left: 20px;
}

/* Botón flotante WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
}

footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-image img {
        transform: none;
    }
    
    .menu-list-item {
        flex-direction: column;
    }
    
    .menu-list-price {
        margin-left: 0;
        margin-top: 10px;
    }
}
