/* Estilos personalizados para Tu Menú Digital - Estilo Netcun V3 */

:root {
    --primary-blue: #0a2540;
    --accent-orange: #ff6600;
    --background-section-dark: #073b4c; /* Azul petróleo oscuro */
    --background-section-light: #fff3e0; /* Naranja muy claro */
    --background-light: #ffe8ba; /* Un blanco hueso muy sutil */
    --white: #ffffff;
    --text-color: #333;
    --text-muted: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-light);
}

/* --- Navbar --- */
.navbar-logo {
    height: 35px;
    width: auto;
}
.navbar {
    transition: background-color 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(10, 37, 64, 0.85), rgba(10, 37, 64, 0.85)), url('https://images.pexels.com/photos/3184192/pexels-photo-3184192.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax */
    padding: 140px 0;
}

.hero h1 .text-highlight,
#testimonials .text-highlight {
    color: var(--accent-orange);
}

/* --- Botones --- */
.btn {
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
    background-color: #e65c00;
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-4px);
}

/* Animación de pulso para botones importantes */
.pulse-button {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 25px rgba(255, 102, 0, 0.5); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3); }
}

/* --- Secciones con Fondos de Color --- */
#how-it-works {
    background-color: var(--background-section-dark);
    color: var(--white);
}
#features { background-color: var(--white); }
#demo { background-color: var(--background-section-light); }
#testimonials { background-color: var(--background-light); }


/* --- Sección "Cómo funciona" (ACTUALIZADA) --- */
/* Estilos para los elementos dentro de la sección oscura */
#how-it-works h2, #how-it-works h5 {
    color: var(--white);
}
#how-it-works p {
    color: rgba(255, 255, 255, 0.8);
}
#how-it-works .step-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
#how-it-works .step-number {
    border: 4px solid var(--background-section-dark);
}


.step-card {
    background-color: var(--white);
    border-radius: 15px; /* Borde redondeado leve */
    box-shadow: 0 5px 25px rgba(0,0,0,0.07); /* Sombra leve */
    padding: 2.5rem 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-orange), #ff8c00);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    border: 4px solid var(--background-light);
}

/* --- Sección Ventajas --- */
.feature-card {
    border: none;
    border-radius: 15px;
    background-color: var(--white);
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.text-primary { color: var(--accent-orange) !important; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* --- Sección Demo (NUEVO DISEÑO) --- */
#demo {
    background-color: var(--background-section-light);
}

.demo-text-content {
    /* Animation */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.demo-image {
    border-radius: 20px !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.demo-image:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}


/* --- Sección Testimonios (CARRUSEL) --- */
.testimonial-swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 50px; /* Espacio para la paginación */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px; /* Evita que las tarjetas toquen los bordes en pantallas pequeñas */
}

.testimonial-card-v2 {
    width: 100%;
    max-width: 900px;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}
.testimonial-text-content {
    position: relative;
}
.testimonial-quote {
    font-size: 5rem;
    color: var(--accent-orange);
    opacity: 0.1;
    position: absolute;
    top: -2.5rem;
    left: -1.5rem;
    z-index: 1;
}
.blockquote {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}
.author-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Estilos para la paginación de Swiper */
.swiper-pagination-bullet {
    background-color: #ccc;
    opacity: 1;
    width: 10px;
    height: 10px;
    transition: background-color 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--accent-orange);
}


/* --- Sección Contacto --- */
#contact {
    background: var(--primary-blue);
    background-image: linear-gradient(135deg, var(--primary-blue) 0%, #1c4973 100%);
}

/* --- Pie de página --- */
footer {
    background-color: var(--white);
    border-top: 1px solid #e9ecef;
}

/* --- Responsividad --- */
@media (max-width: 991px) {
    .author-img {
        width: 120px;
        height: 120px;
    }
    .testimonial-card-v2 {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
        background-attachment: scroll;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .demo-text-content {
        text-align: center;
    }
    .testimonial-card-v2 .row > div {
        text-align: center !important;
    }
    .blockquote {
        text-align: center;
    }
    .testimonial-quote {
        top: -1rem;
        left: 0;
    }
    .author-img {
        margin-top: 1rem;
    }
}

