/*
Theme Name: Classic Olive - 헤어샵426
Theme URI: https://barbershopro.janganhair.com
Description: 남자펌 잘하는 미용실 헤어샵426 전용 클래식 올리브 테마
Version: 1.0
Author: JANGANHAIR
Text Domain: classic-olive
*/

/* ===== CSS Variables ===== */
:root {
  --olive-dark: #2c3520;
  --olive-main: #3d4a2c;
  --olive-light: #5a6b42;
  --olive-accent: #7a8c5e;
  --gold: #c8b560;
  --gold-light: #d4c9a8;
  --cream: #f5f0e8;
  --cream-dark: #e8e0d0;
  --text-dark: #1a1a1a;
  --text-body: #3a3a3a;
  --text-light: #6a6a6a;
  --white: #ffffff;
  --shadow: 0 2px 20px rgba(44, 53, 32, 0.08);
  --shadow-hover: 0 8px 32px rgba(44, 53, 32, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::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;
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-main); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--olive-dark);
  line-height: 1.3;
}

/* ===== Header / Navigation ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 10px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--olive-dark);
  letter-spacing: -0.5px;
}

.site-logo-text span {
  color: var(--gold);
}

.header-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.header-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 0;
  position: relative;
}

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

.header-nav a:hover::after { width: 100%; }

.header-cta {
  background: var(--olive-main);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.header-cta:hover {
  background: var(--olive-light) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--olive-dark);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive-main) 50%, var(--olive-light) 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('') center/cover;
  opacity: 0.15;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text { color: var(--white); }

.hero-badge {
  display: inline-block;
  background: rgba(200,181,96,0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 42px;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--olive-dark);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,181,96,0.3);
  color: var(--olive-dark);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: 20px;
  opacity: 0.3;
}

/* ===== Section Common ===== */
.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-light);
}

.section-title .accent-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== Info Highlights ===== */
.info-highlights {
  background: var(--white);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.highlight-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--cream);
  border-radius: var(--radius);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.highlight-icon {
  width: 56px;
  height: 56px;
  background: var(--olive-main);
  color: var(--gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

.highlight-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* ===== Price Table ===== */
.price-section {
  background: var(--cream);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.price-card.featured {
  border: 2px solid var(--gold);
  position: relative;
}

.price-card.featured::before {
  content: 'BEST';
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--olive-dark);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.price-card-header {
  background: var(--olive-main);
  color: var(--white);
  padding: 24px;
  text-align: center;
}

.price-card-header h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 4px;
}

.price-card-header .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
}

.price-card-header .price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--gold-light);
}

.price-card-body {
  padding: 24px;
}

.price-card-body ul {
  list-style: none;
}

.price-card-body li {
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-card-body li::before {
  content: '\2713';
  color: var(--olive-light);
  font-weight: 700;
}

/* ===== Gallery ===== */
.gallery-section {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.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::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,53,32,0.4), transparent);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ===== About / Eyebrow Service ===== */
.about-section {
  background: linear-gradient(135deg, var(--olive-dark), var(--olive-main));
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  color: var(--white);
  font-size: 30px;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--gold-light);
  margin-bottom: 16px;
  line-height: 1.9;
}

.about-feature {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(200,181,96,0.2);
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--olive-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.about-feature h4 {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 14px;
  color: var(--gold-light);
  margin-bottom: 0;
}

.about-image img {
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

/* ===== Blog / Posts ===== */
.blog-section {
  background: var(--cream);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 20px;
}

.blog-card-body h3 {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-body h3 a {
  color: var(--olive-dark);
}

.blog-card-body h3 a:hover {
  color: var(--gold);
}

.blog-card-body p {
  font-size: 14px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  padding: 12px 20px;
  border-top: 1px solid var(--cream-dark);
  font-size: 12px;
  color: var(--text-light);
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  background: var(--cream);
  transition: var(--transition);
  font-weight: 600;
  font-size: 15px;
}

.faq-question:hover {
  background: var(--cream-dark);
}

.faq-question .toggle {
  font-size: 20px;
  color: var(--olive-light);
  transition: var(--transition);
}

.faq-item.active .faq-question .toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 16px 24px;
  max-height: 300px;
}

/* ===== Contact / CTA ===== */
.contact-section {
  background: var(--olive-main);
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}

.contact-section h2 {
  color: var(--white);
  font-size: 30px;
  margin-bottom: 12px;
}

.contact-section p {
  color: var(--gold-light);
  margin-bottom: 32px;
  font-size: 16px;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--gold);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(200,181,96,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--olive-dark);
  color: var(--gold-light);
  padding: 40px 24px;
  text-align: center;
  font-size: 13px;
}

.site-footer a {
  color: var(--gold);
}

/* ===== Post / Page Content Styles ===== */
.post-content,
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.post-content h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.post-content h2 {
  font-size: 24px;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cream-dark);
}

.post-content h3 {
  font-size: 20px;
  margin: 32px 0 12px;
}

.post-content p {
  margin-bottom: 16px;
}

.post-content img {
  border-radius: var(--radius);
  margin: 24px 0;
  box-shadow: var(--shadow);
}

.post-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  background: var(--cream);
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
}

.post-content ul, .post-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.post-content li {
  margin-bottom: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-image { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-buttons { justify-content: center; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { min-height: 70vh; }
  .hero h1 { font-size: 28px; }
  .section { padding: 60px 16px; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-info { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .highlights-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title h2 { font-size: 24px; }
}
