/* Estilos globales */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Asegúrate de no tener scroll horizontal */
}



body {
    font-family: 'Montserrat', sans-serif;
    
    width: 100%;
    min-height: 100vh ;
    margin: 0;
    padding: 0;
    background-image: url( assets/img/Fondo.jpg );
    background-size: cover;

}

header {
    background-color: #000;
    padding: 10px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

p {
    font-family: 'Montserrat', sans-serif;
}


.carousel {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 900;
   background-color: blue;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 90px;
}
.carousel img {
    width: 100%; /* Hace que las imágenes del carrusel se ajusten al ancho del contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
    display: block;
    object-fit: cover; /* Asegura que la imagen cubra el contenedor sin distorsión */
}

.carousel-container {
    width: 100vw; /* Usa 100% del ancho de la ventana del navegador */
    height: auto;
    margin: 0; /* Elimina cualquier margen extra */
    padding: 0; /* Elimina cualquier padding extra */

}

.carousel .slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
   
    background-position: center;
}

.carousel .slide:first-child {
    display: block;
}

.carousel-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    bottom: 50px;
    right: 40px;
    color: #fff;
  padding: 20px;
    max-width: 100%;
    align-items: flex-end;
}
.carousel-text h2 {
    font-size: 40px;
}
.carousel-text p {
    font-size: 20px;
}

.carousel-text2 {
    line-height: 150%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    bottom: 50px;
    left: 40px;
    color: #fff;
    padding: 20px;
    max-width: 100%;
    align-items: flex-start;
}

.carousel-text2 h2 {
    font-size: 40px;
}
.carousel-text2 p {
    font-size: 20px;
    text-align: left;
}

.carousel-text p{
max-width: 60ch; /*ch es caracteres, 70ch es comodo para leer*/
text-align: right;
line-height:150%;

}

.carousel .button {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 100px;
    width: 265px;
    height: 47px;
    font-size: 22px;
    letter-spacing: 4px;  
}

.button:hover {
    background-color: #d7b6d9;
    color:#000
    
}


.carousel .button2 {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 100px;
    width: 265px;
    height: 47px;
    font-size: 22px; 
    letter-spacing: 4px;
}

.button2:hover {
    background-color: #d7b6d9;
    color:#000;
}

.Mundo-zarzamora {
    text-align: center;
    padding: 50px 20px;
}

.Mundo-zarzamora h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
}

.Mundo-zarzamora p {
    margin-top: 10px;
     }

.Mundo-zarzamora img {
max-width: 100%;
height: auto;
}



.gallery {
    display: flex;
    justify-content: space-around;
    margin-top: 0%;
}

.gallery-item {
    position: relative;
    width: 30%;
    gap: 0;
    width: 100vw;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
}

.gallery-item .hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 1.3 ease;
    width: 100%;
    height: 100%;
    font-size: 30px;
}


.gallery-item:hover .hover-text {
    opacity: 1;
}



/* Section Abuela */
.container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    height: 550px; /* Usamos toda la altura disponible */
    position: relative; /* Para manejar mejor la alineación */
}

/* Container for the text */
.text-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrar verticalmente los textos */
    height: 100%; 
    margin-left: 50px;
    /* Para asegurar que ocupe toda la altura */
}

.text-content h1 {
    font-size: 38px;
    color: #000;
    font-weight: 600; /* Semi Bold */

}

.text-content p {
    font-size: 24px;
    color: #000;
}

/* Image container */
.image-content {
    display: flex;
    align-items: center;
    flex: 1;
    height: 100%;
    margin-right: 50px;
}

.morita-comenta {
    height: auto;
    max-height: 80vh;
 /* Ajustar el tamaño de la imagen */
}

/* Optional button styles */
.cta-button { 
    background-color: #000;
    color: white;
    width: 265px;
    height: 47px;
    border-radius: 100px;
    font-weight: normal;
    font-size: 22px;     
}
.cta-button:hover {
    background-color: #d7b6d9;
    color:#000
}




