:root {
  /* Color Palette - Premium Walkerhill Tone */
  --c-primary: #122822;    /* Deep Green */
  --c-secondary: #C5A572;  /* Muted Gold */
  --c-text-dark: #1A1A1A;  /* Charcoal */
  --c-text-gray: #555555;  /* Medium Gray */
  --c-text-light: #F4F4F4; /* Off White */
  --c-bg-body: #F9F8F6;    /* Warm Paper Color */
  --c-bg-white: #FFFFFF;
  --c-border: #E0E0E0;
  --c-border-gold: rgba(197, 165, 114, 0.4);

  /* Spacing */
  --space-unit: 8px;
  --container-width: 1080px;
  --header-height: 60px;

  /* Typography */
  --font-serif: "Noto Serif KR", serif;
  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

/* Reset & Base */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--c-bg-body);
  color: var(--c-text-dark);
  line-height: 1.6;
  word-break: keep-all;
}
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
img { max-width: 100%; display: block; }

/* Typography Utility */
.font-serif { font-family: var(--font-serif); }
.text-gold { color: var(--c-secondary); }
.text-center { text-align: center; }

/* Layout Utility */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 80px 0;
}
@media (max-width: 768px) {
  .section { padding: 50px 0; }
}

/* 1. Header (Sticky) */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(18, 40, 34, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain; /* 비율 유지 보장 */
  max-width: 80%; /* 화면 너비가 좁을 때도 안전하게 표시 */
  filter: brightness(0) invert(1); /* 이미지를 흰색으로 변경 */
  -webkit-filter: brightness(0) invert(1); /* Safari/Chrome 호환성 */
  transition: height 0.3s ease;
}
@media (max-width: 480px) {
  .header-logo-img {
    height: 24px; /* 모바일에서는 조금 더 작게 */
  }
}

/* 2. Hero Section */
.hero {
  position: relative;
  height: 90vh; /* Mobile Full Height */
  min-height: 600px;
  max-height: 900px;
  background-color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5; /* 배경색이 더 많이 비치도록 투명도 조절 */
  filter: brightness(0.6) contrast(1.1); /* 밝기 낮춤 및 대비 약간 상승 */
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--c-text-light);
  padding: 0 20px;
  max-width: 700px;
  animation: fadeUp 1s ease-out;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8); /* 강한 그림자로 가독성 확보 */
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--c-secondary);
  color: var(--c-secondary);
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 16px; /* 24px -> 16px */
  letter-spacing: 1px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 2.4rem; /* 2.8rem -> 2.4rem 축소 */
  font-weight: 400;
  line-height: 1.4; /* 줄간격 약간 넓힘 */
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.3rem; /* 1.1rem -> 1.3rem */
  opacity: 1; /* 0.9 -> 1 */
  color: var(--c-secondary); /* 골드 컬러로 강조 */
  margin-bottom: 16px; /* 40px -> 16px (제목과 가까이) */
  font-weight: 600; /* 300 -> 600 */
  letter-spacing: -0.5px;
}
@media (max-width: 768px) {
  .hero-title { font-size: 1.7rem; } /* 2rem -> 1.7rem 축소 */
  .hero-sub { font-size: 1.1rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px; /* Slightly rounded, premium feel */
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--c-secondary);
  color: #fff;
  border: 1px solid var(--c-secondary);
}
.btn-primary:hover {
  background-color: #b08d55;
}
.btn-outline {
  background: transparent;
  color: var(--c-text-light);
  border: 1px solid rgba(255,255,255,0.4);
  margin-left: 10px;
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}
@media (max-width: 480px) {
  .btn { width: 100%; margin-left: 0 !important; margin-bottom: 10px; }
}

/* 3. Awards (Trust) */
.awards {
  background: var(--c-bg-white);
  border-bottom: 1px solid var(--c-border);
  padding: 40px 0;
}
.awards-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
@media (max-width: 768px) {
  .awards-grid {
    flex-direction: column; /* 모바일에서 세로 배치 강제 */
    gap: 24px;
    align-items: center; /* 전체 아이템 중앙 정렬 */
  }
}
.award-item {
  display: flex;
  align-items: center; /* 다시 수직 중앙 정렬로 변경 */
  gap: 16px;
  max-width: 100%;
  text-align: left;
}
@media (max-width: 768px) {
  .award-item {
    width: 100%;
    max-width: 340px; /* 모바일에서 적당한 너비 제한 */
    justify-content: flex-start; /* 내부 요소 왼쪽 정렬 */
  }
}
.award-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-secondary);
  border-radius: 50%;
  color: var(--c-secondary);
  margin-top: 0; /* 불필요한 여백 제거 */
}
.award-text {
  text-align: left;
}
.award-text strong { display: block; font-size: 0.9rem; color: var(--c-text-dark); }
.award-text span { font-size: 0.8rem; color: var(--c-text-gray); }

