﻿/* css/estilos-modernos.css */

/* 1. Variables y Estilos Globales
------------------------------------ */
:root {
    --bs-primary-rgb: 13, 110, 253; /* Azul corporativo de Bootstrap */
    --bs-secondary-rgb: 108, 117, 125; /* Gris corporativo */
    --dark-blue: #0a2540; /* Un azul más oscuro y sofisticado */
    --light-gray: #f8f9fa; /* Gris claro para fondos de sección */
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700; /* Letras más marcadas para títulos */
    color: var(--dark-blue);
}

.btn-primary {
    /* Botón de acción principal más llamativo */
    padding: 12px 28px;
    font-weight: bold;
    border-radius: 50px; /* Botones redondeados son más modernos */
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.3);
}


/* 2. Header y Navegación
------------------------------------ */
.navbar-brand img {
    height: 40px;
}

.navbar .nav-link {
    font-weight: bold;
    color: #ed4b10;
    transition: color 0.2s ease-in-out;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: #2a65c4;
}

/* 3. Hero Section (Sección Principal)
------------------------------------ */
.hero-section {
    background: linear-gradient(rgba(10, 37, 64, 0.7), rgba(10, 37, 64, 0.7)), url('/imagenes/fondo-oficina-moderna.jpg') no-repeat center center;
    background-size: cover;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    color: #fff;
    font-size: 3.5rem;
}

.hero-section p {
    color: rgba(49, 36, 111, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 4. Sección de Features / "Nosotros"
------------------------------------ */
.feature-icon-bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgb(38, 36, 48);
    color: #c0c7d0;
    font-size: 2rem;
    margin-bottom: 1rem;
}


/* 5. Tarjetas de Categorías
------------------------------------ */
.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Para que la imagen no se salga en el zoom */
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-card .card-img-top {
    height: 200px;
    object-fit: cover; /* Asegura que la imagen cubra el espacio sin deformarse */
    transition: transform 0.4s ease;
}

.category-card:hover .card-img-top {
    transform: scale(1.05);
}


/* 6. Sección de Logos de Clientes
------------------------------------ */
.client-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}


/* 7. Footer
------------------------------------ */
footer a {
    text-decoration: none;
    transition: color 0.2s ease;
}
footer a:hover {
    color: #cacfd5 !important;
    text-decoration: underline;
}