/* ================= GLOBAL ================= */ 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #0f0f0f;
    color: #fff;
}

/* ================= NAVBAR ================= */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10%;
}

.logo {
    height: 70px;
}

.nav-center a {
    margin: 0 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.nav-center a:hover {
    color: #25D366;
}

/* EFECTO SUBRAYADO */
.nav-center a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #25D366;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav-center a:hover::after {
    width: 100%;
}

/* BOTÓN PRINCIPAL */
.btn-primary {
    background: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #25D366;
}

/* ================= HERO SLIDER ================= */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    top: 0;
    left: 0;
}

.hero-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: 1s;
}

.hero-slider img.active {
    opacity: 1;
}

/* TEXTO HERO */
.hero-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.hero-text p {
    margin: 15px 0;
    font-size: 1.3rem;
    color: #ccc;
}

.btn-hero {
    background: #25D366;
    padding: 14px 30px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-hero:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #25D366;
}

/* ================= SECCIONES ================= */
section {
    padding: 80px 10%;
}

/* ================= PRODUCTOS ================= */
.productos-titulo {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.productos-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.producto-card {
    background: #1a1a1a;
    width: 280px;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid transparent;
    overflow: hidden; /* 👈 importante para el zoom */
}

.producto-card:hover {
    transform: translateY(-10px) scale(1.05);
    border: 1px solid #25D366;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.3);
}

.producto-card img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.4s ease; /* 👈 animación */
}

/* 👇 EFECTO HOVER EN IMAGEN */
.producto-card:hover img {
    transform: scale(1.08);
}

.btn-producto {
    margin-top: 10px;
    display: inline-block;
    background: #25D366;
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.btn-producto:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #25D366;
}

/* ================= CARRUSEL ================= */
.carousel-container {
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto; /* 👈 CENTRADO */
}

.carousel-track {
    display: flex;
    justify-content: center; /* 👈 evita que se vaya a la izquierda */
    transition: 0.5s;
}

.carousel-item {
    min-width: 33.33%;
    padding: 10px;
    text-align: center;
}

.carousel-item img {
    width: 100%;
    border-radius: 10px;
    transition: 0.3s;
}

.carousel-item:hover img {
    transform: scale(1.1);
}

.btn-cart {
    background: black;
    color: white;
    padding: 6px 10px;
    border: none;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cart:hover {
    background: #25D366;
}

/* BOTONES CARRUSEL */
.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: black;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.prev { left: 0; }
.next { right: 0; }

/* ================= FORMULARIO ================= */
.contact-form {
    background: linear-gradient(145deg, #111, #1a1a1a);
    border-radius: 20px;
    padding: 60px 20px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.contact-form h2 {
    font-size: 2.3rem;
    margin-bottom: 10px;
    color: #25D366;
}

.contact-form p {
    margin-bottom: 30px;
    color: #aaa;
}

.contact-form form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #333;
    background: #0f0f0f;
    color: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #25D366;
    outline: none;
}

.contact-form button {
    background: #25D366;
    border: none;
    padding: 12px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
}

/* ================= QUIÉNES SOMOS ================= */
.about {
    text-align: center;
    padding: 100px 10%;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    max-width: 600px;
    margin: auto;
    color: #ccc;
    margin-bottom: 40px;
}

/* VIDEO */
.video-container {
    max-width: 900px;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.video-container iframe {
    width: 100%;
    height: 450px;
}

/* ================= BOTONES ================= */
.cart-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: black;
    color: white;
    padding: 15px;
    border-radius: 50%;
    transition: 0.3s;
}

.cart-floating:hover {
    background: #25D366;
    transform: scale(1.1);
}

.whatsapp-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 15px;
    border-radius: 50%;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #25D366;
}

/* ================= GRACIAS ================= */
.gracias {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .hero-text h1 {
        font-size: 2rem;
    }

    .productos-container {
        flex-direction: column;
        align-items: center;
    }

    .detalle-container {
        flex-direction: column;
        text-align: center;
    }

}