/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f1faff;
  color: #023e8a;
  line-height: 1.6;
  padding: 0 1rem;
}

/* Header */
header {
  background-color: #0077b6;
  padding: 1rem 0;
  text-align: center;
  border-bottom: 2px solid #0096c7;
}

header h1 {
  font-size: 2rem;
  color: #ffffff;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.5rem;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

nav a:hover {
  color: #90e0ef;
}

/* Gallery Section */
.gallery {
  padding: 2rem 0;
  text-align: center;
}

.gallery h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #0077b6;
}

/* Thumbnail Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  padding: 1rem;
}

/* Individual Gallery Item */
.gallery-item {
  max-width: 200px;
  background-color: #caf0f8;
  border-radius: 10px;
  padding: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item h3 {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #6c5b7b;
}

/* Thumbnail Image Styling */
.thumbnail {
  width: 160px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.thumbnail:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #0077b6;