html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::-webkit-scrollbar {
    display: none;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  
  section, .container, .contact-info, .contact-form {
    box-sizing: border-box;
    max-width: 100%;
  }

  #contacto .container {
    overflow-x: hidden;
  }
/*-------------------------------------------------------------------------------------*/
/* 
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #333;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background: #a55050;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
    background: #774848;
}
/*-------------------------------------------------------------------------------------*/

body {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 12px;
    margin: 0;
    padding: 0;
    background-color: #7a2121;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 34px;
    background-color: #CA5883;
    padding: 5px 0 5px 5px;
}

.float_WHATSAPP {
    bottom: 10px;
    right: 10px;
    position: fixed;
    word-wrap: break-word;
    z-index: 1000;
}

.float_HISTORY {
    top: -5px;
    right: 7px;
    position: fixed;
    word-wrap: break-word;
    z-index: 1000;
}


/* Estilo base para todos los tamaños */
.site-header {
    height: 80px !important;
    min-height: 80px !important;
    padding: 0 !important;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .site-header {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: 80px !important;
    }
}

  
/*---------------------------------------------------------------------------------------------------------------------------*/

/* Estilo base para la barra de navegación */
nav {
    /* background-color: #333; */
    padding: 0px;
    margin-left: 5px;
    margin-top: 5px;
}

/* Logo */
.logo img {
    height: 50px; /* Ajusta el tamaño del logo */
    width: auto;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

ul li {
    margin-right: 20px;
}

ul li a {
    color: white;
    text-decoration: none;
    font-size: 10px;
    font-family: "Montserrat", sans-serif;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {

    /* Ocultamos el menú de navegación por defecto en pantallas pequeñas */
    #nav-list {
        display: none;
        width: 100%;
        text-align: center;
        flex-direction: column;
        background-color: #0f0f0ec8;
        position: absolute;
        top: 30px;
        left: 0;
    }

    /* Muestra el botón de menú en pantallas pequeñas */
    .menu-toggle {
        font-size: 14px;
        background-color: transparent;
        color: white;
        border: none;
        cursor: pointer;
    }

    /* Estilos para el menú cuando se despliega */
    #nav-list.show {
        display: flex;
        /* margin-top: -20px; */
    }

    /* Espaciado de los items del menú en pantallas pequeñas */
    #nav-list li {
        margin: 10px 0;
    }
}

/* Estilos para pantallas grandes */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
        /* Oculta el botón de menú en pantallas grandes */
    }

    ul {
        display: flex;
        /* El menú será horizontal en pantallas grandes */
    }
}

/*---------------------------------------------------------------------------------------------------------------------------*/

/* Estilos del botón */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px; /* 20px desde la parte inferior */
    left: 50%; /* Centrado en horizontal */
    transform: translateX(-50%); /* Asegura que el botón esté completamente centrado */
    padding: 10px 20px;
    background-color: rgba(202, 88, 131, 0.5);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    z-index: 9999; /* Asegura que esté en la capa superior */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra para darle más visibilidad */
}

#scrollToTopBtn:hover {
    background-color: rgba(179, 63, 107, 0.5);
}

/* Estilo de la flecha (emoji o símbolo) */
#scrollToTopBtn::before {
    content: "↑"; /* Usamos el símbolo de la flecha hacia arriba */
    font-size: 30px;
}

/*---------------------------------------------------------------------------------------------------------------------------*/

.nav-container {
    display: grid;
    margin: 0 auto;
    max-width: 1000px;
    width: 1000px;
    /*grid-template-columns: repeat(9, 1fr);
    grid-auto-rows: minmax(150px, auto);
    grid-gap: 20px;*/
}

.container {
    /* display: grid; */
    margin: 0 auto;
    max-width: 1400px;
    width: 1400px;
    /* background-color: #0f0f0e47; */
    /* grid-template-columns: repeat(9, 1fr);
    grid-auto-rows: minmax(150px, auto);
    grid-gap: 20px; */
    padding-top: 0px;
}

/*------------------------------------------------------------------------------*/

h6{
    font-family: "montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0px;
}

section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #a8a8a8;
    width: 100%;
}

#home {
    /* background: linear-gradient(to bottom, #1a1114, #CA5883); */
    width: 100%;
    height: 100vh;
    background-image: url("../images/background.jpg");
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover; 
}

