/* General Styles */
body {
  font-family: 'Courier New', Courier, monospace;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
}

header {
  text-align: center;
  padding: 20px 0;
}

.logo {
  width: 150px;
  height: auto;
}

/* About Section */
#about {
  text-align: center;
  padding: 40px 20px;
}

#about h1 {
  font-size: 2em;
}

#about p {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Gallery Section */
#gallery {
  padding: 40px 20px;
}

#gallery h1 {
  text-align: center;
  margin-bottom: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.item img {
  width: 100%;
  height: auto;
  border: 2px solid #fff;
  transition: transform 0.3s;
}

.item img:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #111;
  margin-top: 40px;
}

footer a {
  color: #00bcd4;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Modal/Lightbox Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border: 3px solid #fff;
  animation: zoom 0.3s;
}

@keyframes zoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #00bcd4;
}

.caption {
  text-align: center;
  color: #fff;
  padding: 15px;
  font-size: 18px;
  margin-top: 10px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid #fff;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 24px;
  transition: 0.3s;
}

.prev:hover, .next:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.item img {
  cursor: pointer;
}