/* Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: #0d1117;
  color: #f5f5f5;
}

/* Navbar */
.navbar {
  background: #111827;
  padding: 1rem 2rem;
  color: #3b82f6;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Gallery Grid */
.gallery {
  padding: 50px 20px;
}
.gallery-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Smaller thumbnails */
}
.gallery-item {
  width: 100%;
  height: 180px; /* fixed smaller size */
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  border: 2px solid transparent;
  background: #1f2937;
}
.gallery-item:hover {
  transform: scale(1.03);
  border: 2px solid #3b82f6;
  box-shadow: 0 0 15px rgba(59,130,246,0.6);
}

/* Modal (Lighthouse Full View) */
.modal {
  display: none;
  position: fixed;
  z-index: 20;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(13,17,23,0.95);
  animation: fadeIn 0.4s;
}
.modal-content {
  margin: auto;
  display: block;
  max-width: 70%;
  max-height: 75%;
  border-radius: 12px;
  border: 3px solid #3b82f6;
  box-shadow: 0 0 40px rgba(59,130,246,0.7);
  animation: zoom 0.3s ease;
}

@keyframes zoom {
  from { transform: scale(0.8); opacity: 0.5; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Close Button */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f5f5f5;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.close:hover { color: #f87171; }

/* Navigation */
.navigation .prev, .navigation .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: #f5f5f5;
  padding: 10px;
  transform: translateY(-50%);
  transition: 0.3s;
  user-select: none;
}
.navigation .prev { left: 20px; }
.navigation .next { right: 20px; }
.navigation .prev:hover, .navigation .next:hover { color: #3b82f6; }

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  background: #111827;
  color: #9ca3af;
  font-size: 0.9rem;
}