/*888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #a8a8a8;
    width: 100%;
    overflow: hidden;
  }
  
  #home {
    background-image: url("../images/background.jpg");
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover; 
  }

  .numeros {
    display: flex;
    flex-direction: column;
    align-items: center; /* Cambié de 'left' a 'center' */
    justify-content: center;
    gap: 0px;
    text-align: center;
    position: absolute;
    top: 5%; /* Cambio importante: usamos top en vez de bottom */
    left: 5%;
    transform: translate(-50%, -50%); /* Ahora centra en ambos ejes */
    opacity: 0;
    animation: slideUp 3s forwards, fadeIn 3s 2s forwards;
}
@keyframes slideUp {
    0% {
        transform: translateY(100px); /* Comienza 50px abajo */
        opacity: 0; /* Invisible al inicio */
    }
    100% {
        transform: translateY(0); /* Termina en la posición original */
        opacity: 1; /* Se hace completamente visible */
    }
}
@keyframes fadeIn {
    0% {
        opacity: 1; /* Comienza invisible */
    }
    100% {
        opacity: 1; /* Termina completamente visible */
    }
}

.numeros img {
    max-width: 80%;
    height: auto;
    display: block;
  }
/*888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888*/

/* Estilo de cada número y texto */
.num_text {
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: white; /* El texto es blanco */
    font-size: 1rem;
    line-height: 1.5; /* Espacio entre las líneas de texto */
    height: auto;
    opacity: 0; /* Inicialmente invisible */
    animation: fadeInText 1.5s forwards; /* Animación para que el texto aparezca */
}

/* Estilo para el número destacado */
.num_text span {
    font-size: 1.4rem; /* Tamaño grande para el número */
    color: #ffffff; /* Color llamativo para el número */
    display: block; /* Hace que el número ocupe una línea completa */
    margin-bottom: 10px; /* Espacio entre el número y el texto */
}

/* Estilo adicional para las palabras, más pequeñas */
.num_text br {
    display: block;
    font-size: 1rem; /* Más pequeño que el número */
    margin-top: 5px; /* Separación entre el número y el texto */
    color: white; /* Blanco para que todo sea visible */
}

/* Animación del texto para hacerlo visible */
@keyframes fadeInText {
    0% {
        opacity: 0; /* Comienza invisible */
    }
    100% {
        opacity: 1; /* Se vuelve visible */
    }
}

/* Responsividad: se adapta a pantallas pequeñas */
@media (max-width: 768px) {
    .numeros {
        gap: 15px;
    }

    .num_text {
        font-size: 1.2rem;
    }

    .num_text span {
        font-size: 2.5rem;
    }
}


/*888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888*/


#postres {
    background-image: url("../images/postres.jpg");
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover; 
}

#panificados {
    background-image: url("../images/panificados.jpg");
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover; 
}

#platos {
    background-image: url("../images/platos.jpg");
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover; 
}

#nosotros {
    /* background: linear-gradient(to bottom, #e6d0d9, #f5f5f5); */
    background-color: #ffffff;
}
#contacto {
    background: linear-gradient(to bottom, #ad476e, #CA5883);
}

/*---------------------------------------------------------------------------------*/

#home .container {
    padding: 20px;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto;
    gap: 10px;
    height: 90%;
}

/* #section_one .container div{
    background-color: aqua;
} */

#home .container .num_variedades{
    background-color: rgb(255, 255, 255);
    border: 1px solid #CA5883;
    color: #CA5883;
    border-radius: 25px;
}

#home .container .num_postres{
    background-color: rgb(255, 255, 255);
    border: 1px solid #CA5883;
    color: #CA5883;
    border-radius: 25px;
}

#home .container .num_eventos{
    background-color: rgb(255, 255, 255);
    border: 1px solid #CA5883;
    color: #CA5883;
    border-radius: 25px;
    padding: 0px;
}

/*---------------------------------------------------------------------------------*/
#postres .container {
    padding: 30px;
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
    height: 90%;
    
}
#postres .container .div_postres01 {
    grid-column: 1;
    /* background-image: url("../images/pos_01.png");
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;  */
}
#postres .container .div_postres02 {
    grid-column: 2;
    text-align: left;
    max-height: 100%; 
    overflow-y: auto; 
    padding: 30px 15px;
    /* background-color: rgba(0, 0, 0, 0.5); */
}
#postres .container .div_postres02 ul {
    list-style-type: none;  /* Marca de lista (puedes cambiarla) */
    padding-left: 20px;     /* Espaciado a la izquierda */
    display: block;  /* Esto asegura que cada <li> se muestre en una nueva línea */
}
#postres .container .div_postres02 ul li {
    display: list-item;  
    font-family: "montserrat", sans-serif;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#postres .container .div_postres03 {
    grid-column: 3;
}
/*---------------------------------------------------------------------------------*/
.title{
    font-family: "Montserrat",sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    margin-left: 20px;
}
/*---------------------------------------------------------------------------------*/
#panificados .container {
    padding: 30px;
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
    height: 90%;
    
}
#panificados .container .div_panificados01 {
    grid-column: 1;
    /* background-image: url("../images/pos_01.png");
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;  */
}
#panificados .container .div_panificados02 {
    grid-column: 2;
    text-align: left;
    max-height: 100%; 
    overflow-y: auto; 
    padding: 30px 15px;
    /* background-color: rgba(0, 0, 0, 0.5); */
}
#panificados .container .div_panificados02 ul {
    list-style-type: none;  /* Marca de lista (puedes cambiarla) */
    padding-left: 20px;     /* Espaciado a la izquierda */
    display: block;  /* Esto asegura que cada <li> se muestre en una nueva línea */
}
#panificados .container .div_panificados02 ul li {
    display: list-item;  
    font-family: "montserrat", sans-serif;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#panificados .container .div_panificados03 {
    grid-column: 3;
}
/*---------------------------------------------------------------------------------*/


