
/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    }
    /* Barra menun den navegacion */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
    /* --- Logo en la barra de navegación */
.logo img {
    height: 55px;
    width: auto;
    border-radius: 15px;
    background:transparent !important;
    padding: 8px;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: beige;
    color: #222947;
    font-size: 1.15rem; /* 🔹 Tamaño más grande */
    font-weight: 400; /* Normal */
    transition: color 0.3s, font-weight 0.3s;
}

.nav-links a:hover {
    color: #030f2b;
    font-weight: 700; /* 🔹 Negrita al pasar el cursor */
}


.contact-info li {
    margin-bottom: 12px;   /* Espaciado entre líneas (puedes aumentar a 16px si lo quieres más grande) */
    list-style: none;
}

.contact-info li a {
    color: #ffffff !important; 
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.6;      /* Aumenta la altura de línea */
}

.contact-info li a:hover {
    color: #e5e5e5 !important;
}

.contact-info li span i {
    color: #ffffff;
    font-size: 1.2rem;
    margin-right: 8px;
}


/* Hero Section */

/* ============================ */
/*  HERO FULLSCREEN CON VIDEO   */
/* ============================ */

.hero {
    position: relative;
    height: 100vh; /* Ocupa toda la pantalla */
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

/* Video cubriendo todo */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Capa oscura para mejorar lectura */
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.80);
    z-index: -1;
}

.hero-content {
      display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-text {
    max-width: 50%;
    color: #fff;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero-text p {
    font-size: 1.2rem;
    margin: 20px 0;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    color: #fff;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Services Section */
.services {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* CARRUSEL INFINITO REALES SIN SALTOS */
.brands-infinite {
    width: 80%;
    margin: 40px auto;
    overflow: hidden;
    position: relative;
}

.brands-track {
    display: flex;
    width: max-content;
    animation: slideInfinite 30s linear infinite;
}

.brands-track img {
    height: 50px;
    width: auto;
    margin-right: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brands-track img:hover {
    transform: scale(1.15);
}

/* ANIMACIÓN INFINITA */
@keyframes slideInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brands-title {
    text-align: center;
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 700;

    /* 🔥 Degradado en el texto */
    background: linear-gradient(90deg, #1e3a8a);
    -webkit-background-clip: text;
    color: transparent;

    /* 💠 Fade-in suave */
    opacity: 0;
    animation: fadeInTitle 1.2s ease forwards;
}

/* ✨ Línea decorativa */
.brands-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, #1e3a8a);
    border-radius: 2px;

    opacity: 0;
    animation: fadeInUnderline 1.6s ease forwards;
}

.brands-infinite:hover .brands-track {
    animation-play-state: paused;
}


/* Animación del fade-in */
@keyframes fadeInTitle {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de la línea después del texto */
@keyframes fadeInUnderline {
    from {
        opacity: 0;
        transform: scaleX(0.5);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}


/* Contact Section */
.contact {
    padding: 4rem 0;
    background: linear-gradient(280deg, #0a3d62, #0652DD);
    color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}


/* Footer */
footer {
    background: #0a3d62;
    color: #9ca3af;
    text-align: center;
    padding-top: 3px;
    font-size: 0.9rem;
}


.contact-section {
    background: linear-gradient(280deg, #0a3d62, #0652DD);
    padding: 60px 20px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.contact-column h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-left: 4px solid 0a3d62;
    padding-left: 10px;
    font-weight: 600;
}

/* Boton de contactanos */

/* --- BOTÓN --- */
.btn-contacto {
    background: #d6433f;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: .3s;
}

.btn-contacto:hover {
    background: #b93733;
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    top:  0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 9999;
    animation: fadeIn .3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 35px;
    width: 100%;
    max-width: 750px;
    color: #fff;
    position: relative;
    animation: slideUp .35s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 32px;
    cursor: pointer;
    color: white;
    transition: .3s;
}

.modal-close:hover {
    color: #ff6b6b;
}

/* --- FORMULARIO --- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.4);
    background: transparent;
    color: white;
    outline: none;
}

.form-group label {
    
    position: absolute;
    left: 14px;
    top: 14px;
    font-size: 14px;
    opacity: .8;
    transition: .3s;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -20px;
    left: 10px;
    font-size: 12px;
    background: rgba(0,0,0,0.3);
    padding: 0 5px;
    border-radius: 4px;
}

.form-full { grid-column: span 2; }

.form-check {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-submit {
    width: 70%;
    padding: 14px;
    background: #d6433f;
    border: none;
    color: white;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
}

.btn-submit:hover {
    background: #b93733;
}


/* Redes sociales */
.social-list,
.info-list {
    list-style: none;

}

.social-list li,
.info-list li {
    margin-bottom: 12px;
    font-size: 1rem;
}

.social-list li a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.social-list li a:hover {
    color: #00eaff;
    transform: translateX(5px);
}



/* boton de Whatsapp */
.btn-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde oficial de WhatsApp */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 32px;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

 
/* Ajuste responsive */
@media (max-width: 900px) {
    .hero-text, .hero-visual {
        max-width: 100%;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: flex;
        gap: 1rem;
        font-size: 0.95rem;
    }
}


/* ========================= */
/*   VISTA ACCESORIOS        */
/* ========================= */

.section-title {
    margin-top: 60px;
}

.accesorio-card .disponible {
    color: #166534;
    font-weight: 600;
}

.accesorio-card .agotado {
    color: #991b1b;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}    

.service-card {
  background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* imagenes */
.service-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Texto */
.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.5rem;
}

/* Precio destacado */
.service-card strong {
    font-size: 1.2rem;
    color: #0a3cff;
    margin: 0.5rem 0;
}

/* Estado */
.service-card .estado {
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.estado.disponible {
    color: #1a7f37;
}

.estado.agotado {
    color: #c62828;
}

/* Boton */

.btn-contacto {
    margin-top: auto;
    background: #e53935;
    color: #fff;
    text-align: center;
    padding: 0.7rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-contacto:hover {
    background: #c62828;
}

/*paginador*/

.paginador {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 60px;
}

.paginador a {
    width: 120px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #1f2937;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.paginador a:hover {
    background: #2563eb;
    color: #fff;
}

.paginador a.activo {
    background: #1e3a8a;
    color: #fff;
}
