/* --- ESTILOS GENERALES Y RESET --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif; /* Te recomiendo usar una fuente de Google Fonts */
}

/* --- BARRA DE NAVEGACIÓN --- */
.navbar {
    background: rgba(0, 0, 0, 0.2); /* Fondo semi-transparente */
    backdrop-filter: blur(5px); /* Efecto de desenfoque */
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: fixed; /* O fixed para que quede siempre visible */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: background 0.3s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    padding: 0 50px;
}

.navbar-logo {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
    
}
.navbar-logo img{
    width:30%;
    height:auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease-out;
}

.nav-link:hover {
    border-bottom: 2px solid #00d9ff; /* Un color de acento */
}


/* --- SECCIÓN DEL HÉROE --- */
.hero-section {
    height: 100vh; /* Ocupa el 100% de la altura de la pantalla */
    width: 100%;
    position: relative; /* Clave para superponer elementos */
    color: #fff;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Detrás del texto */
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Aquí asignas tus imágenes a cada slide */
.slide-1 { background-image: url('../img/1.png'); }
.slide-2 { background-image: url('../img/2.png'); }
.slide-3 { background-image: url('../img/3.png'); }

/* --- CAPA SUPERPUESTA DE CONTENIDO --- */
.hero-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Oscurece la imagen para que el texto se lea */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2; /* Por encima del carrusel */
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* --- BOTONES --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #00d9ff; /* Color de acento */
    color: #1a1a1a;
}

.btn-primary:hover {
    background-color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1a1a1a;
}


/* --- ESTILOS DEL SWIPER (Flechas y Puntos) --- */
.swiper-button-next, .swiper-button-prev {
    color: #fff; /* Color de las flechas */
}
.swiper-pagination-bullet-active {
    background: #00d9ff; /* Color del punto activo */
}

/* ======================= ESTILOS DE LA SECCIÓN DE SERVICIOS ======================= */
.services-section {
    padding: 80px 20px;
    background-color: #f9f9f9; /* Un gris muy claro para contrastar con el blanco */
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #333;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px auto; /* Centra el subtítulo */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Mágico para la responsividad */
    gap: 30px; /* Espacio entre las tarjetas */
}

.service-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px); /* Efecto de "levantarse" al pasar el mouse */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3.5rem;
    color: #00d9ff; /* Mismo color de acento que usamos en el héroe */
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.card-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.card-link {
    font-size: 1rem;
    color: #007bff; /* Un azul estándar para links o puedes usar tu color de acento */
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.card-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.card-link:hover {
    color: #0056b3;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* ======================= ESTILOS PÁGINA DE DETALLE DE PRODUCTO ======================= */

/* --- Hero del Producto --- */
.product-hero {
    background-color: #f9f9f9;
    padding: 120px 20px 60px 20px; /* Más padding arriba por el navbar fijo */
    text-align: center;
}

.product-title {
    font-size: 3.2rem;
    color: #333;
}

.product-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 750px;
    margin: 15px auto 40px auto;
}

.product-hero-image {
    max-width: 100%;
    width: 900px; /* Ancho máximo de la imagen */
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* --- Sección de Características --- */
.features-section {
    padding: 80px 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

/* Estilo para invertir el orden de imagen y texto */
.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1; /* Ocupa el espacio disponible */
}

.feature-text h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.feature-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

/* --- Sección de Llamada a la Acción (CTA) --- */
.cta-section {
    background-color: #333; /* Un fondo oscuro para destacar */
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- Responsividad para la página de detalle --- */
@media (max-width: 768px) {
    .feature-item, .feature-item.reverse {
        flex-direction: column; /* Apila imagen y texto en móviles */
        gap: 30px;
        text-align: center;
    }
    
    .product-title { font-size: 2.5rem; }
    .product-subtitle { font-size: 1.1rem; }
    .feature-text h3 { font-size: 1.8rem; }
}

/* ======================= ESTILOS SECCIÓN SOBRE NOSOTROS ======================= */
.about-section {
    padding: 80px 20px;
    background-color: #fff; /* Fondo blanco para un look limpio */
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex-basis: 40%; /* La imagen ocupa el 40% del ancho */
    max-width: 450px;
}

.about-image img {
    width: 100%;
    border-radius: 15px; /* Bordes redondeados para un look más suave */
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-content {
    flex-basis: 60%; /* El texto ocupa el 60% */
}

.eyebrow-text {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    color: #007bff; /* O tu color de acento */
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title-left {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 25px;
    text-align: left; /* Título alineado a la izquierda */
}

.about-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-highlights {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-icon {
    font-size: 2.5rem;
    color: #00d9ff; /* Color de acento */
}

.highlight-item p {
    font-size: 1rem;
    color: #333;
}


/* --- Responsividad para la sección Sobre Nosotros --- */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column; /* Apila imagen y texto */
        text-align: center;
    }

    .section-title-left {
        text-align: center;
    }
    
    .about-highlights {
        justify-content: center; /* Centra los highlights en móvil */
    }
}

@media (max-width: 480px) {
    .about-highlights {
        flex-direction: column; /* Apila los highlights en pantallas muy pequeñas */
        align-items: center;
    }
}

/* ======================= ESTILOS SECCIÓN DE CONTACTO ======================= */
.contact-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    background-color: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-top: 50px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1rem;
}

.info-list i {
    font-size: 1.5rem;
    color: #00d9ff;
    margin-right: 15px;
}

.info-list a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.info-list a:hover {
    color: #007bff;
}

.contact-socials {
    margin-top: 30px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #333;
    font-size: 1.5rem;
    text-decoration: none;
    margin-right: 10px;
    transition: background-color 0.3s, color 0.3s;
}

.social-icon:hover {
    background-color: #00d9ff;
    color: #fff;
}

/* Formulario */
.form-group {
    margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-button {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* Responsividad Contacto */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
        padding: 30px;
    }
}

/* ======================= ESTILOS DEL FOOTER ======================= */
.footer {
    background-color: #222;
    color: #ccc;
    padding: 60px 20px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col .footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #00d9ff;
    height: 2px;
    width: 50px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a, .footer-col ul li span {
    font-size: 1rem;
    color: #ccc;
    text-decoration: none;
    display: block;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 8px;
}

.footer-socials {
    display: flex;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid #444;
}

/* --- RESPONSIVIDAD PARA MÓVILES --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 1rem;
        display: block;
        margin: 10px auto;
        width: 80%;
    }
    .nav-menu {
        /* Aquí podrías implementar un menú hamburguesa */
        display: none;
    }
}