:root {
--bs-primary: #0071BC;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto';
  color: #0071BC;
  background-color: whitesmoke;
}

h1 {
  font-weight: bold;
  font-size: 2rem;
  color: #0071BC;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0071BC;
}


h4 {
  font-weight: 600;
}

p {
  font-size: medium;
  color: #454545 ;
}




/* Navbar */

.navbar {
  transition: all 0.3s ease;
  background-color: transparent !important;
  padding: 1rem;
}

/* Clase para cuando se hace scroll */
.navbar.scrolled {
  /* Fondo negro semitransparente más marcado al hacer scroll hacia arriba */
  background-color: rgba(0, 0, 0, 0.5) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.navbar-nav {
  font-size: 0.9rem;
  color: white;
}



.navbar-hidden {
  transform: translateY(-100%);
}

/* Asegurar que los enlaces sean blancos */
.navbar .nav-link {
  color: white !important;
  transition: color 0.3s ease;
}


.nav-link {
  margin-right: 1rem;
}

/* Cambiar color de los enlaces al hacer hover */
.nav-link:hover {
  color: #0071BC !important; /* Elegí el color que prefieras */
}




/*Encabezado*/

#encabezado-inicio {
  background-image: url('../img/fondos/inicio-laguna-aurorita.webp');
    margin-top: 0;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    height: 100vh;
}



#encabezado-grafica {
  background-image: url('../img/fondos/grafica-laguna-costanera.webp');
    margin-top: 0;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    height: 100vh;
}


#encabezado-tv {
  background-image: url('../img/fondos/tv-laguna-arbol-1.webp');
    margin-top: 0;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    height: 100vh;
}


#encabezado-radio {
  background-image: url('../img/fondos/radio-laguna-arbol-3.webp');
    margin-top: 0;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    height: 100vh;
}

#encabezado-web {
  background-image: url('../img/fondos/web-laguna-camalotes.webp');
    margin-top: 0;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    height: 100vh;
}



#titulo1 {

  color: white;

}


#titulo1 h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: white;
    padding-left: 1rem;
  padding-right: 1rem;
}

#titulo1 h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: white;
  padding-left: 1rem;
  padding-right: 1rem;
}









/*Servicios*/

.contenedor-servicios {
  margin-top: 2rem;
}


#icono-ojo {
  font-size: 7rem;
  color: black;
  transition: color 0.3s ease;
  /* Efecto suave */
}

#icono-laptop {
  font-size: 7rem;
  color: black;
  transition: color 0.3s ease;
  /* Efecto suave */
}

#icono-mouse {
  font-size: 7rem;
  color: black;
  transition: color 0.3s ease;
  /* Efecto suave */
}


/*Servicios hover*/

#icono-ojo:hover {
  font-size: 7rem;
  color: #0071BC;
  transition: color 0.3s ease;
  /* Efecto suave */
}

#icono-laptop:hover {
  font-size: 7rem;
  color: #0071BC;
  transition: color 0.3s ease;
  /* Efecto suave */
}

#icono-mouse:hover {
  font-size: 7rem;
  color: #0071BC;
  transition: color 0.3s ease;
  /* Efecto suave */
}





/* Trabajos - Destacado */

.contenedor-destacado {
  margin-top: 4rem;
}


.titulo-destacado {
   font-weight: bold;
  font-size: 2rem;
  color: #0071BC;
  margin-bottom: 1rem;
}




/* Efecto hover en servicios */
.trabajo-item {
  cursor: pointer;
  border-radius: 10px;
  position: relative;
  width: 100%;
  /* Eliminamos height fijo y padding */
  margin-top: 2rem;
  /* Usamos aspect-ratio para mantener proporción 16:9 */
  aspect-ratio: 16/9;
}

.trabajo-imagen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

/* Aseguramos que el overlay mantenga la misma proporción */
.trabajo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Opcional: añadir hover effect suave */
.trabajo-item:hover .trabajo-imagen {
  transform: scale(1.05);
}

.trabajo-item:hover .trabajo-overlay {
  opacity: 1;
}





/* Línea de tiempo vertical */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  margin-top: 2rem;
}

/* Línea central punteada */
.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  background-image: linear-gradient(#0071BC 33%, rgba(255,255,255,0) 0%);
  background-position: right;
  background-size: 4px 15px;
  background-repeat: repeat-y;
}

/* Contenedor de items */
.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  background-color: inherit;
}

/* Círculos en la línea */
.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  top: 15px;
  background: #0071BC;
  border: 4px solid whitesmoke;
  border-radius: 50%;
  z-index: 1;
}

/* Items a la izquierda */
.timeline-item.left {
  left: 0;
}

/* Items a la derecha */
.timeline-item.right {
  left: 50%;
}

/* Ajustar círculo para items de la derecha */
.timeline-item.right::after {
  left: -10px;
}

/* Contenido */
.timeline-content {
  padding: 1.5rem;
  background: #fff;
  border: 2px solid #0071BC;
  border-radius: 6px;
}


.timeline-content h3 {
  color: #0071BC;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.timeline-content h4 {
  color: #454545;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}



.timeline-content p {
  margin-bottom: 0.5rem;
  font-weight: 600;
}


.timeline-content ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #454545;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item.right {
    left: 0;
  }
  
  /* Unificar posición de círculos */
  .timeline-item::after,
  .timeline-item.right::after {
    left: 21px; /* Alinear con la línea vertical */
    right: auto;
    top: 15px;
  }

  /* Centrar contenido */
  .timeline-content {
    text-align: left;
  }
}


/*Contacto*/

#contacto {
  background-image: url('../img/fondos/contacto-rio.webp');
    min-height: 20;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    height: 100%;
    color: white;
    padding: 4rem;
}

#contacto h1 {
  color: white;
  margin: 2rem;
}

#contendor-contacto {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
  width: 80vh;
  height: auto;
}


/* Responsive video wrapper: mantiene aspecto 16:9 y hace que iframe/video sean fluidos */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 -> 9/16 = 0.5625 */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video,
.video-wrapper embed,
.video-wrapper object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-center {
  display: flex;
  justify-content: center;
  align-items: center;
}




/*Footer*/

footer {
  height: 150px;
  margin-top: 0;
}
