/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 22 may 2025, 19:32:59
    Author     : Avril
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(135deg, #e8d9f4, #d5fff7);
}



.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #773bf0;
}

.navbar .logo {
  font-weight: bold;
  font-size: 1.5em;
  color: white;
}

.navbar nav a {
  margin-left: 20px;
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

.navbar nav a:hover {
  color: #6eecd1;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 340px;
  padding: 0 20px;
  margin-top: 0;
  background: linear-gradient(270deg, #6eecd1, #773bf0); /* Fijo también */
  color: white;
}

.hero h1 {
  margin: 0;
  padding: 0;
  font-size: 0;
}

.hero-logo {
  height: 250px;
  display: block;
  margin-bottom: 10px;
  margin-top: -30px;
}

.hero p {
  font-size: 1.5em;
  color: white;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 40px 20px;
}

.box {
  padding: 30px;
  border-radius: 20px;
  min-height: 200px;
  color: #fff;
}

.experiencia {
  background-color: #6eecd1;
  color: #000;
}

.eficiencia {
  background-color: #773bf0;
}

.dedicacion {
  background-color: #6eecd1;
  color: black;
}

.icono {
  background-color: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3em;
}

button {
  margin-top: 15px;
  padding: 12px 24px;
  font-size: 1em;
  background: linear-gradient(90deg, #6eecd1, #773bf0);
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

button:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #773bf0, #6eecd1);
}

a {
  color: #773bf0;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: white;
  margin-top: 40px;
  font-size: 0.9em;
}

/* QUIÉNES SOMOS */
.about-company-details.alternated-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 60px;
  background-color: transparent; /* Fondo limpio para que se vea el contenedor blanco del video */
  margin: 0 auto;
  max-width: 1300px;
}


.company-detail-box {
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease-out, box-shadow 0.3s ease-out;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.company-detail-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.company-detail-box .image-container {
  flex-shrink: 0;
  width: 40%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.company-detail-box .image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 15px;
  padding: 10px;
}

.company-detail-box .text-content {
  flex-grow: 1;
  padding: 0 30px;
}

.company-detail-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.company-detail-box p,
.company-detail-box ul {
  font-size: 1.1em;
  line-height: 1.7;
}

.company-detail-box ul {
  list-style: none;
  padding-left: 0;
}

.company-detail-box ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.company-detail-box ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: inherit;
  font-weight: bold;
}

/* Colores específicos */
.company-detail-box.mission {
  background-color: #773bf0;
  color: white;
}

.company-detail-box.vision {
  background-color: #6eecd1;
  color: #000;
}

.company-detail-box.who-we-are {
  background-color: #f1a896;
  color: white;
}

.company-detail-box.values {
  background-color: #773bf0;
  color: white;
}

.about-company-details .company-detail-box.mission {
  margin-left: auto;
  width: 85%;
}

.about-company-details .company-detail-box.vision {
  flex-direction: row-reverse;
  margin-right: auto;
  width: 85%;
}

.about-company-details .company-detail-box.who-we-are {
  margin-left: auto;
  width: 85%;
}

.about-company-details .company-detail-box.values {
  flex-direction: row-reverse;
  margin-right: auto;
  width: 85%;
}

/* VIDEO */
.video-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto; /* Centra horizontalmente */
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: auto; 
  object-fit: cover;
  display: block;
  border-radius: 12px; /* opcional: bordes redondeados */
}


.video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-section {
  position: relative;
  overflow: hidden;
  height: 400px; /* Puedes ajustar este tamaño */
}

.animated-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.7;
  animation: moveBlobs 15s ease-in-out infinite alternate,
             changeColor 8s ease-in-out infinite;
  mix-blend-mode: screen;
}

.blob1 {
  background: #773bf0; /* morado */
  top: 10%;
  left: 15%;
}

.blob2 {
  background: #6eeccd; /* aqua */
  top: 30%;
  left: 55%;
}

.blob3 {
  background: #ff6fcf; /* rosa */
  top: 60%;
  left: 25%;
}

.video-container {
  position: relative;
  z-index: 1;
}

/* Animaciones */
@keyframes moveBlobs {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 50% 50% 50% 50%;
  }
  50% {
    transform: translate(30px, -20px) scale(1.2);
    border-radius: 60% 40% 50% 70%;
  }
  100% {
    transform: translate(-20px, 30px) scale(1.1);
    border-radius: 50% 60% 40% 50%;
  }
}

@keyframes changeColor {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}


/* RESPONSIVE */
@media (max-width: 800px) {
  .video-container {
    height: 200px; /* altura menor para móviles */
  }

  .video-text-content h2 {
    font-size: 2.2em;
  }

  .video-text-content p {
    font-size: 1em;
  }



  .company-detail-box {
    flex-direction: column;
    text-align: center;
  }

  .company-detail-box .image-container {
    width: 80%;
    margin-bottom: 20px;
  }

  .about-company-details {
    padding: 30px 20px;
  }
}

.titulo-animado {
  text-align: center;
  font-size: 4em; /* Tamaño grande */
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #773bf0;
  animation: aparecerTexto 2s ease-in-out forwards;
  opacity: 0; /* Empieza invisible */
  transform: translateY(20px); /* Efecto de subida */
}

/* Animación de entrada */
@keyframes aparecerTexto {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.about-company-details p {
  text-align: justify;
  padding: 30px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.texto-animado {
  opacity: 0;
  animation: fadeInUp 1.5s ease-out 0.5s forwards;
}

/* Animación */
@keyframes fadeInUpTarjeta {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Aplicar animación */
.features .box.animada {
  opacity: 0;
  animation: fadeInUpTarjeta 1.2s ease forwards;
}

/* Animación secuencial usando delay */
.features .box.animada:nth-child(1) {
  animation-delay: 0.3s;
}
.features .box.animada:nth-child(2) {
  animation-delay: 0.6s;
}
.features .box.animada:nth-child(3) {
  animation-delay: 0.9s;
}
.features .box:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease-in-out;
}


@keyframes reboteSuave {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1.03);
  }
}

.animada {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animada.visible {
  opacity: 1;
  transform: translateY(0);
}
/* BLOBS ANIMADOS PARA LA SECCIÓN SOBRE NOSOTROS */
.animated-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.about-company-details {
  position: relative; /* Necesario para que los blobs se posicionen dentro */
  z-index: 1;
}

.blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: moveBlob 15s ease-in-out infinite alternate,
             colorShift 10s ease-in-out infinite;
  mix-blend-mode: screen;
}

.blob1 {
  background: #773bf0; /* morado */
  top: 10%;
  left: 15%;
}

.blob2 {
  background: #6eeccd; /* aqua */
  top: 30%;
  left: 85%;
}

.blob3 {
  background: #ff6fcf; /* rosa */
  top: 60%;
  left: 10%;
}

@keyframes moveBlob {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 50% 40% ;
  }
  50% {
    transform: translate(40px, -30px) scale(1.2);
    border-radius: 60% 40% 55% 70%;
  }
  100% {
    transform: translate(-30px, 20px) scale(1.1);
    border-radius: 50% 60% 40% 50%;
  }
}

@keyframes colorShift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}
