.hero-image,
.about-image,
.gallery-grid img,
.logo-large {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.hero-image {
  max-height: 430px;
}

.logo-large {
  max-width: 320px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: none;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.2));
  transition: transform 0.8s ease;
  transform-origin: center;
}

.logo-large:hover {
  transform: rotate(360deg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.gallery-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
