:root{--build-id:"8a8b71c8-b9c5-442f-bbe5-e2c2fd63cc89";}
/* 다루수다58 - 농구공 사이트 스타일 */

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

:root {
  /* C15 색상 팔레트 */
  --primary: #15803d;
  --bg: #bbf7d0;
  --text: #14532d;
  --accent: #4ade80;
  --heading: var(--text);
  --link: var(--text);

  /* S07 여백 시스템 */
  --section-padding: 5.5rem 0;
  --container-width: 1250px;
  --gap: 3.25rem;
}

/* F8 폰트 스택 */
body {
  font-family: system-ui, "Helvetica Neue", Arial, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  color: var(--text);
  background-color: var(--bg);
}

/* H07 헤딩 스타일 */
h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--heading);
}

h2 {
  font-size: clamp(1.625rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--heading);
}

h3 {
  font-size: clamp(1.375rem, 3vw, 1.625rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.005em;
  color: var(--heading);
}

/* 접근성 - Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* 키보드 포커스 스타일 */
a:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

/* N15 네비게이션 - 상단 스크롤 + 좌측 로고 + 우측 메뉴 (버튼형) */
header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 1.75rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text);
}

nav ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

nav a {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.3s;
}

nav a:hover,
nav a[aria-current="page"] {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* 모바일 네비게이션 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .menu-checkbox:checked ~ nav {
    max-height: 500px;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  nav a {
    display: block;
    padding: 1rem 2rem;
    border: none;
    border-bottom: 1px solid #e5e7eb;
  }
}

/* 컨테이너 */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* 섹션 */
section {
  padding: var(--section-padding);
}

/* B07 버튼 스타일 - 사각형 볼드 */
.btn {
  display: inline-block;
  border-radius: 0;
  padding: 1.5rem 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.05em;
}

.btn:hover {
  background: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 3px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #ffffff;
}

/* K07 카드 스타일 - 사각 테두리 */
.card {
  border: 3px solid #000;
  border-radius: 0;
  padding: 2rem;
  background: #ffffff;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.1);
}

/* 그리드 레이아웃 */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* L04 레이아웃 - 비디오형 히어로 */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--text) 100%);
  color: #ffffff;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* 아코디언 스타일 */
.accordion-item {
  border: 3px solid #000;
  margin-bottom: 1rem;
  background: #ffffff;
}

.accordion-header {
  padding: 1.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: var(--bg);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem;
  line-height: 1.8;
}

/* 타임라인 스타일 (CS07) */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -3.75rem;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-label {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

/* 갤러리 스타일 */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.gallery-item {
  border: 3px solid #000;
  padding: 1.5rem;
  background: #ffffff;
  text-align: center;
}

.gallery-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* 푸터 */
footer {
  background: var(--text);
  color: #ffffff;
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
  opacity: 0.8;
}

/* 문서 컨테이너 (Privacy/Terms) */
.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.doc-container h1 {
  margin-bottom: 2rem;
}

.doc-container p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* 반응형 */
@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 0;
    --gap: 2rem;
  }

  .hero {
    padding: 4rem 1.5rem;
  }

  .btn {
    padding: 1.25rem 2.5rem;
    font-size: 0.875rem;
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline-item::before {
    left: -2.625rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}