/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Header */
.header {
  background: linear-gradient(135deg, #2b6777, #52ab98);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.header h1 {
  font-size: 2.5rem;
}

.header p {
  font-size: 1.1rem;
  margin-top: 10px;
}

/* NAVBAR */
nav {
  background: #52ab98;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffd700;
}

/* Section */
.section {
  padding: 40px 20px;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2b6777;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
    background: #e9f5ee;
}

.gallery figure {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
    background: white;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery figcaption {
    padding: 10px;
    font-weight: bold;
    font-size: 0.95em;
    text-align: center;
    background: #d8f3dc;
    color: #1b4332;
}

.gallery figure:hover {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
}

/* Footer */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}
