/* @theme side-deck-theme */

/* =========================================
   Side Deck Theme - Navy & Olive Green
   =========================================

   [특징]
   - 네이비(Navy) 배경 + 올리브 그린(Olive Green) 포인트
   - 기하학적 원형 패턴 (우측 하단)
   - 모던하고 세련된 프레젠테이션 스타일

   [사용법]
   ---
   marp: true
   theme: side-deck-theme
   ---

   [슬라이드 클래스]
   - title      : 타이틀 슬라이드 (흰색 배경)
   - white-bg   : 흰색 배경 슬라이드
   - (기본)     : 네이비 배경 슬라이드

   ========================================= */

@import 'default';

:root {
  --navy: #1a2a40;
  --navy-dark: #0f1a2a;
  --olive: #a4bc40;
  --olive-light: #c5d96a;
  --white: #ffffff;
  --light-gray: #f4f4f4;
  --text-muted: #8899aa;
}

/* -----------------------------------------
   기본 슬라이드 (네이비 배경)
   ----------------------------------------- */
section {
  width: 1280px;
  height: 720px;
  font-family: 'Segoe UI', 'Noto Sans KR', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--navy);
  color: var(--white);
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-size: 26px;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

/* 기하학적 원형 패턴 - 우측 하단 */
section::before {
  content: "";
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 450px;
  height: 450px;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--olive) 0px,
      var(--olive) 8px,
      transparent 8px,
      transparent 16px
    );
  border-radius: 50%;
  opacity: 0.7;
  z-index: 1;
}

/* 추가 원형 패턴 - 더 작은 원 */
section::after {
  content: "";
  position: absolute;
  bottom: 50px;
  right: 280px;
  width: 150px;
  height: 150px;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--olive-light) 0px,
      var(--olive-light) 6px,
      transparent 6px,
      transparent 12px
    );
  border-radius: 50%;
  opacity: 0.4;
  z-index: 1;
}

/* -----------------------------------------
   타이포그래피
   ----------------------------------------- */
h1 {
  color: var(--white);
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 20px;
  z-index: 2;
}

h2 {
  color: var(--olive);
  font-size: 48px;
  font-weight: 600;
  border-bottom: none;
  margin-bottom: 30px;
  z-index: 2;
}

h3 {
  color: var(--olive-light);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 15px;
  z-index: 2;
}

p {
  z-index: 2;
  max-width: 70%;
}

strong {
  color: var(--olive);
}

/* -----------------------------------------
   타이틀 슬라이드 (흰색 배경)
   ----------------------------------------- */
section.title {
  background-color: var(--white);
  color: var(--navy);
  justify-content: center;
  align-items: flex-start;
}

section.title::before {
  background:
    repeating-linear-gradient(
      -45deg,
      var(--navy) 0px,
      var(--navy) 8px,
      transparent 8px,
      transparent 16px
    );
  opacity: 0.8;
}

section.title::after {
  background:
    repeating-linear-gradient(
      -45deg,
      var(--navy-dark) 0px,
      var(--navy-dark) 6px,
      transparent 6px,
      transparent 12px
    );
  opacity: 0.3;
}

section.title h1 {
  font-size: 100px;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.1;
}

section.title p {
  font-size: 24px;
  color: #666;
  max-width: 600px;
}

section.title .subtitle {
  font-size: 20px;
  color: var(--olive);
  font-weight: 600;
  margin-top: 30px;
}

/* -----------------------------------------
   흰색 배경 슬라이드
   ----------------------------------------- */
section.white-bg {
  background-color: var(--white);
  color: var(--navy);
}

section.white-bg::before {
  background:
    repeating-linear-gradient(
      -45deg,
      var(--olive) 0px,
      var(--olive) 8px,
      transparent 8px,
      transparent 16px
    );
}

section.white-bg h2 {
  color: var(--navy);
  font-size: 42px;
}

section.white-bg h3 {
  color: var(--olive);
}

/* -----------------------------------------
   리스트 스타일
   ----------------------------------------- */
ul {
  list-style: none;
  padding-left: 0;
  z-index: 2;
}

ul li {
  margin-bottom: 25px;
  padding-left: 50px;
  position: relative;
}

ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  background-color: var(--olive);
  border-radius: 50%;
}

/* 번호 리스트 */
ol {
  list-style: none;
  padding-left: 0;
  counter-reset: item;
  z-index: 2;
}

ol li {
  margin-bottom: 25px;
  padding-left: 60px;
  position: relative;
  counter-increment: item;
}

ol li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--olive);
  font-size: 36px;
  font-weight: 700;
  top: -5px;
}

/* -----------------------------------------
   콘텐츠 박스
   ----------------------------------------- */
.content-box {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--olive);
  padding: 20px 25px;
  border-radius: 0 8px 8px 0;
  margin: 15px 0;
  z-index: 2;
}

.highlight-box {
  background: var(--olive);
  color: var(--navy);
  padding: 20px 30px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 2;
}

/* -----------------------------------------
   2열 레이아웃
   ----------------------------------------- */
.col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  z-index: 2;
}

/* -----------------------------------------
   테이블
   ----------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  z-index: 2;
  font-size: 22px;
}

th {
  background: var(--olive);
  color: var(--navy);
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

section.white-bg td {
  border-bottom: 1px solid #ddd;
}

/* -----------------------------------------
   페이지 번호
   ----------------------------------------- */
section::after {
  /* 페이지 번호는 Marp 기본 기능 사용 */
}
