/* Sección Hero - CORREGIDA */
.hero {
    display: flex;
    background-image: url("images/Fondo\ hero.webp");
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 0%;
    height: 82vh;
    align-items: center;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Container con flexbox - MUY ESPECÍFICO */
.hero .container {
    display: flex ;
    width: 100%;
    max-width: 100%;
    justify-content: center ;
    align-items: center ;
    flex-direction: column;
    gap: 40px ;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: nowrap ;
    overflow-x: hidden;
}

/* Contenedor del texto - MUY ESPECÍFICO */
.hero .text-content {
    flex: 1;
    text-align: center ;
    max-width: none ;
    width: auto ;
    display: block;    
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}


/* Responsive para tablets */
@media (max-width: 768px) {
    .hero .container {
        text-align: center;
        gap: 30px;
    }
    
    .hero .text-content {
        order: 2; /* Pone el texto después de la imagen en móvil */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Responsive para móviles */
@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
        height: 70vh;
    }
    
    .hero .container {
        padding: 0 20px;
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .featured-categories {
        padding: 40px 20px;
    }

    .imagen-frascos {
        width: 90vw;
    }

    .btn-outline {
        width: 80%;
        margin: 10px auto;
    }

    .about {
        padding: 40px 20px;
    }

    .customization h2 {
        font-size: 2.5rem;
    }
}

/* Sección About */
.about {
    padding: 80px 0;
    background-color: var(--cream);
    text-align: center;
    margin: 0;
}

.about p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Categorías destacadas */
.featured-categories {
    padding: 80px 8vw;
    background-color: var(--white);
}

.featured-categories h2 {
    text-align: center;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    flex: 0 0 calc(33.333% - 30px);
    min-width: 250px;
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card h3 {
    margin: 15px 0 0;
    font-size: 1.8rem;
}

.btn-outline{
    border-radius: 15px;
    padding: 7px 10px;
    background-color: var(--gold);
    margin: 0 auto 10px;
    width: 12.5vw;
    display: block;
    color: #ffffffbb;
    transition: .5s initial;
    min-width: 160px;
}

.btn-outline:hover {
    color: var(--cream);
    background-color: var(--teal);
}
/* Sección de personalización */
.customization {
    padding: 80px 0;
    background-color: var(--cream);
    text-align: center;
}
.customization h2 {
    font-size: 3.5rem;
}

.imagen-frascos {
    width: 30vw;
    height: auto;
    margin: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.color-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.color {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.color:hover {
    transform: scale(1.2);
}

.color.purple { background-color: #6a0dad; }
.color.blue { background-color: #0077be; }
.color.black { background-color: #000000; }
.color.red { background-color: #cc0000; }
.color.green { background-color: #006400; }
.color.gold { background-color: #d4af37; }

/* CTA Section */
.cta {
    background-color: var(--teal);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    color: var(--white);
}

.cta h2::after {
    background-color: var(--white);
    left: 50%;
    transform: translateX(-50%);
}

.cta-buttons {
    display: flex;
    justify-content: center; /* Centra los botones */
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background-color: #25d366;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
}
