/* ===== VARIABLES Y RESET ===== */
:root {
    --primary-color: #11C5BB;
    --secondary-color: #FF6B6B;
    --dark-color: #333333;
    --light-color: #F8F9FA;
    --text-color: #212529;
    --accent-color: #FFD166;
    --success-color: #06D6A0;
}

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

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

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

/* ===== HEADER ===== */
.main-header {
    background-color: var(--primary-color);
    color: white;
    position: relative;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 100px;
    height: auto;
    transition: all 0.3s ease;
}

.logo-left {
    position: absolute;
    left: 40px; /* Ajusta la posición del logo izquierdo */
}

.header-content {
    text-align: center;
    padding: auto; /* Espacio alrededor del contenido del header */
    margin: 0 auto; /* Centrado del contenido */
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Efecto hover para ambos logos */
.logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Header para móviles */
.header-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.header-mobile .logo {
    width: 70px;
    height: auto;
}

/* Header para desktop */
.header-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        padding: 15px 0;
        position: relative;
        padding-right: 60px;
    }
    
    .logo {
        width: 90px;
        margin: 10px 0 !important;
        position: static;
        transform: none;
    }

    .logo-left {
        position: static;           
        margin-left: 30px !important;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }

    .header-desktop {
        display: none;
    }
    
    .header-mobile {
        display: flex;
    }
}

/* ===== NAVEGACIÓN ===== */
.main-nav {
    background-color: var(--primary-color);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    border-radius: 0 0 10px 10px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ===== SECCIONES DEL MENÚ ===== */
.menu-section {
    margin-bottom: 40px; /* Espacio entre secciones */
    background-color: white;
    padding: 25px; /* Espacio interno */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.build-your-own {
    text-align: center;
    font-style: italic;
    margin-bottom: 20px;
    color: #666;
}

/* ===== PRECIO CON HOJAS DECORATIVAS ===== */
.custom-price-container {
    text-align: center;
    margin: 25px 0;
}

.leaf-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    position: relative;
}

.leaf-image {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.left-leaf {
    transform: rotate(-10deg);
}

.right-leaf {
    transform: rotate(10deg);
}

.leaf-image:hover {
    transform: scale(1.1);
}

.price-box {
    font-size: 2.2rem;
    font-weight: 800;
    color: #E63946;
    background-color: #FFF9F9;
    padding: 10px 25px;
    border-radius: 30px;
    border: 2px dashed #FF6B6B;
    min-width: 150px;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.price-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

/* ===== CATEGORÍAS DE MENÚ ===== */
.menu-category {
    margin-top: 30px;
}

.category-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    border-bottom: 2px dashed var(--secondary-color);
    padding-bottom: 5px;
}

.menu-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

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

.item-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

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

/* ===== INGREDIENTES RESPONSIVE ===== */
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 30px;
}

.ingredient {
    background-color: var(--light-color);
    padding: 8px 5px; /* Reducido el padding horizontal */
    border-radius: 20px;
    text-align: center;
    font-size: 0.85rem; /* Tamaño de fuente reducido */
    color: var(--text-color);
    border: 1px solid #ddd;
    word-break: break-word; /* Rompe palabras largas */
    overflow: hidden; /* Previene desbordamiento */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px; /* Altura mínima consistente */
    line-height: 1.3; /* Espaciado entre líneas */
}

/* Ajustes específicos para móviles */
@media (max-width: 480px) {
    .ingredients-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Celdas más estrechas */
        gap: 8px;
    }
    
    .ingredient {
        font-size: 0.8rem; /* Fuente aún más pequeña en móviles muy pequeños */
        padding: 6px 3px;
        min-height: 36px;
    }
}

/* Para pantallas muy pequeñas (ej: iPhone 5/SE) */
@media (max-width: 320px) {
    .ingredients-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0 15px;
    margin-top: 50px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1000px;
    margin: 0 auto 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info h3, .social-links h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.instagram-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.instagram-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.instagram-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 15px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.designer-credit {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.designer-credit a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.designer-credit a:hover {
    color: white;
    text-decoration: underline;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .logo {
        position: static;
        transform: none;
        margin-bottom: 15px;
    }
    
    .main-nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .leaf-price-wrapper {
        gap: 5px;
    }
    
    .leaf-image {
        height: 40px;
    }
    
    .price-box {
        font-size: 1.8rem;
        padding: 8px 15px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }
    
    .ingredients-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }
    
    .instagram-link {
        padding: 6px 10px;
    }
}

/* ===== LOGO EN FOOTER ===== */
.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.footer-logo-img {
    width: 140px; /* Ajusta según necesites */
    height: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Ajuste para el footer-content */
.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start; /* Cambiado de center a flex-start */
    max-width: 1000px;
    margin: 0 auto 30px;
    flex-wrap: wrap;
    gap: 30px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }
    
    .footer-logo {
        order: -1; /* Mueve el logo arriba en móviles */
        width: 100%;
    }
    
    .footer-logo-img {
        width: 100px;
    }
}

.telefono {
  color: inherit;       /* Usa el mismo color del texto normal */
  text-decoration: none; /* Quita el subrayado */
}

