/*
  Diseño exclusivo realizado por Design Lila para ICOPORTEC S.A.S.
  Este archivo de estilos está protegido por derechos de autor.
  Prohibida su reproducción, distribución o uso sin autorización.
  © 2025 Todos los derechos reservados.
*/

/* === FONDO GENERAL EN TODA LA PÁGINA === */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("images/fondo.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: blur(0px);
  z-index: -2;
}

/* CAPA AZUL SUAVE ENCIMA DEL FONDO */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 18, 62, 0.318);
  z-index: -1;
}

/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

/* NAVBAR */
header.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  padding: 10px 30px;
}

.navbar .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.navbar .nav-link:hover {
  color: #ffc107;
}

/* HERO VIDEO */
.hero-video {
  position: relative;
  height: 65vh;
  overflow: hidden;
}

.hero-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.blur-box {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  gap: 5px;
  text-align: center;
}

.blur-box img {
  max-height: 220px;
  margin-top: 80px;
  margin-bottom: 1px;
}

.blur-box p {
  font-size: 1rem;
  color: #00123e;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(255,255,255,0.4);
}

/* QUIÉNES SOMOS */
.quienes-section {
  position: relative;
  padding: 80px 20px;
  background-color: transparent;
  overflow: hidden;
}

.quienes-section .container {
  position: relative;
  z-index: 1;
}

.quienes-section::before {
  content: "";
  position: absolute;
  top: 62%;
  left: 50%;
  width: 800px;
  height: 800px;
  background-image: url("images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.1;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #00123e;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.quienes-text {
  max-width: 900px;
  margin: 0 auto 25px auto;
  text-align: justify;
  font-size: 1.05rem;
  color: #000;
  line-height: 1.7;
}

/* MISIÓN Y VISIÓN */
.mision-vision-section {
  padding: 80px 20px;
  background-color: transparent;
}

.glass-box {
  background-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.glass-box:hover {
  transform: translateY(-4px);
}

.subsection-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #00123e;
  text-transform: uppercase;
}

.justified-text {
  text-align: justify;
  font-size: 1.05rem;
  color: #00123e;
  line-height: 1.7;
}

/* SERVICIOS */
.servicios-section {
  padding: 80px 20px;
  background-color: rgba(255, 255, 255, 0.85);
}

.service-card {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.service-card:hover {
  transform: translateY(-5px);
}

.placeholder-img {
  height: 180px;
  width: 100%;
  background-color: #d9d9d9;
  border-radius: 12px;
}

.servicio-list {
  padding-left: 1.2rem;
}

.servicio-list li {
  margin-bottom: 10px;
  color: #00123e;
}

/* CONTACTO */
.contact-section {
  padding: 80px 20px;
  background-color: transparent;
}

.contact-section * {
  color: #000 !important;
}

.contact-section i {
  color: #00123e !important;
}

.contact-info p {
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-card {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
}

.contact-card i {
  transition: color 0.3s ease;
}

.contact-section h5 {
  font-weight: 600;
}

/* CTA BANNER */
.cta-banner {
  background: transparent !important;
  color: #000;
  padding: 12px 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.003);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.cta-banner h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  line-height: 1.2;
}

.cta-banner i {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.cta-banner p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* BOTÓN FLOTANTE */
.btn-scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #00123e;
  color: white;
  border-radius: 50%;
  padding: 12px 15px;
  font-size: 1.2rem;
  z-index: 1000;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.btn-scroll-top:hover {
  background-color: #011e5a;
}

/* ESPACIO PARA SECCIONES ANCLADAS */
section {
  scroll-margin-top: 80px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .blur-box {
    width: 100%;
    height: auto;
    position: relative;
    padding: 30px 20px;
  }

  .blur-box img {
    max-height: 140px;
  }

  .navbar-nav .nav-link {
    text-align: center;
    padding: 10px 0;
    color: #00123e;
  }

  .navbar {
    background-color: rgba(255, 255, 255, 0.8);
  }

  .quienes-section::before {
    width: 250px;
    height: 250px;
    top: 70%;
    opacity: 0.05;
  }
}

/* SECCIÓN PRODUCTOS */
.productos-section {
  padding: 80px 20px;
  background-color: transparent;
}

.producto-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  cursor: pointer;
  height: 280px;
}

.producto-card:hover {
  transform: scale(1.03);
}

.producto-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: filter 0.3s ease;
}

.producto-card:hover img {
  filter: brightness(0.4);
}

.producto-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 18, 62, 0.8), transparent);
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.producto-card:hover .producto-info {
  opacity: 1;
  transform: translateY(0);
}

.producto-info h5 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.producto-info p {
  font-size: 0.9rem;
}

.productos-section {
  padding: 80px 20px;
  background-color: transparent;
}

.producto-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
  cursor: pointer;
  height: 250px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.producto-card:hover {
  transform: scale(1.03);
}

.producto-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.producto-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  text-align: center;
  transition: all 0.3s ease;
}

.producto-overlay h5 {
  font-size: 1rem;
  font-weight: bold;
  color: #00123e;
  margin-bottom: 8px;
}

.producto-overlay p {
  font-size: 0.85rem;
  color: #333;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, height 0.4s ease;
}

.producto-card:hover .producto-overlay p {
  opacity: 1;
  height: auto;
  margin-top: 6px;
}
.clientes-section {
  padding: 80px 20px;
  background-color: rgba(255, 255, 255, 0.85);
}

.cliente-logo-box {
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 100%;
}

.cliente-logo-box img {
  max-width: 100%;
  max-height: 70px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.cliente-logo-box:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.cliente-logo-box p {
  font-size: 0.9rem;
  color: #00123e;
  font-weight: 600;
  margin: 0;
}

.footer {
  background-color: transparent;
  color: #00123e;
  font-size: 0.9rem;
  text-align: center;
  padding: 20px 0;
}
