/* ===============================
   BASE RESET (REQUIRED)
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ===============================
   NAVBAR
================================ */
.site-header {
  background: #2e7d32;
  width: 100%;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;                 /* HARD LIMIT */
}

.logo-img {
  height: 34px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a:hover {
  opacity: 0.8;
}

/* MOBILE */
@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 0;
  }

  .main-nav ul {
    gap: 14px;
  }
}

/* ===============================
   FOOTER
================================ */
.site-footer {
  background: #0b2a4a;
  margin-top: 60px;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 45px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 6px;
}

/* SOCIAL ICONS */
.footer-social {
  margin-top: 12px;
}

.footer-social a {
  margin-right: 12px;
  font-size: 18px;
  color: #fff;
}

.footer-social a:hover {
  opacity: 0.7;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  font-size: 13px;
}

/* MOBILE */
@media (max-width: 600px) {
  .footer-content {
    text-align: center;
  }
}




/* =====================================================
   SIMPLE GALLERY
===================================================== */
.simple-gallery {
  background: #000;
  padding: 70px 0;
}

.simple-gallery h3 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  font-size: 26px;
  letter-spacing: 1px;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* IMAGES */
.gallery-grid img {
  width: 100%;
  height: 200px;                 /* controls overall tile height */
  object-fit: cover;             /* prevents distortion */
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* HOVER EFFECT */
.gallery-grid img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}


#image-viewer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
}

#image-viewer img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-viewer {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

.gallery-grid img {
  cursor: zoom-in;
}



/* MOBILE */
@media (max-width: 480px) {
  .gallery-grid img {
    height: 180px;
  }
}


