/* General Styles */
body {
  font-family: "Inter", sans-serif;
  background-color: #000;
  color: #fff;
  margin: 0;
  line-height: 1.6;
  padding: 0;
}

header {
  text-align: center;
  padding: 2rem 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-left: 4px solid #00ffcc;
  padding-left: 10px;
}

section {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.header p {
  font-size: 1.2rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.gallery-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

/* Modal */
/* Modal - centered with Flexbox */
/* Modal - centered with Flexbox */
.modal {
  display: none; /* This will be toggled by JS */
  position: fixed;
  z-index: 999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);

  /* center content - remove the hardcoded display: flex from here */
  justify-content: center;
  align-items: center;

  /* allow scrolling if viewport is tiny */
  padding: 20px;
  box-sizing: border-box;
}

/* Modal content (image) */
.modal-content {
  width: 90%;
  max-width: 600px;
  max-height: 85vh; /* prevent the image from exceeding viewport height */
  height: auto; /* keep aspect ratio */
  border-radius: 10px;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  /* if you want the image to scale and always fit inside the box:
     object-fit: contain;  (only useful if you set both width & height) */
}

/* Close button stays on top-right of viewport */
.close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* .modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: block;
  margin: auto;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
} */

/* About Section */
.about-section p {
  margin-bottom: 1rem;
}

.email-box {
  background: #111;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1.5rem;
}

.email-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0.5rem;
}

.email-form input {
  flex: 1;
  padding: 0.7rem;
  border: none;
  border-radius: 6px;
  outline: none;
}

.email-form button {
  background: #00ffcc;
  color: #000;
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.email-form button:hover {
  background: #00e6b8;
}

/* Updates Section */
.update {
  background: #111;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.update-images {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.update-images img {
  width: 100%;
  max-width: 250px;
  border-radius: 8px;
}

.update-link {
  display: inline-block;
  margin-top: 10px;
  background: #00ffcc;
  color: #000;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.update-link:hover {
  background: #00e6b8;
  transform: translateY(-2px);
}

/* Contact Section */
.contact-link {
  display: inline-block;
  color: #00ffcc;
  font-weight: bold;
  margin-top: 10px;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #222;
  font-size: 0.9rem;
  color: #aaa;
}

/* Responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .modal-content {
    width: 95%;
  }
  .close {
    top: 10px;
  }
  .gallery-grid {
    gap: 15px;
  }
}
