@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@1,14..32,344&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lora:ital,wght@0,400..700;1,400..700&family=Oswald:wght@200..700&family=PT+Serif:ital@0;1&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: "lato", cursive;
     font-optical-sizing: auto;
  font-weight: 229;
  font-style: italic;
}

h1 {
    font-family: 'Tangerine', cursive;
}

p{
    font-family: Arial, Helvetica, sans-serif;
}

.container {
   max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

html {
  scroll-behavior: smooth;
}

.header {
    background: linear-gradient(
       rgb(219, 5, 166) 0%,
        rgb(230, 117, 65) 51%,
        rgb(247, 87, 121) 100%);
        min-width: 70vh;
        display: flex;
        align-items: center;
 }

.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.842);
    backdrop-filter: blur(10px);
    padding: 10px, 20px;
}

 .logo img {
     width: 85px;
     margin-right: 120px;
 }

.menu .navbar ul li {
    position: relative;
    float: left;
    margin-left: 20px;
}

.menu .navbar ul li a {
    font-size: 25px;
    padding: 10px 15px;
    color: #010006;
    display: block;
    font-weight: normal;
    margin-right: 25px;
    
}

.menu .navbar ul li a:hover{
    color: #ffe41a;
}



.socials-1 img{
    width: 30px;
    margin-left: 15px
}

#menu {
    display: none;
}

.menu-icono {
    width: 25px;
}

.menu label {
    cursor: pointer;
    display: none;
}