/* Section Duende */
.duende {
    background-image: url('assets/img/duende.jpg'); /* Ajusta la ruta según tu archivo */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 600px; /* Altura de la imagen */
    display: flex;
    justify-content: flex-end; /* Alinea el contenido a la derecha */
    align-items: center; /* Centra verticalmente el contenido */
    padding-right: 50px; /* Ajusta el margen derecho */
    position: relative;
   
}

/* Text container */
.section-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

/* Text styles */
.text-final {
    max-width: 40%; /* Limita el ancho del texto */
    text-align: right; /* Alinea el texto a la derecha */
    color: #000;
    margin-right: 50px;
    font-size: 24px;
   
 /* Texto blanco para resaltar sobre la imagen */
}



/* Button styles */
.cta-button {
    background-color: #000;
    color: white;
    width: 265px;
    height: 47px;
    border-radius: 100px;
    font-weight: normal;
    font-size: 22px; 
}


.cta-button:hover {
    background-color: #d7b6d9;
    color:#000;
    }

.menu {
    background-color: #333;
    position: relative;
  }
  
  .menu-items {
    list-style-type: none;
    padding: 15px;
    margin: 0;
    
    display: none;
    justify-content: center;
    position: absolute;
    flex-direction: column;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #000000;
  }
  
  .menu-items.active {
    display: flex;
  }
  
  .menu li {
    margin: 0 15px;
  }
  
  .menu a {
    color: white;
    text-decoration: none;
    padding: 15px;
    display: block;
    transition: background-color 0.3s;
  }
  
 .bloque1{
    z-index: 1000;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
 }
  
  .hamburger {
    display: block;
    font-size: 30px;
    color: white;
    cursor: pointer;
    padding: 15px;
  
  }

  .content{
    display: flex;
    justify-content: center;
    gap: 20px;
    }
    .content a{
    font-size: 30px;
    }
    .tiktok{
    color: white;
    }
    .instagram{
    color:white
    }

.icons {
    justify-content: center;
    align-items: center;
        display: flex;
        gap: 30px;
        margin-right: 50px;
      }

.ico1{
    color: #fff;
    font-size: 25px;
}
.icons button:hover .ico1,
.icons a:hover .ico1{
    color: #e599e9;
   
}
.icons button{
    background-color: transparent;
    cursor: pointer;
}


.barra{
    padding: 10px;
    border-radius: 100px;
    background-color: #d7b6d9;
    opacity: 0;
    transition: opacity 1s ease;
}

.mostrar{
    opacity: 1;
}


  section {
    padding: 20px;
    text-align: center;
  }


  .franja-final {
    background-image: url(assets/img/flor_rosada.jpeg);
    background-size: cover;
    background-position: center;
    padding: 25px 0;
    text-align: center;
    }
    
    .franja-text {
        font-size: 24px;
        font-weight: bold;
        color: #000;
        display: inline-block;
        padding: 10px 20px;
        border-radius: 5px;
    }

/* Footer */

/* General footer styling */
footer {
    background-color: #000; /* Fondo negro */
    padding: 20px 0;
    text-align: center;
    height: 130px;
    border: 1px solid #51ec0f;
    
}

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

.footer-section1 {
    color: #fff;
    flex: 1;
    text-align: center;
    
   
    
}

.footer-section1 a {
    color: #fff;
    font-size: 20px;
    margin: 5px 0;
    display: flex;
    text-decoration: none;
    
}




.footer-right {
    color: #fff;
    flex: 1;
    text-align: center;
    
   
    
}

.footer-right a {
    color: #fff;
    font-size: 20px;
    display: flex;
    text-decoration: none;
    text-align: right; /* Alinea el texto a la derecha */
    justify-content: flex-end; /* Asegura que el contenido se mueva hacia la derecha */
    
}

.footer-section1 a:hover{
    color: #e599e9;
}

.footer-right a:hover{
    color: #e599e9;
}

.social-icons a:hover img {
    transform: scale(1.1); /* Aumenta el tamaño del ícono ligeramente */
    transition: transform 0.3s ease-in-out; /* Suaviza la animación */
}