/* 4. Offers */
.offers { background: var(--c-bg-body); }
.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--c-primary);
  text-align: center;
  margin-bottom: 12px;
}
.section-desc {
  text-align: center;
  color: var(--c-text-gray);
  margin-bottom: 50px;
}
.offer-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .offer-cards { grid-template-columns: 1fr; }
}
.card {
  background: var(--c-bg-white);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-5px); }
.card-img-wrap {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img { transform: scale(1.05); }
.card-body {
  padding: 32px;
  text-align: center;
}
.card-label {
  color: var(--c-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--c-primary);
}
.card-text {
  color: var(--c-text-gray);
  font-size: 1rem;
}

/* 5. Process (Timeline) */
.process { background: var(--c-bg-white); }
.process-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px; left: 0; right: 0;
  height: 1px;
  background: var(--c-border);
  z-index: 0;
}
@media (max-width: 768px) {
  .process-steps { flex-direction: column; gap: 30px; }
  .process-steps::before {
    top: 0; bottom: 0; left: 24px; right: auto; width: 1px; height: 100%;
  }
}
.step {
  flex: 1;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 10px;
  background: var(--c-bg-white); /* To mask line if needed, but styling allows transparency */
}
@media (max-width: 768px) {
  .step { display: flex; text-align: left; align-items: flex-start; gap: 20px; }
}
.step-num {
  width: 48px; height: 48px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 auto 16px;
  border: 4px solid var(--c-bg-white); /* Gap for line */
}
@media (max-width: 768px) {
  .step-num { margin: 0; flex-shrink: 0; }
}
.step-title {
  font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; color: var(--c-primary);
}
.step-desc {
  font-size: 0.9rem; color: var(--c-text-gray);
}

.notice-box {
  background: #FAF8F2; /* Light beige */
  border: 1px solid var(--c-border-gold);
  padding: 24px;
  border-radius: 8px;
  margin-top: 40px;
}
.notice-title {
  color: #B48D4D; /* Darker gold */
  font-weight: 700;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.notice-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #666;
}
.notice-list li::before {
  content: '•';
  position: absolute; left: 0; top: 0;
  color: #B48D4D;
}

/* 6. FAQ */
.faq-item {
  border-bottom: 1px solid var(--c-border);
}
.faq-btn {
  width: 100%;
  padding: 24px 0;
  text-align: left;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-primary);
}
.faq-btn:hover { color: var(--c-secondary); }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-body {
  padding-bottom: 24px;
  color: var(--c-text-gray);
  line-height: 1.7;
  font-size: 0.95rem;
}
.icon-plus {
  transition: transform 0.3s ease;
}
.faq-item.active .icon-plus { transform: rotate(45deg); }
.faq-item.active .faq-content { max-height: 200px; }

/* 7. Footer */
.footer {
  background: var(--c-primary);
  color: rgba(255,255,255,0.6);
  padding: 60px 0;
  font-size: 0.9rem;
}
.footer-links {
  margin-bottom: 30px;
  display: flex; gap: 20px;
}
.footer-links a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
.footer-info p { margin-bottom: 8px; }

/* Utilities */
.hidden { display: none; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
  to { opacity: 1; transform: translateY(0); }
}

/* CTA Sticky for Mobile */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: #fff;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  z-index: 900;
}
@media (max-width: 768px) {
  .sticky-cta { display: block; }
  .footer { padding-bottom: 100px; } /* Add space for sticky cta */
}

/* --- Table Styles for Green Fee --- */
.table-responsive {
  overflow-x: auto;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  background: #fff;
}
.greenfee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-bg-white);
  /* min-width: 1000px; Removed to prevent scroll on Desktop */
  font-size: 0.85rem;
  letter-spacing: -0.5px;
}
.greenfee-table th, .greenfee-table td {
  padding: 12px 4px;
  border: 1px solid var(--c-border);
  text-align: center;
  vertical-align: middle;
  color: var(--c-text-dark);
}
.greenfee-table thead th {
  background-color: var(--c-primary);
  color: #fff;
  border-color: rgba(255,255,255,0.1);
  font-weight: 600;
  font-size: 1rem;
}
.greenfee-table .th-sub {
  background-color: #f5f5f5;
  color: var(--c-text-dark);
  font-weight: 700;
  font-size: 0.95rem;
}
.greenfee-table .th-row-header {
  background-color: #f9f9f9;
  font-weight: 700;
  color: var(--c-text-dark);
}
.text-red {
  color: #e03e3e !important;
  font-weight: 700;
}
.bg-light {
  background-color: #fcfcfc;
}
/* Mobile optimizations for table */
@media (max-width: 1024px) {
  .greenfee-table {
    min-width: 900px; /* Enable scroll on Tablet/Mobile only */
  }
}
@media (max-width: 768px) {
  .greenfee-table th, .greenfee-table td {
    padding: 8px 2px;
    font-size: 0.8rem;
  }
  .greenfee-table thead th {
    font-size: 0.85rem;
  }
}
