@import url('https://fonts.googleapis.com/css2?family=Butterfly+Kids&family=Playwrite+NG+Modern:wght@100..400&display=swap');


body, h1, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Playwrite NG Modern", cursive;
}

/* Header */
header {
    background-color: #fff;
    color: #333;
    padding: 10px 0;
    z-index: 10;
    position: relative;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 60px;
}

nav {
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu li a {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-weight: 500;
}

.nav-menu li a:hover {
    color: #eb7c9d;
    
}

/* Estilos para el menú desplegable */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 0;
        margin: 0;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-menu li a {
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid #00c4b6;
      
    }

    .menu-toggle {
        display: block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh; 
    background-image: url('../img/cabecera\ Nueva\ 3.png');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    display: flex;
    justify-content: center; 
    align-items: center; 
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;

}

.center-image {
    max-width: 50%; 
    height: auto; 
    padding-top: 70px;
}

.cta-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    background-color:#33dbd3;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight:500;
    transition: background-color 0.3s;
    border-radius: 4px;
    border: 2px solid #00c4b6; 
}

.cta-button:hover {
    background-color: #fff; 
    color: #00bcd4; 
    border-color: #00bcd4; 
}

@media (max-width: 1024px) {
    .center-image {
        max-width:60%; 
        padding-top: 80px; 
    }
}

@media (max-width: 768px) {
    .cta-button {
        padding: 8px 16px; 
        font-size: 10px; 
    }

    .center-image {
        max-width: 120%;
        padding-top: 120px;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 6px 12px; 
        font-size: 10px; 
    }

    .center-image {
        max-width: 100%; 
        padding-top: 120px;/
    }
}


/*1*/
.why-choose {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff; 
}

.why-choose h2 {
    font-size: 25px;
    margin-bottom: 20px;
    color: #333; 
}

.features {
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    flex-wrap: wrap;
    gap: 20px; 
}

.feature-item {
    text-align: center;
    flex: 1;
    max-width: 300px;
    margin: 10px;
}

.icon-container {
    background-color:#33dbd3 ; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px; 
    height: 80px; 
    margin: 0 auto 10px auto;
}

.feature-icon {
    width: 50px; 
    height: auto; 
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #555; 
}

.feature-item p {
    font-size: 14px;
    color: #666; 
    margin: 0; 
}

/* Responsividad */

@media (max-width: 768px) {
    .why-choose {
        padding: 30px 15px;
    }

    .features {
        flex-direction: column;
    }

    .feature-item {
        max-width: 100%; 
        margin: 10px 0; 
    }

    .feature-item h3 {
        font-size: 16px; 
    }

    .feature-item p {
        font-size: 12px; 
    }
}

@media (max-width: 480px) {
    .why-choose h2 {
        font-size: 20px; 
    }
    
    .icon-container {
        width: 60px; 
        height: 60px; 
        padding: 15px; /
    }

    .feature-icon {
        width: 40px; 
    }
}


/*2*/
.about-tessuto {
    text-align: center;
    position: relative;
    padding: 40px 20px; 
    background-color: #ffff; 
}

.title h2 {
    font-size: 25px;
    margin-bottom: 20px;
    color: #333;
}

.small-image {
    margin-bottom: 20px;
}

.small-img {
    width: 150px; 
    height: auto;
    border-radius: 100px; 
    display: block;
    margin: 0 auto; 
}

.background-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-overlay {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.6); 
    color: #333; 
    padding: 20px;
    border-radius: 8px; 
    max-width: 90%; 
    text-align: center; 
    box-sizing: border-box; 
}

/* Responsividad */

@media (max-width: 768px) {
    .about-tessuto {
        padding: 30px 15px; /* Ajusta el padding para pantallas más pequeñas */
    }

    .title h2 {
        font-size: 22px; /* Ajusta el tamaño del título para pantallas más pequeñas */
    }

    .small-img {
        width: 120px; /* Ajusta el tamaño de la imagen pequeña en pantallas más pequeñas */
    }

    .background-image {
        height: 700px; /* Ajusta la altura para pantallas más pequeñas */
    }

    .text-overlay {
        padding: 15px; /* Ajusta el padding del texto para pantallas más pequeñas */
        max-width: 95%; /* Aumenta el ancho máximo del texto para pantallas más pequeñas */
    }
}

@media (max-width: 480px) {
    .about-tessuto {
        padding: 20px 10px; /* Ajusta el padding para pantallas muy pequeñas */
    }

    .title h2 {
        font-size: 20px; /* Ajusta el tamaño del título para pantallas muy pequeñas */
    }

    .small-img {
        width: 100px; /* Ajusta el tamaño de la imagen pequeña para pantallas muy pequeñas */
    }

    .background-image {
        height: 700px; /* Ajusta la altura para pantallas muy pequeñas */
    }

    .text-overlay {
        padding: 10px; /* Ajusta el padding del texto para pantallas muy pequeñas */
        max-width: 95%; /* Aumenta el ancho máximo del texto para pantallas muy pequeñas */
    }
}

