/* ============================================================
   SOFTWARE_TRES.CSS - DMCS E-SERVICES (CARRUSEL DE 3 FOTOS)
   ============================================================ */

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    background-color: #000;
    /* Capa aclarada a 0.45 para que resalten la luz y los detalles de la imagen */
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('../img/softwarebody.jpeg');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    /* Filtro para potenciar el contraste y la nitidez visual */
    backdrop-filter: contrast(110%);
}

header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/fondo.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid #0AEFFF;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.logo { 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    border: 1px solid #0AEFFF; 
    object-fit: cover; 
}

.header-text { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 6px; 
}

.brand { 
    color: #0AEFFF; 
    font-weight: 800; 
    text-transform: uppercase; 
    font-size: 1rem; 
}

.nav-volver {
    color: #0AEFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.75rem;
    border: 1px solid #0AEFFF;
    padding: 3px 12px;
    border-radius: 4px;
    transition: 0.3s;
    background: rgba(10, 239, 255, 0.1);
}

.nav-volver:hover { 
    background: #0AEFFF; 
    color: #000; 
}

.main-container { 
    padding: 40px 20px; 
    display: flex; 
    justify-content: center; 
}

.content-card { 
    /* Mayor solidez interna para garantizar legibilidad impecable sobre el fondo claro */
    background: rgba(10, 10, 10, 0.93); 
    border: 1px solid rgba(10, 239, 255, 0.4); 
    border-radius: 20px; 
    padding: 30px; 
    max-width: 500px; 
    width: 100%; 
    backdrop-filter: blur(12px); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel { 
    width: 100%; 
    height: 200px; 
    overflow: hidden; 
    border-radius: 12px; 
    margin-bottom: 20px; 
    border: 1px solid rgba(10, 239, 255, 0.2); 
}

.slides { 
    display: flex; 
    width: 300%; 
    height: 100%; 
    animation: slideSoftware 12s infinite ease-in-out; 
}

.slide { 
    width: 33.333%; 
    height: 100%; 
    object-fit: cover; 
}

@keyframes slideSoftware { 
    0%, 25% { transform: translateX(0); } 
    33%, 58% { transform: translateX(-33.333%); } 
    66%, 91% { transform: translateX(-66.666%); } 
    100% { transform: translateX(0); } 
}

h1 { 
    color: #0AEFFF; 
    font-size: 1.8rem; 
    margin-bottom: 15px; 
    text-align: center; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

p { 
    margin-bottom: 30px; 
    text-align: center; 
    color: #ffffff; 
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

.btn-consulta { 
    display: block; 
    background: #0AEFFF; 
    color: #000; 
    text-align: center; 
    padding: 15px; 
    border-radius: 10px; 
    text-decoration: none; 
    font-weight: 800; 
    transition: 0.3s; 
}

.btn-consulta:hover { 
    background: #02b3cc; 
}