/* Estilos para el correo clickeable */
.copy-email {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.copy-email:hover {
    color: var(--accent-color);
}

.copy-notification {
    position: absolute;
    background-color: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    right: 0;
    top: -25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.copy-email.copied .copy-notification {
    opacity: 1;
}

/* Estilos para el enlace de ubicación */
.location-link {
    color: inherit; /* Mantiene el color del texto normal */
    text-decoration: none;
    display: block; /* Para que ocupe su propia línea */
    margin-bottom: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Estilos para el enlace de teléfono (si quieres consistencia) */
.telefono {
    color: inherit;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.telefono:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Estilos para el enlace de WhatsApp */
.whatsapp-link {
    color: inherit;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-link:hover {
    color: #25D366; /* Color verde de WhatsApp */
    text-decoration: underline;
}

.whatsapp-icon {
    color: #25D366;
    margin-right: 5px;
    font-size: 1.2em;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%; /* Cambiado a 50% para un círculo perfecto */
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* Asegura que no hay padding interno */
    margin: 0; /* Asegura que no hay margen */
    border: none; /* Elimina bordes por si acaso */
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    width: 60%; /* Usa porcentaje para mejor escalado */
    height: 60%;
    object-fit: contain;
    display: block; /* Elimina espacio inferior de elementos inline */
    margin: auto; /* Centrado adicional */
}

/* Efecto de pulso opcional */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.whatsapp-float.pulse {
    animation: pulse 2s infinite;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 65px;
        height: 65px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 65%; /* Ajuste proporcional */
        height: 65%;
    }
}

/* ===== PÁGINA NOSOTROS ===== */
.about-section {
    padding: 40px 20px; /* Espacio alrededor de la sección */
    max-width: 1200px; /* Ancho máximo para la sección */
    margin: 0 auto; /* Centrado del contenido */
}

.about-content {
    display: flex; /* Disposición en fila */
    gap: 40px; /* Espacio entre imagen y texto */
    align-items: center; /* Alineación vertical */
    margin-top: 30px; /* Espacio entre el título y el contenido */
}

.about-main-image {
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-main-image-fst {
    width: 400px; /* Ancho fijo para la imagen principal */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px; /* Espacio debajo de la imagen */
    margin-top: 20px; /* Espacio encima de la imagen */
    /* Asegura que la imagen no se desborde */
    display: block; /* Asegura que la imagen ocupe su propio espacio */
    margin-left: auto; /* Centrado horizontal */
    margin-right: auto; /* Centrado horizontal */
}

.about-main-image-combi {
    width: 600px; /* Ancho fijo para la imagen principal */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Sombra para dar profundidad */
}

.about-text {
    flex: 1; 
}

.about-text h3 {
    color: var(--primary-color);
    margin: 25px 0 15px;
    font-size: 1.5rem;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.founder-card {
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.founder-image-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    background-color: #ddd;
    border-radius: 50%;
    background-size: cover;
}

.nav-link.active {
    font-weight: 700;
    background-color: rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-main-image {
        width: 100%;
        max-width: 400px;
    }

    .about-main-image-fst {
        width: 100%;
        max-width: 400px;
    }

    .about-main-image-combi {
        width: 100%;
        max-width: 400px;
    }
    .founders-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== MENÚ MÓVIL ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1000;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger:before {
    top: -6px;
}

.hamburger:after {
    bottom: -6px;
}

/* Estado abierto del menú */
.mobile-menu-toggle.open .hamburger {
    background: transparent;
}

.mobile-menu-toggle.open .hamburger:before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.open .hamburger:after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 70px;
        transition: left 0.3s ease;
        z-index: 999;
        margin-bottom: 0;
        border-radius: 0;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-link {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        font-size: 1rem;
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
}

@media (min-width: 769px) {
    .header-mobile {
        display: none;
    }
    
    .header-desktop {
        display: flex;
    }
}

/* Estilos para los botones de filosofía */
.redirect-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.redirect-btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    min-width: 180px;
    border: 2px solid var(--primary-color);
}

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

.redirect-btn.contact-btn {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
}

.redirect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .redirect-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .redirect-btn {
        width: 100%;
    }
}

.title-combi-section {
    background-color: white;
    padding: 25px; /* Espacio interno */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.gallery-section {
    display: flex;
    gap: 40px;
    margin: 60px 0;
    align-items: center;
}

.gallery-container {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 400px; /* Ajusta según necesites */
}

.gallery-slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.gallery-slide.active {
    display: block;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(0); /* Aseguramos centrado vertical */
    background-color: rgba(255,255,255,0.9);
    color: var(--dark-color);
    border: none;
    font-size: 24px; /* Usamos px en lugar de rem para más precisión */
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 0;
    margin: 0;
    line-height: 1;
}

/* Centrado adicional para el contenido de la flecha */
.gallery-arrow::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.gallery-arrow:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

/* Indicadores/puntos */
.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

.dot.active {
    background-color: white;
}

.text-column {
    flex: 1;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-color);
}

.text-column h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.text-column h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-section {
        flex-direction: column;
    }
    
    .gallery-container {
        width: 100%;
        flex: auto;
    }
    
    .gallery-slider {
        height: 300px;
    }

    .text-column {
        padding: 15px;
    }
}