/* ==========================================
   TEMA CLARO (FONDO GRIS / TEXTO OSCURO)
   ========================================== */

body {
    background-color: #f4f5f7 !important;
    color: #1a1a1a !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Forzar encabezados a texto oscuro */
h1, h2, h3, h4, h5, h6, 
.text-white, .display-3, .display-6 {
    color: #111111 !important;
}

/* Textos secundarios */
p, .text-secondary-custom, .card-text {
    color: #4a5568 !important;
}

/* Sobrescribir fondos oscuros de Bootstrap */
.bg-black, .bg-dark, .card-tech {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

/* Adaptación de tarjetas */
.card-tech {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-tech:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

/* Botones y acentos */
.btn-glow {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: none !important;
}

.btn-glow:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}

.btn-outline-light {
    color: #1a1a1a !important;
    border-color: #1a1a1a !important;
}

.btn-outline-light:hover {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

/* Formulario de contacto */
.form-control.bg-dark {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    border: 1px solid #cbd5e1 !important;
}

.form-control.bg-dark:focus {
    border-color: #1a1a1a !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1) !important;
}

/* Overlay del Carrusel Banner para asegurar legibilidad */
.hero-carousel-overlay {
    background: rgba(219, 219, 219, 0.7) !important;
}