/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= BODY ================= */
body {
  min-height: 100vh;

  /* Stronger white overlay = lighter background image */
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.35)
    ),
    url("../images/bg.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
/* ================= NAVBAR ================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #1a1a1a;
  backdrop-filter: none;
  border-bottom: 1px solid #2a2a2a;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 66px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
}

nav a:hover {
  color: #5b7b55;
}

.btn {
  background: #5b7b55;
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
}

.btn:hover {
  background: #6f9468;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #e0e0e0;
  margin: 4px 0;
}

/* ================= MOBILE NAV ================= */
@media (max-width: 900px) {
  nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #1e1e1e;
    flex-direction: column;
    gap: 18px;
    padding: 25px 0;
    display: none;
    box-shadow: none;
  }

  nav.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* ================= CONTENT ================= */
main {
  padding-top: 110px;
}

.hero {
  text-align: center;
  padding: 60px 20px 40px;
}

.hero h1 {
  font-size: 38px;
  color: black;
}

.hero p {
  color: black;
  margin-top: 8px;
}

/* ================= COMMUNITY CARDS ================= */
.community-section {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.community-card {
  background: #1e1e1e;
  border-radius: 18px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: none;
  transition: 0.3s;
}

.community-card:hover {
  transform: translateY(-6px);
}

.community-card img {
  width: 70px;
  margin-bottom: 15px;
}

.community-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #ffffff;
}

.community-card p {
  font-size: 14px;
  color: #bdbdbd;
  margin-bottom: 18px;
}

.community-card a {
  display: inline-block;
  background: #5b7b55;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
}

.community-card a:hover {
  background: #6f9468;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #0b0b0b;
  color: #ccc;
  padding: 80px 0 0;
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 80px;
}

/* BRAND */
.footer-brand img {
  width: 180px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #aaa;
}

/* LINKS */
.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #5b7b55;
}

/* CONTACT */
.footer-contact p {
  font-size: 14px;
  margin-bottom: 12px;
}

/* SOCIAL */
.social-icons {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #5b7b55;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  text-decoration: none;
}

/* BUTTON */
.footer-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background: #5b7b55;
  color: #000;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 60px;
  padding: 20px 40px;
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-bottom {
    padding: 20px;
  }
}