.div_platos01 {
    
    overflow-y: scroll; /* permite hacer scroll vertical */
    scrollbar-width: thin; /* para Firefox */
    scrollbar-color: #888 transparent; /* color del scroll en Firefox */
}

/* Para navegadores WebKit (Chrome, Safari, Edge) */
.div_platos01::-webkit-scrollbar {
    width: 8px; /* ancho de la barra */
}

.div_platos01::-webkit-scrollbar-thumb {
    background-color: #888; /* color del scroll */
    border-radius: 4px;
}

.div_platos01::-webkit-scrollbar-track {
    background: transparent; /* fondo del scroll */
}

/*--------------------------------------------------------------------------------------------*/

  
  /* El bloque de descarga sigue oculto por defecto */
  .descarga-pdf {
    display: none;
    text-align: center;
    padding: 20px;
  }
  
  /* Estilo del título */
  .titulo-descarga {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 50px;
    font-family: 'Montserrat', sans-serif;
  }
  
  /* Botón de descarga */
  .boton-descarga {
    background-color: #c75883;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 0px;
    font-weight: bold;
    font-size: 1rem;
  }
  
  /* Media query para mostrar el bloque de descarga en móviles */
  @media (max-width: 900px) {
    .div_platos01,
    .div_platos02,
    .div_platos03 {
      display: none;
    }
  
    .descarga-pdf {
      display: flex;
      flex-direction: column;
      align-items: center; /* Esto centra contenido horizontalmente */
      justify-content: center;
      width: 100vw;
      min-height: 60vh;
    }
  }
  /*---------------------------------------------*/

  .footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
  }
  
  .footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
/*---------------------------------------------------*/

#platos .container {
    padding: 30px;
    display: grid;
    grid-template-columns: 33% 33% 33%;
    gap: 20px;
    height: 90%;  
}
#platos .container .div_platos01{
    /* grid-column: 2; */
    text-align: left;
    max-height: 100%; 
    overflow-y: auto; 
    padding: 30px 15px;
    /* width:33%; */
    /* background-color: rgba(0, 0, 0, 0.5);  */
}
#platos .container .div_platos01 ul {
    list-style-type: none;  
    padding-left: 20px;    
    display: block;  
}
#platos .container .div_platos01 ul li {
    display: list-item;  
    font-family: "montserrat", sans-serif;
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#platos .container .div_platos02{
    /* grid-column: 2; */
    text-align: left;
    max-height: 100%; 
    overflow-y: auto; 
    padding: 30px 15px;
    /* width:33%; */
    /* background-color: rgba(0, 0, 0, 0.5);  */
}
#platos .container .div_platos02 ul {
    list-style-type: none;  
    padding-left: 20px;    
    display: block;  
}
#platos .container .div_platos02 ul li {
    display: list-item;  
    font-family: "montserrat", sans-serif;
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#platos .container .div_platos03{
    /* grid-column: 2; */
    text-align: left;
    max-height: 100%; 
    overflow-y: auto; 
    padding: 30px 15px;
    /* width:33%; */
    /* background-color: rgba(0, 0, 0, 0.5);  */
}
#platos .container .div_platos03 ul {
    list-style-type: none;  
    padding-left: 20px;    
    display: block;  
}
#platos .container .div_platos03 ul li {
    display: list-item;  
    font-family: "montserrat", sans-serif;
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/*---------------------------------------------------------------------------------*/



#nosotros .container {
    padding: 20px;
    display: grid;
    grid-template-columns: 33% 33% 33%;
    gap: 20px;
    height: 100%;
    width: 100%;
}

#nosotros .container .logos{
    background-image: url("../images/logos.png");
    background-position: bottom; 
    background-repeat: no-repeat; 
    background-size: 100%;  /* La imagen se estira para llenar todo el contenedor */
    width: 100%;
    height: auto;
}