.social-icons a:hover {
    border: 5px solid #e599e9;; /* Cambia el borde al pasar el ratón */
    border-radius: 50%; /* Asegura que los bordes sean circulares */
    padding: 5px;
    color: #e599e9;
}


ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
}


li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    margin-bottom: 10px;
}


/* Estilos para pantallas de tablets */
@media (max-width: 1024px) {
    /* Ajustes en el header */
    nav ul {
        flex-direction: column; /* Menú vertical en pantallas más pequeñas */
        gap: 10px;
    }
    
    .carousel-text h2, .carousel-text2 h2 {
        font-size: 30px; /* Reduce el tamaño de los títulos en tablets */
    }

    .carousel-text p, .carousel-text2 p {
        font-size: 16px;
    }

    .gallery-item {
        width: 100%; /* Haz que los elementos de la galería ocupen todo el ancho */
    }

    .text-content h1 {
        font-size: 28px; /* Reduce el tamaño del texto */
    }

    .text-content p {
        font-size: 18px; /* Ajusta el tamaño del texto en tablets */
    }

    .cta-button {
        font-size: 18px;
        width: 220px;
        height: 40px;
    }

    .text-final {
        font-size: 20px; /* Reduce el tamaño del texto en tablets */
        max-width: 80%; /* Aumenta el ancho del contenedor de texto */
        margin-right: 20px; /* Reduce el margen */
        text-align: center; /* Centra el texto en tablets */
    }


}

/* Estilos para pantallas móviles */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .carousel-text {
        bottom: 20px; /* Ajusta la posición del texto en móviles */
        right: 20px;
    }

    .carousel-text h2, .carousel-text2 h2 {
        font-size: 24px; /* Reduce más el tamaño del título */
    }

    .carousel-text p, .carousel-text2 p {
        font-size: 14px; /* Ajusta el tamaño del texto */
    }

    

    .gallery {
        flex-direction: column; /* La galería se organiza verticalmente */
        align-items: center;
    }

    .gallery-item {
        width: 100%; /* Cada imagen de la galería ocupará todo el ancho */
    }

    .container {
        flex-direction: column; /* El texto y la imagen estarán uno debajo del otro */
        text-align: center;
        height: auto; /* Elimina la altura fija */
    }

    .text-content {
        margin-left: 0;
        margin-bottom: 20px; /* Añade un espacio debajo del texto */
    }

    .image-content {
        margin-right: 0;
    }

    .duende {
        height: auto; /* Ajusta la altura de la sección */
        padding: 20px;
    }

    .text-final {
        font-size: 18px; /* Reduce más el tamaño del texto en móviles */
        max-width: 90%; /* Aumenta más el ancho del contenedor en móviles */
        margin-right: 0; /* Elimina el margen derecho */
        text-align: center; /* Centra el texto en móviles */
    
    }

    .cta-button {
        font-size: 16px;
        width: 180px;
        height: 35px;
    }
}

/* Estilos para pantallas muy pequeñas (como móviles pequeños) */
@media (max-width: 480px) {
    .carousel-text, .carousel-text2 {
        padding: 10px; /* Reduce el padding */
        bottom: 10px;
        right: 10px;
        left: 10px;
    }

    .carousel-text h2, .carousel-text2 h2 {
        font-size: 20px; /* Reduce aún más el tamaño de los títulos */
    }

    .carousel-text p, .carousel-text2 p {
        font-size: 12px;
    }

    .gallery-item {
        width: 100%; /* Imágenes de galería en una sola columna */
    }

    .cta-button {
        font-size: 14px;
        width: 160px;
        height: 30px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section1, .footer-right {
        text-align: center;
    }

    .icons {
        flex-direction: column;
        gap: 10px;
    }

    .text-final {
        font-size: 16px; /* Ajusta el tamaño de la fuente en móviles pequeños */
        max-width: 95%;
        margin-right: 0;
        text-align: center;

    }

}


