/* ===== RESET & BASE ===== */
:root {
    --verde-fuerte: #127213;
    --verde-lima: #34b800;
    --amarillo: #ffde59;
    --naranja: #ff9e02;
    --blanco: #ffffff;
    --negro: #000000;
    --gris-claro: #f5f5f0;
    --gris-texto: #2c2c2c;
    --sombra: 0 20px 35px -12px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--gris-claro);
    color: var(--gris-texto);
    line-height: 1.6;
}

h1, h2, h3, h4, .logo h1, .section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, var(--verde-fuerte) 0%, #0a4a0a 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

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

.logo a {
    text-decoration: none;
    color: var(--blanco);
}

.logo h1 {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo p {
    font-size: 0.8rem;
    color: var(--amarillo);
    font-weight: 600;
}

.nav ul {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

.nav a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.nav a:hover {
    color: var(--amarillo);
    transform: translateY(-2px);
}

.btn-whatsapp-nav {
    background: #25D366;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
}

.btn-whatsapp-nav:hover {
    background: #128C7E;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--blanco);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ===== HERO CARRUSEL - CORREGIDO ===== */
.hero-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.slide-bg {
    width: 100%;
    min-height: 550px;
    height: 85vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .slide-bg {
        min-height: 450px;
        height: 70vh;
        background-position: center 30%;
    }
}

.slide-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    color: white;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 1.8rem;
    }
    .slide-content p {
        font-size: 0.9rem;
    }
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Botones del hero */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.9rem 2rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--naranja);
    color: var(--negro);
}

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

.btn-secondary {
    background: #25D366;
    color: white;
}

.btn-secondary:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

/* Botones del carrusel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--naranja);
    color: var(--negro);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Dots / Indicadores */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--naranja);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--amarillo);
}

/* ===== SEASON BANNER ===== */
.season-banner {
    background: var(--naranja);
    color: var(--negro);
    padding: 0.8rem;
    text-align: center;
    font-weight: bold;
}

.season-banner a {
    color: var(--verde-fuerte);
    margin-left: 0.8rem;
    text-decoration: underline;
}

/* ===== SECTION TITLE ===== */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
}

.section-title span {
    background: linear-gradient(120deg, var(--amarillo), #ffe68f);
    padding: 0.1rem 1.2rem;
    border-radius: 40px;
    display: inline-block;
}

/* ===== SPECIALS ===== */
.specials {
    padding: 4rem 0;
}

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

.special-card {
    background: var(--blanco);
    border-radius: 28px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--sombra);
    text-align: center;
    padding: 1.5rem;
}

.special-card:hover {
    transform: translateY(-8px);
}

.img-placeholder {
    height: 180px;
    background: #e0d6c0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #7a6b4e;
    margin-bottom: 1rem;
}

.btn-order-small {
    background: #25D366;
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-top: 1rem;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-order-small:hover {
    background: #128C7E;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--amarillo);
    padding: 4rem 0;
}

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

.testimonial-card {
    background: var(--blanco);
    padding: 2rem;
    border-radius: 32px;
    text-align: center;
}

.testimonial-card i.fa-star {
    color: var(--naranja);
    margin: 0 2px;
}

/* ===== FOOTER ===== */
footer {
    background: #0a2f0a;
    color: #ddd;
    padding: 3rem 0 1rem;
}

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

.footer-col h3, .footer-col h4 {
    color: var(--amarillo);
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--blanco);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--amarillo);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #2a5a2a;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    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 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* ===== MENÚ MÓVIL ===== */
@media (max-width: 768px) {
    .nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--verde-fuerte);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s;
        z-index: 998;
    }
    
    .nav ul.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
/* ===== HERO CARRUSEL ===== */
.hero-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide-bg {
    width: 100%;
    height: 85vh;
    min-height: 550px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Imágenes de fondo (usa las tuyas aquí) */
.slide-bg-1 { background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('images/hero/tostadas-bg.jpg'); }
.slide-bg-2 { background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('images/hero/mariscos-bg.jpg'); }
.slide-bg-3 { background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('images/hero/local-bg.jpg'); }

/* Contenido del slide - centrado correctamente */
.carousel-slide .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
    color: white;
    z-index: 10;
}

.slide-badge {
    display: inline-block;
    background: rgba(255, 158, 2, 0.95);
    color: #000;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.slide-content h2 .highlight {
    color: #ff9e02;
    position: relative;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    line-height: 1.5;
}

/* Botones */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 1.8rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.btn-primary {
    background: #ff9e02;
    color: #000;
}

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

.btn-secondary {
    background: #25D366;
    color: white;
}

.btn-secondary:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

/* Botones de navegación del carrusel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #ff9e02;
    color: #000;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Dots / Indicadores */
.carousel-dots {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #ff9e02;
    transform: scale(1.2);
}

.dot:hover {
    background: #ffde59;
}

/* Responsive */
@media (max-width: 768px) {
    .slide-bg {
        height: 70vh;
        min-height: 500px;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .carousel-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .slide-content h2 {
        font-size: 1.4rem;
    }
    
    .slide-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}