#nosotros .container .photo {
    background-image: url("../images/nosotros.png");
    background-position: top; 
    background-repeat: no-repeat; 
    background-size: 100%;  /* La imagen se estira para llenar todo el contenedor */
    width: 100%;
    height: auto;
    margin-top: 0px;
}

#nosotros .container .texto {
    grid-column: span 2;
    color: #333333;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-align: left;
    width: 90%;
    text-align: justify;
    margin-top: -15px;
}

#nosotros .container .suned {
    background-image: url("../images/suned.jpg");
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: contain; 
    margin-top: -200px;
    width: 40%;
}
/*---------------------------------------------------------------------------------*/

/*---------------------------------------------------------------------------------*/

@media (max-width: 1024px) {
    #nosotros {
      height: auto !important;
      margin-top: -40px; /* Menor margen superior */
    }
  
    #nosotros .container {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px;
      height: auto !important;
    }
  
    #nosotros .logos {
      width: 100%;
      max-width: 400px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      aspect-ratio: 16 / 9;
      margin: 10px 0;
    }
  
    #nosotros .photo {
      width: 100%;
      max-width: 500px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      aspect-ratio: 3 / 2; /* Más alto que antes */
      margin: 10px 0;
    }
  
    #nosotros .texto {
      width: 100% !important; /* Texto ocupa todo el ancho */
      font-size: 0.9rem;
      text-align: justify;
      padding: 10px;
    }
  
    #nosotros .suned {
      display: none !important; /* Oculta el logo SUNED */
    }
  }
  
  
  


/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/

/* Estilo general de la sección de contacto */
#contacto {
    background-color: #272e8b;
    padding: 30px;
    font-family: 'Montserrat', sans-serif;
    /* display: flex; 
    justify-content: center; 
    align-items: center;  */
    height: 100vh; /* Ocupa todo el alto de la pantalla */
}




#contacto .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 0;
}

.contact-info,
.contact-form {
    flex: 1 1 45%;
}

/* Estilo general */
.contact-info, .contact-form {
    box-sizing: border-box;
}


/**************************************************************************/




#contacto .contact-info h5 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: left;
}

#contacto .contact-address {
    /* list-style-type: none;
    padding: 0; */
    color: #ffffff;
    text-align: left;
}

#contacto .contact-address {
    margin-top: 35px;
    font-size: 0.8rem;
    /* display: block;  */
}

#contacto .contact-address li i {
    color: #007bff;
    margin-right: 10px;
}

#contacto .contact-address a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
}

#contacto .contact-address a:hover {
    text-decoration: underline;
}

/* Estilo del formulario de contacto (a la derecha) */
#contacto .contact-form {
    grid-column: 2; /* Asignar a la segunda columna */
    background-color: #5452527b;
    padding: 30px;
    width: 100%;
    margin-right: 20px;
}

#contacto .contact-form h5 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 20px;
}

#contacto .form-group {
    margin-bottom: 20px;
}

#contacto .form-group input,
#contacto .form-group textarea {
    width: 90%;
    padding: 15px;
    font-size: 0.8rem;
    font-family: 'Montserrat',sans-serif;
    /* background-color: rgba(255, 255, 255, 0);  */
    transition: border-color 0.3s ease;
}

#contacto .form-group input:focus,
#contacto .form-group textarea:focus {
    /* border-color: #4a49497a; */
    outline: none;
}

#contacto .form-group textarea {
    resize: vertical;
}

#contacto .btn {
    background-color: #007bff;
    color: #fff;
    padding: 15px 25px;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contacto .btn:hover {
    background-color: #0056b3;
}



/*---------------------------------------------------------------------------------*/
/*----- media queries 768----------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/

@media (max-width:768px){
    nav{
        margin-top: 0px;
        margin-left: 0px;
    }
    .home_text{
        font-size: 2rem;
    }
    /*---------------------------------------------------------------------------------*/
  .numeros img {
    max-width: 80%;
  }

/* Pantallas menores a 768px: 1 columna con margen lateral */
    #contacto .container {
        flex-direction: column;
        padding: 40px 20px;
    }

    .contact-info,
    .contact-form {
        flex: 1 1 100%;
    }

    /*---------------------------------------------------------------------------------*/

}

        /* Pantallas entre 1024px y 768px: sigue siendo 2 columnas pero más angosto */
        @media (max-width: 1024px) {

            #contacto .container {
                flex-direction: column;
                padding: 20px 20px;
            }

            .contact-info,
            .contact-form {
                flex: 1 1 48%;
            }

        }