/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #d59be4; /* fallback color */
  color: #111;
  position: relative;
  overflow-x: hidden;

  /* Center content vertically & horizontally */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full screen height */
  text-align: center;
}

/* Blurred background image */
body::before {
  content: "";
  position: fixed;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background: url('../images/Logos/bg.webp') no-repeat center center;
  background-size: cover;
  filter: blur(8px);
  z-index: -1;
}

/* Logo Section */
.logo-container {
  padding: 20px;
}

.logo-container img {
  max-width: 150px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.logo-container h1 {
  font-size: 2.2rem;
  line-height: 1.2;
}

/* Gallery Section */
.gallery-container {
  padding: 20px;
}

.gallery-title {
  margin-bottom: 20px;
  font-size: 2rem;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.gallery-card {
  flex: 1 1 calc(25% - 30px); /* Adjust columns for desktop */
  max-width: 500px;
  background: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.gallery-card img {
  width: 100%;
  height: 220px; /* Same height for all images */
  object-fit: contain; /* Show full image without cropping */
  background: #fff; /* Behind empty space */
  padding: 10px; /* Space around the image */
}

.caption {
  padding: 12px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Hide gallery until shown */
.hidden {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .gallery-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .gallery-title {
    font-size: 1.4rem;
  }

  .logo-container h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo-container img {
    max-width: 100px;
  }

  .gallery-title {
    font-size: 1.2rem;
  }

  .caption {
    font-size: 0.9rem;
  }
}
