﻿/* === ESTILOS PÁGINAS INTERNAS (DETALLE) === */

/* Configuración básica del cuerpo para páginas internas */
.pagina-detalle {
    background-color: #0b0b0b;
    color: #fff;
    font-family: sans-serif; /* O la fuente que estés usando */
    margin: 0;
}

.container-limitado {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. HERO SECTION (Imagen Principal) */
.servicio-hero {
    height: 60vh; /* Ocupa el 60% de la altura de la pantalla */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.6); /* Oscurece la imagen para leer el texto */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-titulo {
    color: #fff;
    font-size: 3rem;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    border-bottom: 3px solid #84b6f4; /* Tu color azul */
    padding-bottom: 10px;
}

.hero-subtitulo {
    color: #ccc;
    font-size: 1.2rem;
    margin-top: 15px;
    letter-spacing: 2px;
}

/* 2. CONTENIDO */
.detalle-contenido {
    padding: 60px 0;
    background-color: #0b0b0b;
}

.titulo-seccion {
    color: #84b6f4;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-left: 5px solid #84b6f4;
    padding-left: 15px;
}

.texto-descripcion {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.lista-caracteristicas {
    list-style: none;
    padding: 0;
}

    .lista-caracteristicas li {
        background: #1a1a1a; /* Fondo gris oscuro de tus tarjetas */
        border-bottom: 1px solid #333;
        padding: 15px;
        color: #ccc;
        display: flex;
        align-items: center;
    }

        .lista-caracteristicas li:before {
            content: "•";
            color: #84b6f4;
            font-weight: bold;
            margin-right: 10px;
            font-size: 1.5rem;
        }

/* 3. GALERÍA */
.galeria-seccion {
    background-color: #111; /* Ligeramente diferente para separar secciones */
    padding: 60px 0;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.galeria-item {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

    .galeria-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    /* Efecto Hover en Galería */
    .galeria-item:hover {
        transform: translateY(-5px);
        border-color: #84b6f4;
    }

        .galeria-item:hover img {
            transform: scale(1.1); /* Zoom suave al pasar el mouse */
        }

/* BOTÓN VOLVER */
.navegacion-footer {
    padding: 40px 0;
    text-align: center;
    background-color: #0b0b0b;
}

.btn-volver {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid #84b6f4;
    color: #84b6f4;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .btn-volver:hover {
        background-color: #84b6f4;
        color: #000;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-titulo {
        font-size: 2rem;
    }

    .servicio-hero {
        height: 40vh;
    }
}
/* === ESTILOS PÁGINA EMPRESA === */

.subtitulo-seccion {
    color: #ccc;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Sección específica para certificados */
.seccion-certificados {
    background-color: #111; /* Un tono apenas más claro que el fondo negro */
    padding: 60px 0;
    border-top: 1px solid #333;
}

.grid-certificados {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adaptable a móviles */
    gap: 25px;
}

/* Diseño de la Tarjeta de Certificado */
.tarjeta-certificado {
    background: #1a1a1a;
    border: 1px solid #333;
    border-left: 4px solid #84b6f4; /* Borde azul a la izquierda para destacar */
    border-radius: 6px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .tarjeta-certificado:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(132, 182, 244, 0.15); /* Resplandor azul suave */
        border-color: #84b6f4;
    }

/* Icono visual (Círculo con texto o icono) */
.icono-certificado {
    width: 60px;
    height: 60px;
    background-color: #0b0b0b;
    border: 2px solid #84b6f4;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #84b6f4;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

    .icono-certificado i {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }

.info-certificado h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.info-certificado p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Ajuste responsive para textos centrados */
.text-center {
    text-align: center;
}
