
:root {
  --primary: #00b4e8;
  --secondary: #01566b;
  --tertiary: #26d0f4;
  --fourth: #4b4a4a;
  --btn-color: #00b4e8;
  --title: #1a1919;
  --text: #141414;
  --btn-hover-color: #0e98be;
  --btn-border-color: #045a72;
}

body{
  overflow-x: hidden;
}

/* Estilos para el scrollbar */
::-webkit-scrollbar {
  width: 8px; /* Ancho de la barra de desplazamiento */
}

/* Handle del scrollbar */
::-webkit-scrollbar-thumb {
  background: var(--btn-hover-color); /* Color del handle */
  border-radius: 6px; /* Bordes redondeados */
}


.scroolbarSubBlock::-webkit-scrollbar {
  width: 6px; /* Ancho de la barra de desplazamiento */

}

.scroolbarSubBlock::-webkit-scrollbar-thumb {
  background: var(--btn-hover-color);/* Nuevo color del handle */
  border-radius: 8px; /* Bordes redondeados */
}

.scroolbarSubBlock::-webkit-scrollbar-track {
  background: var(--btn-color); /* Color de fondo de la barra de desplazamiento */
  border-radius: 8px; /* Bordes redondeados */

}

/* ***************************************************************************************************************** */

/* estilo de gallery masonry */

/* --- El Mosaico Arquitectónico --- */
.my-masonry-grid {
  display: flex;
  margin-left: -1.5rem; /* Ajustado para un diseño más limpio */
  width: auto;
  padding: 1rem;
}

.my-masonry-grid_column {
  padding-left: 1.5rem;
  background-clip: padding-box;
}

/* --- Cada Celda de la Galería --- */
.my-masonry-grid_column > div {
  background: #111; /* Fondo oscuro para que no haya flash blanco al cargar */
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 4px; /* Bordes rectos para un look más industrial y serio */
  cursor: zoom-in;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Efecto de Elevación y Capas --- */
.my-masonry-grid_column > div:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

/* --- Máscara de Precisión (Hover) --- */
.my-masonry-grid_column > div::before {
  content: "";
  position: absolute;
  inset: 15px; /* Crea un marco interno */
  border: 1px solid rgba(255, 255, 255, 0.5);
  opacity: 0;
  z-index: 2;
  transition: all 0.4s ease;
  pointer-events: none;
}

.my-masonry-grid_column > div:hover::before {
  opacity: 1;
  inset: 25px; /* El marco se encoge ligeramente al entrar */
}

/* --- Tratamiento de la Imagen --- */
.my-masonry-grid_column > div img {
  filter: grayscale(40%) brightness(0.9); /* Look cinematográfico inicial */
  transition: all 0.8s ease;
  display: block;
}

.my-masonry-grid_column > div:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.1);
}

/* --- Badge de "Project Details" --- */
.my-masonry-grid_column > div::after {
  content: "VIEW PROJECT";
  position: absolute;
  bottom: 40px;
  left: 40px;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: white;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease 0.1s;
  z-index: 3;
}

.my-masonry-grid_column > div:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.content-render-text a{
  color: var(--primary);
  font-size: 18px !important;
  font-weight: bold !important;
}

.content-render-text a:hover{
  color: var(--btn-hover-color);
  font-size: 18px !important;
}

.content-render-text p, ul, li, div{
  font-size: 18px !important;
}

.content-render-text ul{
  list-style-type: disc !important;
  font-size: 18px !important;
  padding-left: 15px;
}

/* Animaciones */

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

@keyframes pulseLight {
  0%, 100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0; /* Asegura que el elemento esté oculto antes de la animación */
}

.animate-fade-in-up.delay-200 {
  animation-delay: 0.2s;
}

.animate-pulse-light {
    animation: pulseLight 4s infinite ease-in-out;
}

/* ***************************************************************************************************************** */

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-50%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide {
  animation: slideIn 0.5s ease-in-out;
}

.callToActionBg{
  background: linear-gradient(90deg, var(--tertiary) 10%, black 10%);
}

.menuBg{
  background: linear-gradient(90deg, var(--tertiary) 10%, #002f5f 10%);
}