@charset "UTF-8";
/* CSS Document */

.proyectos{
	margin: 0;
      background: #f8f8f8;
      color: #333;
	width: 100%;
}

    /* Filtros */
    .filters {
      text-align: center;
      margin: 2rem 0;
    }

    .filters button {
      margin: 0.5rem;
      padding: 0.7rem 1.2rem;
      border: none;
      border-radius: 20px;
      background: #ddd;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .filters button.active,
    .filters button:hover {
      background: #43a27f;
      color: #fff;
    }

    /* Grid proyectos */
    .projects {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      padding: 0 2rem 3rem;
    }

    .project-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transition: opacity 0.4s ease, transform 0.4s ease;
      height: 450px; /* Altura uniforme */
      display: flex;
      flex-direction: column;
    }

    .project-card:hover {
      transform: translateY(-5px);
    }

    .project-card img {
      width: 100%;
      height: 250px; /* Todas las imágenes iguales */
      object-fit: cover;
    }

    .project-info {
      padding: 1rem;
      flex-grow: 1; /* Rellena espacio para que todas queden iguales */
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .project-card .project-info h3{
		color: #005ca9;
		font-size: 1.5rem;
	}

    /* Efecto ocultar */
    .hidden {
      opacity: 0;
      transform: scale(0.9);
      pointer-events: none;
    }

    /* CTA */
    .cta {
      text-align: center;
      padding: 3rem 1rem;
      background: #111;
      color: #fff;
    }

    .cta a {
      display: inline-block;
      margin-top: 1rem;
      padding: 0.8rem 1.5rem;
      background: #ff4500;
      color: #fff;
      text-decoration: none;
      border-radius: 25px;
      transition: 0.3s;
    }

    .cta a:hover {
      background: #e03d00;
    }

