/* =========================
   RESET & GLOBAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Jua", sans-serif;;
  background-color: #4a5a35;
  color: #D7E6C7;
}

body {
  background: #3f5b2d;
  color: #f0f4e8;
  padding-top: 60px; /* 네비게이션 높이만큼 여백 */
}

section {
  padding: 80px 10%;
}

/* =========================
   HEADINGS
========================= */

h2 {
  background-color: #7f9a60;
  padding: 3rem;
  width: 100%;
  border-radius: 15px;
  margin-bottom: 40px;
  font-size: 28px;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  display: flex; 
  justify-content:space-around; 
  width: 100%; 
  height: 5rem; 
  border-bottom: 0.1rem solid #F8F3F2; 
  padding-right: 1rem; 
  padding-left: 1rem; 
  align-items: center; 
  position: fixed; /* 요소를 뷰포트에 고정 */ 
  top: 0; /* 화면 맨 위에 위치 */ 
  left: 0; width: 100%; /* 가로폭 꽉 차게 */ 
  height: 60px; /* 네비게이션 높이 지정 */ 
  z-index: 1000; /* 다른 요소보다 위에 보이도록 설정 */ } 


.navbar a { 
  width: 100%; 
  text-decoration: none; 
  color: #eae5e4; 
  font-size: 1.40rem; 
  display:inline-flex; 
  font-weight: bold; } 

.navbar a:hover { 
  color: rgb(113, 227, 147); 
  font-weight: bolder; 
  transition: font-weight .5s ease-in, color .5s ease-in; 
  opacity: 0.8; }

 /* 햄버거 메뉴 기본 숨김 스타일 */
 .menu { display: none; }
 .menu-toggle, .hamburger { display: none; }


/* =========================
   HERO
========================= */
.hero {
  display: flex;
  min-height: 80vh;
}

.hero-left {
  flex: 1;
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  object-fit: cover;
}

.hero-left img {
  width: 100%;
  border-radius: 15px;
}

.hero-right {
  flex: 1;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-right h1 {
  font-size: 60px;
  margin-bottom: 20px;
}

.date-badge {
  background: #D7E6C7;
  outline: none;
  color: #4a5a35;
  text-align: center;
  margin: 10px;
  padding: 10px;
  border-radius: 20px;
}

/* =========================
   CARDS
========================= */
#Core-Values {
  text-align: center;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
}

.card {
  background: #D7E6C7;
  padding: 30px;
  border-radius: 15px;
  flex: 1;
  min-width: 250px;
}

.card h3 {
  background: #D7E6C7;
  color: #4a5a35;
  font-size: 2.5rem;
  margin: 1rem;
}

.card p {
  background: #D7E6C7;
  color: #4a5a35;
  font-size: 1.7rem;
}

/* =========================
   EVENTS
========================= */

#Upcoming-Events {
  text-align: center;
}

.events-content {
  display: flex;
  gap: 30px;
  text-align: center;
  justify-content: space-between;
  height: 100%;
  
}

.events-content img {
  display: flex;
  width: 45%;
  border-radius: 16px;
  height: 100%;
}

.events-content, .events-content img {
  flex: 1; /* 두 박스가 동일한 너비(또는 비율)를 갖게 함 */
}

.events-content ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 1.5rem;
}

/* =========================
   GROWTH (TIMELINE)
========================= */
#Growth-Journey {
  text-align: center;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.timeline {
  background: #6d8b4f;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.timeline:hover {
  background: #88a96a;
  transform: translateY(-5px);
}

/* =========================
   MINISTRIES
========================= */
#Ministries-We-Offer {
  text-align: center;
}
.ministries ul {
  list-style: disc;
  margin-left: 20px;
  font-size: 1.5rem;
}

/* =========================
   NEXT STEPS
========================= */
#Next-Steps {
  text-align: center;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.step {
  background: #6d8b4f;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  font-size: 2rem;
}

.step:hover {
  background: #88a96a;
  transform: translateY(-5px);
}

/* =========================
   CONTACT
========================= */
.contact {
  background: #6d8b4f;
  text-align: center;
  padding: 70px;
}

.contact h1 {
  font-size: 3rem;
  background: #6d8b4f;
}

.contact p {
  background: #6d8b4f;
  padding: 10px;
  margin: 10px;
  font-size: 1.7rem;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero-right {
    padding: 40px 20px;
  }

  body {
    padding-top: 60px;
  }

  .navbar {
    display: none;
  }

  .menu {
    display: flex;
    font-size: 1rem;
  }
  .menu-toggle:checked ~ .menu { display: flex; } /* 체크 시 보임 */

  .hamburger {
    display: block;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 25px; height: 3px;
    background: black; margin: 5px;
    transition: 0.3s;
  }
  
  /* 햄버거 -> X 애니메이션 */
  .menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }


  /* HERO */
  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    flex: none;
  }

  .hero-right {
    padding: 40px 20px;
    text-align: center;
  }

  .hero-right h1 {
    font-size: 2.2rem;
  }

  .hero-left img {
    width: 100%;
    height: auto;
  }

  .date-badge {
    font-size: 0.9rem;
  }

  /* SECTION */
  section {
    padding: 50px 20px;
  }

  h2 {
    font-size: 1.1rem;
    padding: 1.2rem;
    text-align: center;
  }

  /* CARDS */
  .card-container {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    width: 100%;
  }

  .card h3 {
    font-size: 1.5rem;
  }

  /* EVENTS */
  .events-content {
    flex-direction: column;
    gap: 20px;
  }

  .events-content img {
    width: 100%;
  }

  .events-content ul {
    font-size: 1rem;
  }

  /* GRID → 1열 */
  .timeline-grid,
  .step-grid {
    grid-template-columns: 1fr;
    font-size: 1rem;
  }

  .step-grid {
    grid-template-columns: 1fr;
    font-size: 1rem;
  }


  .timeline,
  .step {
    padding: 20px;
  }

  /* MINISTRIES */
  .ministries ul {
    font-size: 1rem;
  }

  /* CONTACT */
  .contact {
    padding: 40px 20px;
  }

  .contact h1 {
    font-size: 2rem;
  }

}