/* VARIABLES GLOBALES */
:root {
    --primary-blue: #0b2341; /* Azul Oscuro Corporativo */
    --secondary-blue: #1c4b82;
    --accent-orange: #f39c12; /* Naranja Seguridad */
    --light-gray: #f8f9fa;
}

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

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* TOP BAR */
.top-bar {
    background-color: var(--primary-blue);
    color: white;
    font-size: 0.9rem;
    padding: 8px 0;
}
.top-bar a { 
    color: white; 
    text-decoration: none; 
    margin-right: 15px; 
    transition: 0.3s;
}
.top-bar a:hover { 
    color: var(--accent-orange); 
}

/* NAVBAR */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: white;
    padding: 15px 0;
}
.navbar-brand {
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 1.5rem;
}
.nav-link {
    color: var(--primary-blue) !important;
    font-weight: 500;
    margin-right: 15px;
    transition: 0.3s;
}
.nav-link:hover { 
    color: var(--accent-orange) !important; 
}

/* BOTÓN COTIZAR (NAVBAR) */
.btn-quote {
    background-color: var(--accent-orange);
    color: white;
    font-weight: 600;
    border-radius: 0;
    border: none;
    transition: 0.3s;
    padding: 10px 25px;
}
.btn-quote:hover {
    background-color: #d35400;
    color: white;
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(rgba(11, 35, 65, 0.8), rgba(11, 35, 65, 0.7)), 
                url('multimedia/hero.jpg'); /* Asegúrate de tener esta imagen */
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
    color: white;
}
.hero-title { 
    font-size: 3rem; 
    margin-bottom: 20px; 
    text-transform: uppercase;
}
.btn-hero-primary {
    background-color: var(--accent-orange);
    color: white;
    padding: 12px 30px;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    margin-right: 15px;
    margin-bottom: 10px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}
.btn-hero-primary:hover { 
    background-color: #d35400; 
    color: white; 
}
.btn-hero-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}
.btn-hero-outline:hover { 
    background-color: white; 
    color: var(--primary-blue); 
}

/* CARACTERÍSTICAS (Iconos) */
.feature-box {
    text-align: center;
    padding: 40px 20px;
    transition: transform 0.3s;
}
.feature-box:hover { 
    transform: translateY(-5px); 
}
.feature-icon {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: 20px;
}

/* CATÁLOGO DE PRODUCTOS */
.product-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
    background: white;
}
.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}
.product-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    border-bottom: 4px solid var(--accent-orange);
}
.card-title { 
    color: var(--primary-blue); 
    font-weight: 700; 
}

/* SECCIÓN SERVICIOS */
.service-card-hover {
    transition: all 0.3s ease;
    background-color: white;
    border: 1px solid #ddd;
}
.service-card-hover:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* INDUSTRIAS (Iconos circulares) */
.industry-strip { 
    background-color: var(--primary-blue); 
    color: white; 
    padding: 60px 0;
}
.industry-icon {
    font-size: 2.5rem;
    color: white;
    background-color: rgba(255,255,255,0.1);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    transition: 0.5s ease-in-out;
}
.industry-col:hover .industry-icon {
    background-color: var(--accent-orange);
    transform: rotateY(360deg);
}

/* SECCIÓN CLIENTES (Logos) */
.grayscale {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.4s;
    max-height: 80px;
    object-fit: contain;
}
.grayscale:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ESTILOS SECCIÓN NOSOTROS */
.mission-card {
    background-color: #f8f9fa;
    border-left: 5px solid var(--primary-blue);
    transition: transform 0.3s;
}
.vision-card {
    background-color: #f8f9fa;
    border-left: 5px solid var(--accent-orange);
    transition: transform 0.3s;
}
.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FOOTER */
footer { 
    background-color: #061526; 
    color: #ccc; 
    padding: 60px 0 20px; 
}
footer h5 {
    color: white;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-orange);
    display: inline-block;
    padding-bottom: 5px;
}
footer a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: 0.3s;
}
footer a:hover { 
    color: var(--accent-orange); 
    padding-left: 5px; 
}

/* BOTONES FLOTANTES */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.btn-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    text-decoration: none;
}
.btn-float:hover { 
    transform: scale(1.1); 
    color: white; 
}
.btn-whatsapp { background-color: #25D366; }
.btn-phone { background-color: var(--secondary-blue); }

/* Ajustes Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-section { height: auto; padding: 100px 0; }
    .top-bar { display: none; }
}

.hero-section {
    position: relative;
    background-color: var(--primary-blue); /* Color de respaldo mientras carga el video */
}

/* Ajuste opcional para botones en el hero si quieres que resalten más sobre el video */
.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
}

/* Sección de Galería */
.galeria-item {
    overflow: hidden; /* Asegura que la imagen no se desborde al escalar */
}

.galeria-img {
    filter: grayscale(100%); /* Color plomo inicial */
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out; /* Transición suave */
    transform: scale(1); /* Escala inicial */
}

.galeria-img:hover {
    filter: grayscale(0%); /* Color original al pasar el mouse */
    transform: scale(1.05); /* Ligeramente más grande al pasar el mouse */
}

/* Opcional: Estilo para los controles del carrusel si quieres que sean más discretos */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4); /* Un gris más suave */
    border-radius: 50%;
    padding: 1rem; /* Ajusta el tamaño del círculo */
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Más oscuro al pasar el mouse */
}