/* =========================================
   ANTOJO EXPRESS - ESTILO BASE
   ========================================= */

:root {
    --primary: #e74c3c;
    /* Rojo apetito */
    --secondary: #f1c40f;
    /* Amarillo */
    --dark: #2c3e50;
    --light: #f4f4f4;
    --white: #ffffff;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Fredoka', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HERO SECTION --- */
.hero {
    background-image: url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-cta {
    background-color: var(--secondary);
    color: var(--dark);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4);
    transition: transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta:hover {
    transform: scale(1.05);
    background-color: #f39c12;
}

/* Animación de pulso para el botón */
.pulse {
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(241, 196, 15, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(241, 196, 15, 0);
    }
}

/* --- MENÚ GRID --- */
.menu-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.menu-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid #eee;
}

.menu-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.img-box {
    height: 200px;
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

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

.item-info {
    padding: 20px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.item-header h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--dark);
}

.price {
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.item-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    min-height: 45px;
}

.btn-order {
    display: block;
    width: 100%;
    text-align: center;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.2s;
}

.btn-order:hover {
    background: var(--primary);
    color: white;
}

/* --- INFO & FOOTER --- */
.info-section {
    background: var(--dark);
    color: white;
    padding: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-box h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 1.1rem;
}

.delivery-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-weight: bold;
}

.map-placeholder {
    width: 100%;
    height: 150px;
    background: #34495e;
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
}

.map-placeholder i {
    font-size: 2rem;
    margin-bottom: 5px;
}

.waze-link {
    color: var(--secondary);
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.footer {
    background: #1a252f;
    color: #7f8c8d;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
}

.footer a {
    color: #fff;
    font-weight: bold;
}

/* --- BOTÓN FLOTANTE --- */
.float-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: 0.3s;
}

.float-wa:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}