/* ===== RESET Y CONFIGURACIÓN BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* ===== COLORES Y VARIABLES ===== */
:root {
    --primary-color: #d32f2f;
    --secondary-color: #ff6b35;
    --accent-color: #ffc107;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --gradient-primary: linear-gradient(135deg, #d32f2f 0%, #ff6b35 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ffc107 100%);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== SECCIONES GENERALES ===== */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 80px 0;
    background: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.value-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.image-caption {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem;
    border-radius: 0 0 15px 15px;
    margin-top: -5px;
    text-align: center;
}

/* ===== MENU SECTION ===== */
.menu {
    padding: 80px 0;
    background: var(--light-color);
}

.menu-gallery {
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.menu-categories {
    display: grid;
    gap: 3rem;
}

.menu-category {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.menu-category h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 1rem;
}

.menu-items {
    display: grid;
    gap: 1rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.menu-item:hover {
    background: var(--light-color);
}

.item-info h4 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.item-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.item-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===== LUNCH MENU ESPECIAL ===== */
.lunch-menu {
    background: var(--gradient-secondary);
    color: var(--white);
}

.lunch-menu h3 {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.3);
}

.lunch-info {
    margin-bottom: 2rem;
}

.lunch-description {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 10px;
}

.lunch-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 10px;
    font-style: italic;
}

.lunch-examples h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.lunch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.lunch-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
}

.lunch-item h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.lunch-item ul {
    list-style: none;
}

.lunch-item li {
    padding: 0.3rem 0;
    padding-left: 1rem;
    position: relative;
}

.lunch-item li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.lunch-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.lunch-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.lunch-feature i {
    color: var(--accent-color);
}

/* ===== DELIVERY SECTION ===== */
.delivery {
    padding: 80px 0;
    background: var(--white);
}

.delivery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.delivery-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.delivery-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.delivery-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.delivery-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
}

.delivery-feature i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 60px;
    text-align: center;
}

.delivery-feature h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.delivery-feature p {
    color: var(--text-light);
    margin: 0;
}

.delivery-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 0;
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.location-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.location-link:hover {
    text-decoration: underline;
}

.business-hours {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.business-hours h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hours-list {
    margin-bottom: 1.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-color);
}

.day {
    font-weight: 500;
    color: var(--text-dark);
}

.time {
    color: var(--primary-color);
    font-weight: 600;
}

.closed {
    color: var(--text-light);
}

.business-hours p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* ===== FORMULARIO ===== */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.contact-form p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-content,
    .about-content,
    .delivery-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .lunch-grid {
        grid-template-columns: 1fr;
    }
    
    .lunch-features {
        grid-template-columns: 1fr;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .item-price {
        align-self: flex-end;
    }
}


/* ===== ESTILOS PARA CONTACTO POR EMAIL ===== */
.email-contact {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.email-contact .contact-item {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.email-contact .contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 50px;
}

.email-contact .contact-item div {
    text-align: left;
}

.email-contact .contact-item h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.email-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.contact-buttons .btn {
    min-width: 150px;
}

@media (max-width: 768px) {
    .email-contact .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .email-contact .contact-item div {
        text-align: center;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}


/* ===== ESTILOS ESPECÍFICOS PARA BOTÓN WHATSAPP ===== */
.whatsapp-btn {
    background: #25D366 !important;
    color: white !important;
    border: 2px solid #25D366 !important;
    font-weight: 600;
}

.whatsapp-btn:hover {
    background: #128C7E !important;
    border-color: #128C7E !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.contact-buttons .whatsapp-btn {
    background: #25D366 !important;
    color: white !important;
    border: none !important;
}

.contact-buttons .whatsapp-btn:hover {
    background: #128C7E !important;
    color: white !important;
}


/* ===== MEJORAS ADICIONALES DE RESPONSIVIDAD ===== */

/* Tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-content,
    .about-content,
    .delivery-content {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móviles pequeños */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .contact-buttons .btn {
        width: 100%;
    }
}

/* Navegación móvil mejorada */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .nav {
        justify-content: space-between;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
    }
    
    /* Mejorar espaciado en móviles */
    .hero {
        padding: 90px 0 50px;
    }
    
    .about,
    .menu,
    .delivery,
    .contact {
        padding: 50px 0;
    }
    
    /* Mejorar legibilidad en móviles */
    .hero-description {
        font-size: 1rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Optimizar menú en móviles */
    .menu-item {
        padding: 15px;
    }
    
    .menu-item h4 {
        font-size: 1rem;
    }
    
    .item-price {
        font-size: 1.1rem;
    }
}

/* Orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}