.dropdown {
  display: none; /* Ocultar submenú por defecto */
  position: absolute;
  top: 100%; /* Posiciona debajo del elemento principal */
  left: 0;
  background-color: #ffffff;
  border: 1px solid #ddd;
  min-width: 200px;
  z-index: 1000;
  padding: 5px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown li {
  width: 100%; /* Asegura que los ítems del submenú ocupen todo el ancho */
  margin: 0;
}

.dropdown li a {
  padding: 10px 15px;
  white-space: nowrap;
}

/* Mostrar el submenú al pasar el ratón (Escritorio) */
.navbar ul li:hover > .dropdown {
  display: block;
}

/* --- Estilos de la Flecha (Arrow) --- */
.arrow {
  margin-left: 5px;
  font-size: 0.8em;
  line-height: 1; /* Para ayudar con la alineación vertical */
  vertical-align: middle;
}

.header-content {
    padding: 100px 10px 50px;
    display: flex;
    align-items: center;
}

.header-txt {
    width: 50%;
    padding-right: 100px;  
}

.header-txt h1 {
    font-size: 140px;
    line-height: 150px;
    color: #ffffff;
    margin-bottom: 25px;
}

p {
    font-size: 18px;
    color: #424242;
    margin-bottom: 35px;
}

.btn-1 {
    display: inline-block;
    padding: 13px 30px;
    background-color: #f55442;
    color: #ffffff;
    border-radius: 25px;
    font-size : 18px;
}

.btn-1:hover {
    background-color: #e56820;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-contenido {
  display: block;
  margin: 10% auto;
  max-width: 80%;
  border-radius: 10px;
  box-shadow: 0 0 15px #fff;
  animation: fadeIn 0.5s ease-in-out;
}

.cerrar {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.header-img {
    width: 50%;
    text-align: center;
}

.header-img img {
  width: 550px;
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

.about {
    padding-top: 0;
  padding-bottom: 0;
  margin: 0;
    background-color: #ffffff;
    margin-top: 80px;
}

.about-content {
    display: flex;
    position: relative;
    align-items: center;
    /* Define el espacio entre los elementos (.about-img y .about-txt) */
    gap: 40px;
    margin-bottom: 50px; /* Usa un valor fijo (ej: 50px) para la separación */
  margin-top: 50px;
}

/* Esto aplica solo a los bloques donde el texto está a la izquierda (bloques invertidos) */
.about-content.invertido .about-txt {
    /* Establece un margen DERECHO para separar el texto de la imagen */
    margin-right: 60px; 
    margin-left: 90px;
    /* Asegúrate de eliminar o anular cualquier margen que se pueda aplicar desde el lado izquierdo en los bloques normales, si es necesario */
    /* margin-left: 0; */ 
}

.ab1 {
    position: absolute;
    width: 50px;
    left: 0;
    top: 0;
    rotate: 220deg;
}

img {
  border-radius: 20px;
  -webkit-mask-image: radial-gradient(circle, white 88%, transparent 96%);
  mask-image: radial-gradient(circle, white 88%, transparent 96%);
}

.ab2 {
    position: absolute;
    width: 50px;
    left: 750px;
    top: 450px;
    rotate: 380deg;
}

.ab3 {
    position: absolute;
    width: 150px;
    right: 0;
}

.about-img {
    width: 50%;
    text-align: center;
}

.about-img img {
    width: 350px;
}

.about-txt {
    width: 50%;
}

.about-content.invertido {
    /* Invierte el orden de los hijos: about-img y about-txt */
    flex-direction: row-reverse;
    background-color: #f4f4f4;
}

h2 {
    font-size: 43px;
    line-height: 93px;
    color: #010006;
    margin-bottom: 30px;
}

.btn-2 {
    display: inline-block;
    padding: 13px 45px;
    font-size: 18px;
    background-color: #f55442;
    color: #fbfbfb;
    border-radius: 25px;
    border: 0;
    font-family: 'Tangerine', cursive;
    cursor: pointer;
}

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

.information {
    padding: 100px 400px 400px 400px;
    text-align: center;
    background-color: #ffffff;
}

.information-content {
position: relative;
}

.in1 {
    position: absolute;
    width: 50px;
    left: 0;
    right: 0;
    rotate: 220deg;
}

.in2 {
    position: absolute;
    width: 50px;
    right: 0;
    top: 0;
    rotate: 40deg;
}

.in3 {
    position: absolute;
    width: 250px;
    left: 0;
    top: 230px;
    rotate: 220deg;
}

.contact {
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-table {
    padding: 25px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 700px;
    margin-top: -480px;
}

.contact-table span {
    font-size: 40px;
    color: #AA7D5E;
    margin-bottom: 25px;
}

.contact-table h3 {
    font-size: 60px;
    color: #3f3f3f;
    margin-bottom: 25px;
}

table {
    text-align: left;
}
.ingredients {
    border-collapse: collapse;
    width: 100%;
}

.ingredients th, .ingredients th {
    border: 1px solid #dddddd;
    padding: 8px;
}

.ingredients tr:nth-child(even) {
    background-color: #f2f2f2;
}

.ingredients th:hover {
    background-color: #dddddd;
}

.ingredients th {
    padding: 12px 0;
}
form {
    display: flex;
}

.campo {
    padding: 17 px 35px;
    background-color: #f7f7f7;
    border-radius: 25px;
    margin-right: 15px;
    border: 1px solid #e8e8e8;
    outline: none;
    color: #3f3f3f;
}

.campo::placeholder {
    color: #a3a3a3;
}

.form-content {
    padding: 100px 0 70px 0;
    text-align: center;
}

.form-content h2 {
    font-size: 50px;
    color: #3f3f3f;
    margin-bottom: 25px;
}

.footer {
    border-top: 2px solid #e8e8e8;
    padding: 50px 0 0 0;
}

.foter-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.link-img {
    text-align: center;
}

.link-img img {
    width: 70px;
    margin-bottom: 10px;
}

.socials-2  img {
    width: 30px;
    margin: 10px;
}

.link img {
    width: 20px;
    margin: 10px;
}

.link h3 {
    font-size: 42px;
    color: #3f3f3f;
    margin-bottom: 15px;
}

.link a {
    font-size: 30px;
    display: block;
    color: #3f3f3f;
    margin-bottom: 20px;
}

.link a:hover {
    color: #f55442;
}

.contact-buttons h3 {
    margin-bottom: 20px;
}

.footer-copy {
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid #e8e8e8;
}

.footer-copy p {
    color: #7c7c7c;
    font-size: 16px;
    margin: 0;
}

.contact-buttons {
  margin-top: 40px;
  text-align: center;
}

.contact-buttons input {
  width: 80%;
  padding: 12px;
  font-size: 16px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

/* ======= DEMOSTRACIÓN DE PRODUCTOS ======= */
#demo-productos {
    text-align: center;
    padding: 50px 20px;
    background-color: #f4f4f4;
}

.titulo-seccion {
    font-size: 2rem;
    margin-bottom: 20px;
    font-style: italic;
}

.carrusel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

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

.slide {
    min-width: 100%;
    text-align: center;
}

/* 🔹 Ajuste de tamaño reducido para las imágenes del carrusel */
.slide img {
    width: 60%;
    max-width: 220px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide img:hover {
    transform: scale(1.05);
}

.slide p {
    margin-top: 10px;
    font-size: 1.2rem;
    font-style: italic;
}

/* Botones del carrusel */
.btn-carrusel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    z-index: 10;
}

.btn-carrusel:hover {
    background-color: rgba(0,0,0,0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}


/* ======= RESPONSIVE DESIGN (MÓVILES) ======= */

@media (max-width: 991px) {
    
    /* 1. Ajustes Generales y Contenedores */
    .container {
        padding: 0 20px;
        flex-direction: column;
    }

    /* 2. Header y Menú */
    .header {
        min-height: auto;
        padding-top: 100px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }

    .header-txt {
        width: 100%;
        padding-right: 0;
    }

    .header-txt h1 {
        font-size: 60px; /* Reducción de 140px a algo manejable */
        line-height: 70px;
        margin-bottom: 20px;
    }

    .header-img {
        width: 100%;
        margin-top: 30px;
    }

    .header-img img {
        width: 100%;
        max-width: 300px; /* Imagen más pequeña en móvil */
    }

    /* Navegación Móvil (Menú Hamburguesa) */
    .menu {
        padding: 10px;
    }

    .menu label {
        display: block; /* Mostrar icono de menú */
        order: 1;
    }

    .logo {
        order: 2;
    }

    .logo img {
        width: 60px;
        margin-right: 0;
    }

    .navbar {
        display: none; /* Ocultar por defecto */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    #menu:checked ~ .navbar {
        display: block; /* Mostrar al hacer clic */
    }

    .navbar ul li {
        width: 100%;
        float: none;
        margin: 0;
    }

    .navbar ul li a {
        font-size: 20px;
        padding: 15px;
        border-bottom: 1px solid #f0f0f0;
    }

    .socials-1 {
        display: none; /* Ocultar redes sociales arriba para limpiar espacio */
    }

    /* 3. Sección "About" (Sobre Nosotros) */
    .about {
        padding: 40px 0;
        margin-top: 0;
    }

    .about-content, 
    .about-content.invertido {
        flex-direction: column; /* Siempre vertical en móvil */
        gap: 20px;
        text-align: center;
        padding: 40px 20px;
    }

    .about-txt, .about-img {
        width: 100%;
    }

    .about-content.invertido .about-txt {
        margin: 0; /* Limpiar los márgenes laterales del escritorio */
    }

    h2 {
        font-size: 32px;
        line-height: 45px;
    }

    /* 4. Sección Información y Tablas */
    .information {
        padding: 50px 20px; /* Eliminar el padding masivo de 400px */
    }

    .in3, .ab1, .ab2, .ab3 {
        display: none; /* Ocultar elementos decorativos que estorban en móvil */
    }

    /* 5. Contacto y Formulario */
    .contact-table {
        width: 100%;
        margin-top: 0;
        box-shadow: none;
        padding: 15px;
    }

    .contact-table h3 {
        font-size: 35px;
    }

    form {
        flex-direction: column;
        width: 100%;
    }

    .campo {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
    }

    /* 6. Footer */
    .foter-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .link {
        margin-bottom: 30px;
    }

    .link h3 {
        font-size: 28px;
    }

    /* 7. Carrusel */
    .slide img {
        width: 80%; /* Un poco más grande para que se vea en el cel */
    }
}

/* Extra para pantallas muy pequeñas (iPhone SE, etc) */
@media (max-width: 400px) {
    .header-txt h1 {
        font-size: 45px;
        line-height: 55px;
    }
}

.footer {
  border-top: 2px solid #e8e8e8;
  padding: 50px 0 0 0;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-links > div {
  flex: 5;
  min-width: 250px;
}

.footer-col h4 {
  font-size: 18px;
  color: #2e4d36;
  margin-bottom: 15px;
}

.footer-col p {
  color: #7c7c7c;
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #2e4d36;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #4CAF50;
}

.footer-copy {
  text-align: center;
  border-top: 1px solid #e8e8e8;
  padding: 20px 0;
  margin-top: 10px;
}

.footer-copy p {
  margin: 0;
  color: #7c7c7c;
  font-size: 16px;
}

.contact-buttons {
  margin-top: 20px;
}

.contact-buttons input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
}