@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "ABeeZee", sans-serif;
    background-color:#debcf8 ;
        
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: #debcf8;
    color: #333;
    z-index: 1000; /* Asegura que el header esté siempre encima */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 60px;
    margin-right: 10px;
}

.logo span {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links ul li {
    margin: 0 15px;
}

.nav-links ul li a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links ul li a:hover {
    color:#f4f3fb ;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 4px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        background-color:#debcf8 ;
        position: absolute;
        top: 80px;
        left: 0;
        flex-direction: column;
        align-items: center;
    }

    .nav-links ul {
        flex-direction: column;
    }

    .nav-links ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-links.active {
        display: flex;
    }
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #debcf8;
    padding: 100px 20px 20px; /* Padding superior ajustado para evitar el header */
    padding-bottom: 80px;
    overflow: hidden; /* Para manejar el movimiento de las imágenes */
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    transition: transform 0.5s ease-in-out; /* Animación para el movimiento */
}

.hero-text {
    max-width: 60%;
}

.hero-text h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

.hero-text .btn {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.hero-text button:hover {
    background-color: #333;
}

.hero-images {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden; /* Para manejar el movimiento de las imágenes */
}

.hero-images img {
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
    border-radius: 10px;
    transform: scale(1);
    transition: transform 0.5s ease-in-out;
}

.hero-images img:hover {
    transform: scale(1.1); /* Efecto de zoom en la imagen */
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .hero-images {
        flex-direction: column;
    }

    .hero-images img {
        max-width: 100%;
    }
}

/*redes sociales*/

.social-icons {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 9999; /* Asegura que los iconos estén por encima de otros elementos */
}

.social-icons a {
    color:#b03a95 ;
    text-decoration: none;
    font-size: 20px;
    margin: 10px 0;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #f4f3fb;
}

/* Estilos responsivos para dispositivos móviles */
@media (max-width: 768px) {
    .social-icons {
        top: auto;
        bottom: 20px;
        right: 10px;
        transform: none;
        flex-direction: row;
        justify-content: center;
    }

    .social-icons a {
        margin: 0 5px;
    }
}


/*nuestros diseños*/
.designs {
    padding: 50px;
    background-color: #f9f9f9;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Contenedor de diseños */
.design-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

/* Item de diseño */
.design-item {
    background-color: white;
    border-radius: 8px;
    margin: 10px;
    overflow: hidden;
    max-width: 300px;
}

/* Imagen del diseño */
.design-item img {
    width: 100%;
    height: auto;
}

/* Información del diseño */
.design-info {
    padding: 15px;
    text-align: center;
}

.price {
    font-weight: bold;
    color: #333;
}

.description {
    font-size: 0.9em;
    color: #666;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .design-container {
        flex-direction: column;
        align-items: center;
    }

    .design-item {
        width: 90%; /* Aumenta el ancho en móviles */
    }
}

@media (max-width: 480px) {
    .price {
        font-size: 1.2em; /* Aumenta el tamaño de precio */
    }

    .description {
        font-size: 0.8em; /* Reduce el tamaño de descripción */
    }
}

/*instagram*/

.instagram-section {
    text-align: center;
    padding: 70px;
    background-color:#debcf8 ;
}

.image-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; /* Espacio mínimo entre las imágenes para pantallas grandes */
    margin-top: 20px;
}

.image {
    flex: 0 0 calc(20% - 10px); /* Ancho fijo para cada imagen (5 columnas) con espacio entre ellas */
    overflow: hidden;
    position: relative;
    outline: 2px solid #fff;
    outline-offset: -10px;
}

.image img {
    max-width: 100%; /* Imágenes ocupan todo el espacio disponible en su contenedor */
    height: auto; /* Altura automática para mantener la proporción */
    display: block;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    .image {
        flex: 0 0 calc(33.33% - 10px); /* Cambia el ancho a 33.33% para 3 columnas en dispositivos móviles */
        margin-bottom: 10px; /* Añade margen inferior para separar las imágenes */
    }
}

/*footer*/
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Alinea los elementos en la parte superior */
    gap: 30px;
    flex-wrap: wrap;
}

.footer-logo {
    flex: 0 0 auto; /* No crece ni se encoge */
    margin-right: 20px; /* Espacio entre el logo y las columnas de texto */
}

.footer-logo img {
    width: 100px;
    height: auto;
    display: block;
}

