/* 타이아몬드 - 공통 스타일시트 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* 컨테이너 */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 헤더 */
header {
  background: linear-gradient(135deg, #1a1e2c 0%, #2d3142 100%);
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: none;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: #c5a059;
  font-size: 20px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

header nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

header nav a:hover {
  color: #c5a059;
}

.phone-btn {
  background-color: #c5a059;
  color: #1a1e2c;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.phone-btn:hover {
  background-color: #d4b574;
}

/* 모바일 메뉴 */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  right: 0;
  background: white;
  width: 100%;
  max-width: 300px;
  box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  z-index: 99;
  padding: 20px;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-menu a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a:hover {
  color: #c5a059;
}

/* Breadcrumb */
.breadcrumb {
  background-color: #f5f5f5;
  padding: 12px 0;
  font-size: 13px;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-item a:hover {
  color: #c5a059;
}

.breadcrumb-item.active {
  color: #1a1e2c;
  font-weight: 600;
}

.breadcrumb-separator {
  color: #999;
}

/* Hero 섹션 */
.hero {
  background: linear-gradient(135deg, #1a1e2c 0%, #2d3142 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.hero-label {
  display: inline-block;
  background-color: #c5a059;
  color: #1a1e2c;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-description {
  font-size: 16px;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 버튼 */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: #c5a059;
  color: #1a1e2c;
}

.btn-primary:hover {
  background-color: #d4b574;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: #1a1e2c;
}

/* 섹션 */
section {
  padding: 50px 0;
}

section.alt {
  background-color: #f9f9f9;
}

section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #1a1e2c;
}

section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a1e2c;
}

/* 지역 카드 */
.region-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  line-height: 1.8;
  color: #555;
}

/* 태그 클라우드 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tag {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f0f0f0;
  color: #1a1e2c;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  border: 1px solid #e0e0e0;
}

.tag:hover {
  background-color: #c5a059;
  color: white;
  border-color: #c5a059;
}

/* 카드 그리드 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.course-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
}

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

.course-card.featured {
  border: 2px solid #c5a059;
  background: linear-gradient(135deg, #fafaf8 0%, #fff 100%);
}

.course-header {
  margin-bottom: 15px;
}

.course-time {
  display: inline-block;
  background-color: #c5a059;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.course-card h3 {
  margin: 10px 0 12px 0;
  font-size: 18px;
}

.course-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
}

.course-price {
  background-color: #f5f5f5;
  padding: 12px;
  border-radius: 4px;
  font-weight: 600;
  color: #1a1e2c;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.8;
}

.course-features {
  list-style: none;
  font-size: 13px;
  color: #666;
}

.course-features li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.course-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c5a059;
  font-weight: 600;
}

/* CTA 섹션 */
.cta-section {
  background: linear-gradient(135deg, #1a1e2c 0%, #2d3142 100%);
  color: white;
  text-align: center;
  padding: 50px 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 15px;
  margin-bottom: 30px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.faq-question {
  padding: 18px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

.faq-toggle {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  color: #c5a059;
  font-weight: 700;
}

.faq-answer {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
  background-color: #fafaf8;
}

.faq-answer.show {
  padding: 18px;
  max-height: 500px;
}

.faq-answer p {
  color: #666;
  line-height: 1.8;
  font-size: 14px;
}

/* Footer */
footer {
  background-color: #1a1e2c;
  color: white;
  padding: 50px 0 25px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 30px;
}

.footer-section h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #c5a059;
}

.footer-section a {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #c5a059;
}

.footer-section p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.copyright {
  margin-top: 8px;
  font-size: 11px;
}

/* Scroll to Top */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #c5a059;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-decoration: none;
  line-height: 50px;
}

#scroll-top.show {
  display: flex;
}

#scroll-top:hover {
  background-color: #d4b574;
  transform: translateY(-4px);
}

/* 반응형 */
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
  }

  .menu-toggle {
    display: block;
  }

  header nav {
    display: none;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-description {
    font-size: 14px;
  }

  section h2 {
    font-size: 24px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .tag-cloud {
    justify-content: flex-start;
  }

  #scroll-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  header {
    padding: 12px 0;
  }

  .logo {
    font-size: 18px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 22px;
  }

  .hero-description {
    font-size: 13px;
  }

  section {
    padding: 35px 0;
  }

  section h2 {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .breadcrumb-list {
    font-size: 11px;
  }

  .course-card {
    padding: 18px;
  }

  .course-price {
    font-size: 12px;
    padding: 10px;
  }
}
