/* 공통 리셋 및 기본 스타일 */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.5;
}

.banner-warning {
  background: #363636; /* 밝은 노란색 배경 */
  color: #fcfcfc; /* 어두운 글씨 색상 */
  padding: 50px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 20px;
}
.banner-warning h2 {
  margin: 0;
  color: #fcfcfc;
}

.banner-warning2 {
  padding: 50px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 20px;
}
.banner-warning2 h2 {
  margin: 0;
  color: #ff0c0c;
}

.logo {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: #2e7d32; /* 골프 느낌의 딥그린 */
  letter-spacing: -0.5px;
}
.logo img {
  width: 50px;
  height: auto;
  vertical-align: middle;
  margin-right: 10px;
}

/* 링크 스타일 */
a {
  text-decoration: none;
  color: white;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 5px auto;
}

/* 헤더 */
header {
  background: #006633;
  color: white;
  padding: 1px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  margin: 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#menu-btn {
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: none;
}

nav a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
}

.hidden {
  display: block;
}

/* 이미지 반응형 */
.responsive-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
}

/* 홈페이지 주요 링크 박스 */
.home-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
  gap: 15px;
}

.link-box {
  width: 100%;
  padding: 15px;
  text-align: center;
  border-top: 4px solid #6e6e6e;
  border-bottom: 4px solid #6e6e6e;
}

.link-box h3 {
  margin-bottom: 10px;
  font-size: 30px;
}

.link-box p {
  font-size: 17px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.4;
}

.link-box button {
  background-color: #2678ff;
  color: white;
  border: none;
  padding: 17px 55px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 70px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.link-box2 button:hover {
  background-color: #acff0e;
  color: black;
}

.link-box2 {
  width: 100%;
  padding: 15px;
  text-align: center;
}

.link-box2 h3 {
  font-size: 30px;
}

.link-box2 p {
  font-size: 17px;
  color: #555;
}

.link-box2 button {
  background-color: #2678ff;
  width: 100%;
  color: white;
  border: none;
  padding: 15px 45px;
  font-weight: 600;
  border-radius: 70px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.link-box2 button h3 {
  margin: 0;
  font-size: 24px;
}

.link-box2 button:hover {
  background-color: #acff0e;
  color: black;
}

.link-btn {
  background: none;
  border: none;
  color: #e91e63;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.9em;
  padding-left: 5px;
  text-decoration: underline;
}

/* 모달 스타일 */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-size: 14px;
  line-height: 1.6;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

/* 일반 섹션 제목 스타일 */
h2 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #006633;
}

/* 이용안내, 프로소개, 레슨일정 페이지 내용 스타일 */
.section-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  line-height: 1.6;
  font-size: 16px;
}

.pro-banner {
  background-image: url(img/golfbg.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: white;
  padding: 50px 20px;
  text-align: center;
  margin-bottom: 20px;
}
.pro-banner h2 {
  font-size: 36px;
  font-weight: 700;
  color: white;
}

.pro-profile {
  align-items: center;
  margin-bottom: 20px;
  text-align: center;
}
.pro-profile strong {
  display: block;
  font-size: 30px;
  color: #006633;
  margin-bottom: 5px;
}

/* 레슨 일정 카드 스타일 */
.lesson-schedule {
  padding-left: 0;
  margin: 0;
}
.lesson-schedule li {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 15px 20px;
  margin-bottom: 15px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  list-style: none;
}

.lesson-schedule li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 102, 51, 0.2);
}

.lesson-schedule h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #006633;
}

.lesson-schedule p {
  margin: 0;
  font-size: 15px;
  color: #333;
}

/* 폼 스타일 (레슨신청) */
form {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
}

input,
select {
  width: 100%;
  padding: 8px 10px;
  margin-top: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
}

button[type="submit"] {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: #006633;
  border: none;
  border-radius: 4px;
  color: white;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background: #004d26;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 14px;
  flex-wrap: wrap; /* 모바일 대응 */
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #006633; /* 체크 표시 색상 */
}

.checkbox-group label {
  flex: 1;
  min-width: 200px;
  font-weight: 500;
  white-space: nowrap; /* 한 줄로 유지 */
  margin: 0;
}

/* 푸터 스타일 */
.site-footer {
  background-color: #222;
  color: #ccc;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
  bottom: 0;
}

.site-footer a {
  color: #00c57b;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* 모바일용 햄버거 메뉴 보이기 및 네비게이션 스타일 */
@media (max-width: 600px) {
  .container {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    padding: 0 10px;
  }
  #menu-btn {
    display: block;
  }
  nav {
    position: absolute;
    top: 56px;
    right: 10px;
    background: #006633;
    border-radius: 6px;
    padding: 10px;
    flex-direction: column;
    display: flex;
  }
  nav a {
    display: block;
    margin: 8px 0;
  }

  /* 홈 링크 박스 모바일 */
  .home-links {
    flex-direction: column;
  }
  .link-box {
    flex: 1 1 100%;
  }
  .hidden {
    display: none;
  }
}
