/* 엄마 손맛 김치 - 춘자네명품김치 Dark Indigo Theme */
:root {
  --primary: #5c83e8;
  --primary-dark: #3d5fc0;
  --primary-light: #7ea0ff;
  --accent: #d4af37;
  --bg-dark: #0f1328;
  --bg-body: #141830;
  --bg-card: #1a2040;
  --bg-section: #111530;
  --bg-elevated: #1e2550;
  --text-bright: #f0f4ff;
  --text-body: #c0c8e0;
  --text-light: #8892b0;
  --text-muted: #5a6480;
  --border: #2a3060;
  --border-light: #222850;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
  --transition: 0.3s ease;
}

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

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

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-body);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img { width: 48px; height: 48px; border-radius: 50%; }
.site-logo-text { font-size: 1.2rem; font-weight: 700; color: var(--text-bright); }
.site-logo-text span { color: var(--accent); }
.header-nav { display: flex; gap: 24px; align-items: center; }
.header-nav a { color: var(--text-light); font-size: 0.9rem; font-weight: 500; }
.header-nav a:hover { color: var(--primary-light); }
.header-contact { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--bg-dark) 0%, #151a3a 40%, #1a2248 70%, var(--bg-dark) 100%);
  overflow: hidden;
  padding: 80px 24px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(92,131,232,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(212,175,55,0.04) 0%, transparent 60%);
  animation: heroGlow 12s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(2%, -2%); }
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-bright);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .primary { color: var(--primary-light); }
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 400;
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero-badge {
  display: inline-block;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-images {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
}
.hero-images img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: transform var(--transition);
}
.hero-images img:hover { transform: scale(1.05); }

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg-section);
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-bright);
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-label {
  display: block;
  text-align: center;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
}
.card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.product-card-body { padding: 24px; }
.product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.product-card p {
  color: var(--text-body);
  font-size: 0.9rem;
}

/* ===== STEP GRID ===== */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  counter-reset: steps;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  counter-increment: steps;
  transition: all var(--transition);
}
.step-card::before {
  content: counter(steps, decimal-leading-zero);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(92,131,232,0.12);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}
.step-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 10px;
}
.step-card p {
  color: var(--text-body);
  font-size: 0.9rem;
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(15,19,40,0.9));
  color: var(--text-bright);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ===== INFO TABLE ===== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.info-table th,
.info-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.info-table th {
  background: var(--bg-elevated);
  color: var(--text-bright);
  font-weight: 700;
  white-space: nowrap;
}
.info-table td { color: var(--text-body); }
.info-table tr:hover td { background: rgba(92,131,232,0.04); }

/* ===== FAQ ACCORDION ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
}
.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-bright);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-elevated); }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}
.faq-answer p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--bg-dark), #1a1f45, var(--bg-dark));
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-section h2 {
  font-size: 2rem;
  color: var(--text-bright);
  margin-bottom: 16px;
}
.cta-section p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-phone {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #c4a030);
  color: var(--bg-dark);
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 1px;
  transition: all var(--transition);
}
.cta-phone:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(212,175,55,0.3);
  color: var(--bg-dark);
}
.cta-brand {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand h3 { color: var(--text-bright); font-size: 1.2rem; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.footer-links h4 { color: var(--text-light); font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a { display: block; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 10px; }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-body { padding: 24px; }
.blog-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card-body p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  padding: 14px 24px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.blog-card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
}

/* ===== POST CONTENT ===== */
.post-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 48px 24px;
}
.post-content h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-bright);
  margin-bottom: 24px;
  line-height: 1.3;
}
.post-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-bright);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.post-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: 32px;
  margin-bottom: 12px;
}
.post-content p {
  margin-bottom: 18px;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.85;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}
.post-content table th,
.post-content table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.post-content table th {
  background: var(--bg-elevated);
  color: var(--text-bright);
  font-weight: 700;
}
.post-content table td { color: var(--text-body); }
.post-content blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-card);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-light);
}
.post-content ul, .post-content ol {
  margin: 16px 0 24px 24px;
  color: var(--text-body);
}
.post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.03));
  border: 1px solid rgba(212,175,55,0.2);
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}
.highlight-box h4 {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.highlight-box p, .highlight-box li {
  color: var(--text-body);
  font-size: 0.95rem;
}

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  padding: 24px 28px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}
.info-box h4 {
  color: var(--primary-light);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.info-box p, .info-box li {
  color: var(--text-body);
  font-size: 0.95rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-body);
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-image { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.about-image img { width: 100%; height: 400px; object-fit: cover; }
.about-text h3 { color: var(--text-bright); font-size: 1.3rem; margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; }

/* ===== KNOWLEDGE GRID ===== */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 32px; }
  .blog-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
  .hero { min-height: 60vh; padding: 60px 20px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-images { flex-wrap: wrap; }
  .hero-images img { width: 140px; height: 140px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.7rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image img { height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-images img { width: 110px; height: 110px; }
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .card { padding: 24px 20px; }
  .step-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .cta-phone { font-size: 1.1rem; padding: 14px 32px; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .info-table th, .info-table td { padding: 10px 12px; font-size: 0.85rem; }
}
