/* =========================================
   proyectos.css - ESTILO "GLASS" CON GRAVEDAD CERO (SIN LOGOS PEQUEÑOS)
   ========================================= */

/* 1. ANIMACIÓN: "GRAVEDAD CERO" */
@keyframes zeroGravity {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(1deg);
  }
  75% {
    transform: translateY(4px) rotate(-1deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* 2. ENCABEZADO */
.page-header {
  padding-top: 120px;
  padding-bottom: 60px;
  text-align: center;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: #f5a623;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* 3. CONTENEDOR DE IMAGEN (ARRIBA) */
.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  /* APLICAMOS LA ANIMACIÓN */
  animation: zeroGravity 6s ease-in-out infinite;
  margin-bottom: -30px; /* Truco: Hacemos que la imagen se meta un poco en la caja de texto */
  z-index: 2;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-img-wrapper:hover .project-img {
  transform: scale(1.15); /* Zoom interno al pasar el mouse */
}

/* (SE ELIMINARON LAS CLASES .client-badge-glass) */

/* 4. CAJA DE INFORMACIÓN (ABAJO - ESTILO GLASS) */
.project-info-glass {
  background: rgba(12, 45, 72, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 45px 25px 25px 25px; /* Padding top extra porque la imagen se encima */
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
  height: 100%;
}

.project-info-glass:hover {
  border-color: #f5a623;
  transform: translateY(5px);
}

.project-location {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.project-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #f5a623;
  margin-bottom: 15px;
  text-transform: uppercase;
  line-height: 1.2;
}

.project-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-weight: 300;
}
