/* ============================================
   KANG Official Website - Main Stylesheet
   ============================================
   이 파일은 전체 사이트의 디자인을 담당합니다.
   색상, 폰트, 레이아웃을 변경하려면 이 파일을 수정하세요.
   ============================================ */

/* ---------- CSS Variables (쉽게 색상 변경 가능) ---------- */
:root {
  --primary: #0a0a0f;
  --secondary: #12121a;
  --accent: #ff6b35;          /* 주황/불꽃 포인트 컬러 */
  --accent2: #4ecdc4;         /* 청록 포인트 */
  --text: #f0f0f5;
  --text-muted: #a0a0b0;
  --glass: rgba(20, 20, 30, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-main: 'Noto Sans KR', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Noto Sans KR', 'Playfair Display', sans-serif;
  /* 한글+영문 혼용: Noto Sans KR 기본. 로컬 폰트는 아래 참고 */
  --max-width: 1200px;
  --header-height: 70px;
  --transition: 0.3s ease;
}

/* ---------- 로컬 한글 폰트 사용 시 (선택) ----------
   1. fonts/ 폴더에 .woff2 넣기
   2. 아래 주석 해제
   3. --font-main 맨 앞에 'MyFont' 추가

@font-face {
  font-family: 'MyFont';
  src: url('../fonts/MyFont.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
-------------------------------------------------- */



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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--primary);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: background var(--transition);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text);
  text-transform: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo span {
  color: var(--accent);
}

/* Desktop Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.3rem 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a.active {
  color: var(--accent);
}

/* Social Icons in Header */
.social-links {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

/* 모바일용 소셜 아이콘은 기본적으로 숨김 (데스크톱에서 중복 방지) */
.social-links-mobile {
  display: none !important;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  transition: all var(--transition);
  font-size: 1rem;
}

.social-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,15,0.4) 0%,
    rgba(10,10,15,0.7) 50%,
    rgba(10,10,15,0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.hero-content h1 {
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--accent), #e85a2a);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(255,107,53,0.1);
  color: var(--accent);
  box-shadow: none;
}

/* ---------- Main Content Sections ---------- */
.section {
  padding: 5rem 1.5rem;
  position: relative;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- Page Hero (smaller for sub pages) ---------- */
.page-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: var(--header-height);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.3) 0%, rgba(10,10,15,0.9) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.page-hero-content h1 {
  margin-bottom: 0.3rem;
}

.page-hero-content p {
  color: var(--text-muted);
}

/* ---------- Music Page ---------- */
.album-grid {
  display: grid;
  gap: 3rem;
}

.album-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  background: var(--secondary);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: transform var(--transition);
}

.album-card:hover {
  transform: translateY(-4px);
}

.album-cover {
  position: relative;
  aspect-ratio: 1;
  background: #1a1a25;
  overflow: hidden;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a25, #2a2a3a);
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.album-info {
  padding: 2rem 2rem 2rem 0;
  display: flex;
  flex-direction: column;
}

.album-info h3 {
  margin-bottom: 0.5rem;
}

.album-info .album-year {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.track-list {
  flex: 1;
  margin-bottom: 1.5rem;
}

.track-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
}

.track-list li:last-child {
  border-bottom: none;
}

.track-num {
  color: var(--text-muted);
  width: 28px;
  flex-shrink: 0;
}

.track-title {
  flex: 1;
}

.track-link {
  color: var(--accent2);
  font-size: 0.85rem;
  opacity: 0.8;
}

.track-link:hover {
  opacity: 1;
  color: var(--accent);
}

.album-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ---------- News Page ---------- */
.coming-soon {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--secondary);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.coming-soon h2 {
  margin-bottom: 0.75rem;
}

.coming-soon p {
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

/* ---------- Videos Page ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.video-card {
  background: var(--secondary);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: transform var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #1a1a25;
  overflow: hidden;
}

.video-thumb iframe,
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.video-thumb .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255,107,53,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  pointer-events: none;
}

.video-info {
  padding: 1.2rem;
}

.video-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.video-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: var(--secondary);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--glass-border);
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(255,107,53,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-item p,
.contact-item a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-photo {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

/* ---------- Subscribe Section / Page ---------- */
.subscribe-box {
  background: linear-gradient(135deg, rgba(255,107,53,0.12), rgba(78,205,196,0.08));
  border: 1px solid rgba(255,107,53,0.25);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.subscribe-box h2 {
  margin-bottom: 0.8rem;
}

.subscribe-box p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.subscribe-form input {
  padding: 0.95rem 1.2rem;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.subscribe-form input:focus {
  border-color: var(--accent);
}

.subscribe-form input::placeholder {
  color: var(--text-muted);
}

.subscribe-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--secondary);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
  display: inline-block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer h4 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.old-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.old-site-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Privacy / Terms ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--secondary);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--glass-border);
}

.legal-content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.3rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  list-style: disc;
  margin-bottom: 0.75rem;
}


/* ---------- Footer with artistic background ---------- */
.footer-with-bg {
  position: relative;
  overflow: hidden;
  background: transparent;
  border-top: none;
}

.footer-with-bg .footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footer-with-bg .footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 모바일에서 세로(9:16에 가까운) 느낌으로 중앙~상단 크롭 */
  object-position: center 30%;
}

.footer-with-bg .footer-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* 텍스트 가독성을 위한 어두운 오버레이 */
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.88) 0%,
    rgba(10, 10, 15, 0.92) 50%,
    rgba(10, 10, 15, 0.95) 100%
  );
}

.footer-with-bg .footer-inner,
.footer-with-bg .footer-bottom {
  position: relative;
  z-index: 2;
}

.footer-with-bg .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
}


/* Track list without listen link - full width title */
.track-list li .track-title {
  flex: 1;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .album-card {
    grid-template-columns: 1fr;
  }
  .album-cover {
    max-width: 280px;
    margin: 0 auto;
  }
  .album-info {
    padding: 1.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--glass);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-inner > .social-links {
    display: none; /* 모바일에서는 헤더 우측 소셜 숨김 */
  }

  .nav .social-links-mobile {
    display: flex !important;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
  }

  .hero {
    min-height: 85vh;
  }

  .page-hero {
    height: 35vh;
    min-height: 260px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .header-inner {
    padding: 0 1rem;
  }
  .section {
    padding: 3.5rem 1rem;
  }
  .subscribe-box {
    padding: 2rem 1.2rem;
  }
  .album-actions {
    flex-direction: column;
  }
  .album-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Font Awesome icons fallback (using emoji/unicode if no FA) ---------- */
.icon-twitter::before { content: '𝕏'; }
.icon-instagram::before { content: '📷'; }
.icon-youtube::before { content: '▶'; }
.icon-email::before { content: '✉'; }
.icon-location::before { content: '📍'; }
.icon-play::before { content: '▶'; }

/* Album actions - space before credits */
.album-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

/* Album credits - moderate separation */
.album-credits {
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.album-credits h4 {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.album-credits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.album-credits li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.4rem;
  padding-left: 0;
  border-bottom: none;
}

.album-credits li:last-child {
  margin-bottom: 0;
}

