/* Set the background color of body to tan */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

body {
  width: 100%;

  margin:auto;
  padding: 0;

    font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
    max-width:1200px;
    background-color: #f4f4f9;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
  justify-content: center;
  margin-bottom: 100px;
}

.gallery-item {
  width: 150px;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 12, 18, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 9999;
  padding: 24px;
  box-sizing: border-box;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-image {
  max-width: min(92vw, 1400px);
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 40px;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, transform 0.2s;
}
.close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}

.controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  width: 100%;
  max-width: 900px;
}

.controls button {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  border: none;
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
}
.controls button:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 123, 255, 0.5);
  background: linear-gradient(135deg, #1a8bff, #0066d6);
}
.controls button:active {
  transform: scale(0.96);
}

.image-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.image-name {
  font-size: 18px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.3;
  word-break: break-word;
}

.image-award {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 14px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #1a1a1a;
  background: linear-gradient(135deg, #ffd700, #f5b800);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}
.image-award:empty {
  display: none;
}

@media (max-width: 600px) {
  .lightbox-image { max-height: 65vh; }
  .controls { gap: 8px; }
  .controls button { width: 40px; height: 40px; font-size: 18px; }
  .image-name { font-size: 15px; }
  .image-award { font-size: 11px; padding: 3px 10px; }
}

.gallery-link {
  display: block;
  text-align: center;
  color: #007BFF;
  text-decoration: none;
  margin-top: 5px;
  font-size: 16px;
  cursor: pointer;
}

.gallery-link:hover {
  text-decoration: underline;
}

.text-links{
  margin-bottom: 25px;
}