/*ROOT*/
:root {
    --league-spartan: 'League Spartan', sans-serif;
    --great-vibes: 'Great Vibes', cursive;
    --mocha-muse: #a47864;
    --white: #fff;
    --orange: orange;
    --purple: #7e5e91;
    --cafecito: #cab7af;
    --verde:#aca17d;
}
/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "League Spartan", serif;
}
/* ---------------------- NAVBAR ---------------------- */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1); /* Transparente */
    backdrop-filter: blur(3px);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
} 
.navbar img {
    height: 70px; /* Logo */
    cursor: pointer;
}
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center; /* Alineación vertical de los ítems */
}
.navbar ul li a {
    text-decoration: none;
    color: white;
    font-weight: 200;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px; /* Ajuste de tamaño para mejor alineación */
    text-transform: uppercase;
    position: relative;
}
/* Iconos de Lordicon */
.navbar ul li a .lord-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Estilo para el contador del carrito */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: orange;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
/* ---------------------- MENÚ HAMBURGUESA ---------------------- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    color: white;
    height: 60px;
    width: auto;
}
.menu-toggle i{
    font-size: 30px;
}
/* Carrusel */
.carousel {
    position: relative;
    width: 100%;
    height: 800px; /* Asegúrate de que tenga un tamaño fijo */
    overflow: hidden;
    display: flex;
    align-items: center;
}
.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%); /* Ocultar los slides fuera del viewport */
    transition: transform 0.5s ease-in-out;
}
.carousel-item.active {
    transform: translateX(0); /* Muestra el slide actual */
}
/* ---------------------- ESTILO DE SLIDES ---------------------- */
.carousel-item h2 {
    font-family: var(--league-spartan);
    font-size: 60px;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    font-weight: 500;
}
.carousel-item .btn {
    font-family: var(--league-spartan);
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 300;
    font-size: 20px;
    color: white;
    background: var(--orange);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.carousel-item .btn:hover {
    background: white;
    color: var(--orange);
}
/* Flechas de navegación */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 100;
    border-radius: 5px;
}
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.carousel-indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}
.carousel-indicator.active {
    background: white;
}
/* Sección Características */
.features-carousel, .contact{
    text-align: center;
    padding: 40px 0;
    background-color: white;
}
/* ---------------------- ESTILO DE SECCIÓN FEATURES ---------------------- */
.features-carousel {
    text-align: center;
    position: relative;
    width: 100%;
    padding: 20px;
}
/* Título estilizado */
.features-carousel h3 {
    font-family: var(--league-spartan);
    font-size: 46px;
    color: var(--orange);
    text-align: center;
    padding: 30px;
}
/* Contenedor de los features */
.features-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}
/* Estilos de cada feature */
.feature {  
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: calc(20% - 20px); /* 5 columnas en una fila */
    min-height: 180px;
}
/* Asegurar que el contenido interno de cada card se distribuya bien */
.feature h1 {
    font-family: var(--league-spartan);
    font-weight: 500;
    font-size: 24px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--cafecito);
    text-align: center;
}
/* Estilos de los iconos dentro de los features */
.feature lord-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}
/*--TESTIMONIOS-*/
.testimonials{
    text-align: center;
    position: relative;
    width: 100%;
    padding: 40px 0;
    background: #cab7af;
}
.testimonials h3 {
    font-family: var(--league-spartan);
    font-size: 46px;
    color: var(--white);
    margin-bottom: 20px;
    text-align: center;
}
.testimonials-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 800px;
    margin: auto;
    position: relative;
}
.testimonial {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}
.testimonial.active {
    display: block;
}
.testimonial h4 {
    font-size: 30px;
    color: var(--mocha-muse);
    margin-bottom: 5px;
    padding: 10px;
}
.testimonial h5 {
    font-size: 24px;
    color:var(--orange);
    font-weight: bold;
    margin-bottom: 10px;
}
.testimonial p {
    font-size: 20px;
    color: #666;
    text-align: center;
    padding: 10px;
}
/* Flechas de navegación */
.testimonial-prev,
.testimonial-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: #7e5e91;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.3s ease-in-out;
}
.testimonial-prev:hover,
.testimonial-next:hover {
    opacity: 1;
}
.testimonial-prev { left: 10px; }
.testimonial-next { right: 10px; }
.stars {
    color: #FFD700; /* Color dorado */
    font-size: 14px;
    margin-bottom: 8px;
    padding: 10px;
}
/* Secciones generales */
.how-it-works{
    padding: 20px;
    text-align: center;
    background-color: white;
}
/* ---------------------- ESTILO TIMELINE - CÓMO FUNCIONA ---------------------- */
.how-it-works h3, h1 {
    font-family: var(--league-spartan);
    color: orange;
    font-size: 46px;
    text-align: center;
    padding: 30px;
}
.how-it-works-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--cafecito);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: calc(20% - 20px); /* 5 columnas en una fila */
    min-height: 180px;
}
/* Efecto hover - Cambia el fondo y color del texto */
.step:hover {
    background: white;
}
.step:hover h2,
.step:hover p {
    color:var(--cafecito);
}
.step:hover h1{
    background-color: orange;
    color: white;
}
.step h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    color: var(--orange);
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 10px;
}
.step h2 {
    font-size: 24px;
    color: var(--white);
    margin: 5px 0;
    font-weight: 400;
}
.step p {
    font-size: 18px;
    color: var(--white);
    text-align: center;
    font-weight: 300;
    text-align: justify;
}
/* ---------------------- FAQ ---------------------- */
.faq {
    width: 100%; /* Asegurar que ocupe todo el ancho */
    margin: auto;
    text-align: center;
    background: #cab7af;
}
.faq h2 {
    font-family: var(--league-spartan);
    font-size: 46px;
    color: white;
    text-align: center;
    padding: 30px;
}
.faq-question {
    width: 100%; /* Botón ocupa todo el ancho disponible */
    background:transparent;
    color: white;
    border: none;
    padding: 15px;
    font-size: 20px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    display: flex;
    align-items: center;
}
.faq-question:hover {
    background-color: white;
    color: #a47864;
}
.faq-answer {
    display: none;
    padding: 15px;
    background: rgba(126, 94, 145, 0.1);
    border-radius: 5px;
    text-align: left;
    background-color: white;
}
.faq-answer p {
    font-size: 16px;
    color: #a47864;
    font-size: 20px;
}
.faq-item.active .faq-answer {
    display: block;
}
/*-------------------CONTACTO-------------------*/
.contact {
    width: 100%;
    max-width: 600px;
    margin: auto;
    padding: 40px 20px;
    text-align: center;
}
.contact h3 {
    font-family: var(--league-spartan);
    font-size: 46px;
    color: var(--orange);
    margin-bottom: 20px;
}
.contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact input,
.contact textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--cafecito);
    border-radius: 5px;
    font-size: 16px;
    color: var(--mocha-muse);
    outline: none;
    transition: border 0.3s ease-in-out;
    font-weight: 300;
}
.contact input:focus,
.contact textarea:focus {
    border-color: #d2a99f;
}
.contact textarea {
    min-height: 120px;
    resize: vertical;
}
.contact button {
    background: orange;
    color: white;
    border: none;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.contact button:hover {
    background: white;
    color: orange;
}
/* ---------------------- ESTILO FOOTER ---------------------- */
footer {
    position: relative;
    color: white;
    text-align: center;
    background-color: var(--verde);
    width: 100%;
    height: 100%;
    padding: 5px;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: auto;
    flex-direction: column;
}
.footer-container h4 {
    font-size: 24px;
    padding: 5px;
    font-weight: 300;
}
.icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-direction: row;
    align-items: center;
}
.icons a {
    color: white;
    font-size: 24px;
    transition: color 0.3s ease-in-out;
}
.icons a:hover {
    color: orange;
}
.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: white;
    font-weight: 300;
}
/* Burbuja de WhatsApp */
.whatsapp-bubble {
    position: fixed;
    align-items: center;
    bottom: 20px;
    right: 20px;
    background-color: #23d366;
    padding: 5px;    
    border-radius: 20%;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    cursor: pointer;
}
/*-ANIMACIONES-*/
button {
    transition: all 0.3s ease-in-out;
}
button:hover {
    transform: scale(1.1);
}
.carousel {
    background-attachment: fixed;
    background-size: cover;
}
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
.whatsapp-bubble {
    animation: bounce 2s infinite 5s;
}
/* ---------------------- RESPONSIVE ---------------------- */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        width: 200px;
        padding: 20px;
        text-align: center;
        transition: all 0.3s ease-in-out;
        border-radius: 5px;
    }
    .navbar ul.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 20px;
        background: none;
        border: none;
        cursor: pointer;
    }
    .carousel-item h2 {
        font-size: 36px;
    }
    .feature {
        width: 100%; /* Una sola columna en tablets y móviles */
    }
    .features-carousel h3 {
        font-size: 36px;
    }
    .feature h1{
        font-size:22px;
    }
    .step {
        width: 100%; /* Una sola columna en tablets y móviles */
    }
    .testimonials-wrapper{
        padding: 40px 20px;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-section {
        text-align: center;
    }
}