/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', sans-serif;
  color: #4F5655;
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: #14261C;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #dddddd;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.logo {
  justify-self: start;
}

.logo img {
  width: 265px;
  height: auto;
}

.header-nav {
  justify-self: end;
}

.giving-btn img {
  height: 70px;
  width: auto;
  transition: opacity 0.3s ease;
}

.giving-btn img:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero {
  background-color: #ffffff;
  text-align: center;
}

.hero img {
  width: 100%;
}

/* Middle Two-Column Section */
.middle-section {
  background-color: #ffffff;
  padding: 40px 20px;
}

.middle-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 40px;
  align-items: center;
}

.middle-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.middle-cell .map-container {
  margin-top: 20px;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border-radius: 8px;
}

/* Gallery */
.gallery {
  background-color: #ffffff;
  padding: 20px 20px 60px;
}

.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

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

/* Footer */
.site-footer {
  background-color: #14261C;
  color: #ffffff;
  text-align: center;
  padding: 40px 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.social-links a {
  color: #30C7B5;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #00AC97;
  transform: translateY(-2px);
}

.copyright {
  font-size: 0.85rem;
  color: #4F5655;
  margin-top: 10px;
}

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

  .middle-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    padding: 24px 20px;
  }

  .logo {
    justify-self: center;
  }

  .header-nav {
    justify-self: center;
  }

  .logo img {
    width: 300px;
  }

  .giving-btn img {
    height: 150px;
  }
}

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

  .header-inner {
    padding: 8px 12px;
  }
}