.footer-column {
    flex: 1;
    max-width: 300px;
    text-align: left;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.footer-column p {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-bottom {
    margin-top: 30px;
}

.footer-text {
    text-align: center;
    color: #ccc;
}

.footer-column li{
    list-style-type: none;
    font-size: 20px;
}

.footer-column li a {
    color: white;
    text-decoration: none;
    font-size: 1em;
}

.footer-text p {
    margin-bottom: 10px;
}

.footer-text a{
    color:#b03a95 ;
    text-decoration: none;
}
.footer-text strong {
    color: #fff;
}

.footer-text a:hover {
    color: rgb(247, 122, 122) ;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    .footer-content {
        flex-direction:column;
        
    }
    .footer-logo {
        margin-bottom: 10px; /* Añade margen inferior al logo en dispositivos móviles */
    }
    .footer-column {
        margin-bottom: 20px;
        margin-left: 20px;
        max-width: 100%;
    }
}

/* PAGINA 2*/ 

/*sobre nosotros*/

.full-screen-image {
    background: url('../img/flat-lay-knitting-needles-wool.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 10px; /* Altura del header */
}

.overlay {
    color: #333;
    text-align: center;
    background: #dbbcfb;  
    padding: 20px;
    border-radius: 30px;
    max-width: 80%; /* Limitar el ancho máximo del contenedor */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra para un efecto de profundidad */
}

.overlay h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .full-screen-image {
        margin-top: 5px; /* Ajustar el margen superior en dispositivos más pequeños */
    }

    .overlay {
        padding: 15px;
        max-width: 90%; /* Reducir el ancho máximo en dispositivos más pequeños */
        border-radius: 20px; /* Ajustar el radio del borde en dispositivos más pequeños */
    }

    .overlay h1 {
        font-size: 2.5rem;
    }

    .overlay p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .overlay {
        padding: 10px;
        max-width: 95%; /* Ajustar el ancho máximo en dispositivos muy pequeños */
        border-radius: 15px; /* Ajustar el radio del borde en dispositivos muy pequeños */
    }

    .overlay h1 {
        font-size: 2rem;
    }

    .overlay p {
        font-size: 0.9rem;
    }
}

/*PAGINA 3*/
/*catalogo2*/
.about-section {
    background-color: #fff;
    color: #333;
    padding: 50px 20px;
    text-align: center;
}

.about-section .content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 1.7rem;
    margin-bottom: 20px;
}

.text-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;   
}

.text-left, .text-right {
    flex: 1;    
}

.about-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;  
}

.about-image {
    width:200px; /* Ajusta este valor según el tamaño deseado */
    height: auto;
    margin-top: 30px;
    outline: 2px solid #fff;
    outline-offset: -10px;
}


/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    .about-section h2 {
        font-size: 1.7rem;
    }

    .about-section p {
        font-size: 1rem;
    }

    .text-columns {
        flex-direction: column;
    }

    .about-image {
        width: 200px; /* Ajusta este valor para dispositivos móviles */
    }
}

/*Catálogo1*/
.hero-section {
    background: url('../img/knitting-needles-wool.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 50px; /* Altura del header fijo */
}

.hero-content {
    color: #333;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    background: #dbbcfb;
    padding: 20px;
    border-radius: 30px; 

}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 0;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 15px;
        max-width: 90%; /* Reducir el ancho máximo en dispositivos más pequeños */
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/*PAGINA 4*/
/*Contacto*/ 
main {
    margin-top: 100px;
}

/* Sección de contacto */
.contact-section {
    position: relative;
    height: 100vh; /* Ocupa toda la altura de la ventana */
    background-image: url('../img/various-wool-balls-basket.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Capa de superposición para oscurecer la imagen de fondo */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Contenedor principal */
.contact-container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333;
}

.contact-container h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #333;
}

.contact-container p {
    margin-bottom: 30px;
    color: #777;
}

/* Estilos del formulario */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* Estilos del botón */
button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #debcf8;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #b03a95;
    transform: translateY(-2px);
}

/* Media queries para hacer responsive */
@media (max-width: 1200px) {
    .contact-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        height: auto; /* Ajusta la altura automáticamente */
        padding: 100px 20px; /* Espaciado interior */
        text-align: center; /* Centra el contenido */
    }

    .background-overlay {
        background: rgba(0, 0, 0, 0.7); /* Ajusta la opacidad para mejorar la legibilidad */
    }

    .contact-container {
        max-width: 100%;
        padding: 30px 20px; /* Ajusta el padding interior */
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem; /* Reduce el tamaño de fuente para dispositivos móviles */
    }

    button {
        font-size: 0.9rem; /* Reduce el tamaño de fuente del botón */
    }
}