/*3*/
.best-selling-patterns {
    text-align: center;
    padding: 40px 20px; /* Ajusta el padding según tus necesidades */
    background-color: #ffff; /* Fondo claro para resaltar el contenido */
}

.title h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333; /* Ajusta el color según tu diseño */
}

.description p {
    font-size: 16px;
    margin-bottom: 40px;
    color: #666; /* Ajusta el color según tu diseño */
    max-width: 800px; /* Ajusta el ancho máximo del texto */
    margin-left: auto;
    margin-right: auto;
}

.patterns-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px; /* Espacio entre las imágenes */
    max-width: 1200px; /* Ajusta el ancho máximo según tus necesidades */
    margin: 0 auto;
}

.pattern-item {
    width: calc(25% - 20px); /* Ajusta el ancho de cada ítem y resta el espacio entre ellos */
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 20px; /* Espacio adicional debajo de cada ítem */
}

.pattern-img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Ajusta el radio del borde según tu diseño */
    margin-bottom: 10px; /* Espacio entre la imagen y el texto */
}

.pattern-name {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333; /* Ajusta el color según tu diseño */
}

.instagram-link {
    display: inline-block;
    color: #fff; /* Color del texto dentro del recuadro */
    background-color: #33dbd3; /* Color calipso de fondo */
    border: 2px solid #00c4b6; /* Borde calipso */
    padding: 8px 16px; /* Espaciado dentro del recuadro */
    border-radius: 8px; /* Radio del borde */
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s, border-color 0.3s; /* Transición suave para el efecto hover */
    margin-bottom: 20px; /* Espacio adicional debajo del enlace */
}

.instagram-link:hover {
    background-color: #fff; /* Fondo blanco al pasar el ratón */
    color: #00bcd4; /* Texto color calipso al pasar el ratón */
    border-color: #00bcd4; /* Borde calipso al pasar el ratón */
}

/* Responsividad */
@media (max-width: 1024px) {
    .pattern-item {
        width: calc(33.333% - 20px); /* Tres ítems por fila */
    }
}

@media (max-width: 768px) {
    .pattern-item {
        width: calc(50% - 20px); /* Dos ítems por fila */
    }
}

@media (max-width: 480px) {
    .pattern-item {
        width: 100%; /* Un ítem por fila */
    }
}


/*4*/
.image-text-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-image: url('../img/Fondo\ estrellas\ nuevo.png'); /* Imagen de fondo */
    background-size: cover; /* Ajusta la imagen al tamaño del contenedor */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    position: relative;
    color: #fff; /* Color del texto general para contraste */
}

.image-text-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    gap: 20px; /* Espacio entre imagen y texto */
    position: relative; /* Asegura que los elementos hijos estén posicionados correctamente */
    z-index: 1; /* Asegura que el contenido esté sobre la imagen de fondo */
    flex-wrap: wrap; /* Permite que los elementos se envuelvan en pantallas pequeñas */
}

.image-wrapper {
    flex: 1; /* Ocupa el espacio disponible */
    min-width: 300px; /* Asegura un ancho mínimo para la imagen */
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 12px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

.text-wrapper {
    flex: 1; /* Ocupa el espacio disponible */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.6); 
    border-radius: 12px; 
    min-width: 300px; 
}

.section-title {
    font-size: 25px;
    margin-bottom: 20px;
    color: #333; 
}

.section-text {
    font-size: 14px;
    color: #333; 
    margin-bottom: 20px;
}

/* Responsividad */
@media (max-width: 1024px) {
    .image-text-container {
        flex-direction: column; 
        gap: 20px;     
    }

    .image-wrapper,
    .text-wrapper {
        min-width: auto; 
       
    }
    .text-wrapper {
        padding: 10px; /* Ajusta el padding del texto para pantallas muy pequeñas */
        max-width: 95%; /* Aumenta el ancho máximo del texto para pantallas muy pequeñas */
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 22px; 
    }

    .section-text {
        font-size: 12px; 
        
    }
   
}

@media (max-width: 480px) {
    .section-title {
        font-size: 20px; 
        
    }

    .section-text {
        font-size: 11px; 
        
    }

    .image-text-container {
        padding: 20px; /
        
    
    }
}

/*contacto*/
.container2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    background: url('../img/Fondo\ estrellas.jpg') no-repeat center center fixed;
    background-size: cover;
}

.form-container {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
    color: #333;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #333;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

button {
    background-color:#eb7c9d ;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #00c4b6;
}

/* Responsividad */
@media (max-width: 600px) {
    .form-container {
        padding: 20px;
    }

    h1 {
        font-size: 20px;
    }

    input[type="text"],
    input[type="email"],
    textarea,
    button {
        font-size: 14px;
    }
}

/*footer*/
.footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    width: 100%;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    width: 90px;
    margin-bottom: 1rem;
}

.footer-description {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #ccc;
}

.footer-description a {
    color: #3bceef;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-description a:hover {
    color: rgb(247, 122, 122);
}

.social-icon {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #3bceef;
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
    .footer .container {
        padding: 0 1rem;
    }

    .footer-logo img {
        width: 90px;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .social-icon {
        font-size: 1.2rem;
    }
}