html, body {
  overflow-x: hidden;
}


/* Custom component styles */
.gcp-image {
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.gcp-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.gcp-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.gcp-image:hover::before {
  opacity: 1;
}
.gcp-image:hover .gcp-caption {
  bottom: 0;
  opacity: 1;
}
.gcp-caption {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  padding: 20px 15px 15px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: white;
  transition: all 0.3s ease;
  opacity: 0;
  z-index: 2;
}
.gcp-lightbox-transition {
  transition: opacity 0.3s ease;
}
.gcp-nav-btn {
  transition: all 0.2s ease;
}
.gcp-nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.7) !important;
  transform: scale(1.1);
}
.gcp-filter {
  transition: all 0.2s ease;
}
.gcp-filter.active {
  background-color: #3b82f6;
  color: white;
}

/* Container projects style */
.container-projects {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container-projects {
    max-width: 640px;
  }
}
@media (min-width: 768px) {
  .container-projects {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  .container-projects {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {
  .container-projects {
    max-width: 1280px;
  }
}

/* Header layout improvements */
.header-container-projects {
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .header-container-projects {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .header-content {
    flex: 1;
    max-width: 50%;
  }
  .filter-container {
    flex: 1;
    max-width: 50%;
    justify-content: flex-end;
    margin-top: 0;
  }
}
.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
