/*
Theme Name: Busan Massage
Theme URI: https://example.com
Author: Jun
Description: 부산출장마사지 전문 워드프레스 테마 - Figma 디자인 변환
Version: 1.0
Text Domain: busan-massage
*/

/* ========== Fonts ========== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@300;400;600;700&family=Noto+Sans+KR:wght@300;400;500;600&display=swap');

/* ========== Variables ========== */
:root {
  --bg: #0a1f1c;
  --fg: #e8f5f1;
  --card: #0d2b26;
  --card-fg: #d4ede7;
  --primary: #3d9b7e;
  --primary-hover: #2a7a63;
  --secondary: #134035;
  --muted: #1a5c4a;
  --muted-fg: #85d4be;
  --accent: #d4a843;
  --accent-fg: #0a1f1c;
  --subtle: #5bbfa0;
  --border: rgba(61, 155, 126, 0.2);
  --border-light: rgba(61, 155, 126, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg);
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Noto Sans KR', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Noto Serif KR', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

::selection { background-color: var(--primary); color: #fff; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

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

/* ========== Header / Nav ========== */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,31,28,0.95);
  backdrop-filter: blur(12px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-family: 'Noto Serif KR', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--muted-fg);
  letter-spacing: -0.02em;
}
.site-logo span { color: var(--accent); }

.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-size: 14px;
  color: var(--muted-fg);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--accent); }

.btn-cta {
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  display: inline-block;
}
.btn-cta:hover { background: var(--primary-hover); }

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--muted-fg);
  font-size: 24px;
  cursor: pointer;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
  z-index: 2;
}
.hero-subtitle {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero h1 {
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero h1 .highlight { color: var(--subtle); }
.hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted-fg);
  margin-bottom: 40px;
  max-width: 400px;
  font-weight: 300;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline {
  border: 1px solid rgba(61,155,126,0.4);
  color: var(--muted-fg);
  padding: 14px 32px;
  font-weight: 400;
  font-size: 15px;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--primary); color: #fff; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
}
.hero-stats .stat-number {
  font-family: 'Noto Serif KR', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.hero-stats .stat-label {
  font-size: 12px;
  color: var(--muted-fg);
  margin-top: 4px;
  letter-spacing: 0.06em;
}

.hero-img-wrap {
  position: relative;
  overflow: hidden;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-wrap .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 40%);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.hero-scroll .line { width: 32px; height: 1px; background: var(--primary); }
.hero-scroll span { font-size: 11px; letter-spacing: 0.15em; color: var(--subtle); }

/* ========== Trust Bar ========== */
.trust-bar {
  background: var(--card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 24px;
}
.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 80px);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-fg);
  letter-spacing: 0.02em;
}
.trust-item .check { color: var(--primary); font-size: 16px; }

/* ========== Section Common ========== */
.section-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}
.section-title {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--muted-fg);
  font-weight: 300;
  max-width: 480px;
}

/* ========== Services ========== */
.services { padding: 100px 24px; }
.services-header { margin-bottom: 64px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
}
.service-card {
  background: var(--card);
  overflow: hidden;
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-4px); }
.service-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--secondary);
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 28px 28px 32px; }
.service-card-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}
.service-card-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-fg);
  font-weight: 300;
  margin-bottom: 20px;
}
.service-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.service-card-meta .duration {
  font-size: 12px;
  color: var(--subtle);
  letter-spacing: 0.04em;
}
.service-card-meta .price {
  font-family: 'Noto Serif KR', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

/* ========== Areas ========== */
.areas {
  background: var(--card);
  padding: 100px 24px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.areas-desc {
  font-size: 15px;
  color: var(--muted-fg);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 40px;
}
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.area-tag {
  padding: 10px 20px;
  border: 1px solid rgba(61,155,126,0.3);
  font-size: 14px;
  color: var(--muted-fg);
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.area-tag:hover {
  background: var(--secondary);
  color: var(--fg);
  border-color: var(--primary);
}
.areas-note { margin-top: 20px; font-size: 12px; color: var(--subtle); }

/* ========== Pricing ========== */
.pricing { padding: 100px 24px; }
.pricing-header { margin-bottom: 64px; text-align: center; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
}
.pricing-card {
  background: var(--card);
  padding: 48px 36px;
  position: relative;
  border: 1px solid transparent;
  text-align: center;
  transition: transform 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.highlight {
  background: var(--secondary);
  border: 1px solid var(--primary);
}
.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  letter-spacing: 0.08em;
}
.pricing-name {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--subtle);
  margin-bottom: 12px;
}
.pricing-amount {
  font-family: 'Noto Serif KR', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.pricing-card.highlight .pricing-amount { color: var(--accent); }
.pricing-unit {
  font-size: 12px;
  color: var(--subtle);
  margin-top: 4px;
  margin-bottom: 20px;
}
.pricing-note {
  font-size: 13px;
  color: var(--muted-fg);
  margin-bottom: 32px;
}
.pricing-btn {
  display: block;
  border: 1px solid var(--primary);
  color: var(--muted-fg);
  padding: 12px;
  font-size: 14px;
  transition: all 0.2s;
  background: transparent;
}
.pricing-btn:hover,
.pricing-card.highlight .pricing-btn {
  background: var(--primary);
  color: #fff;
}

/* ========== Reviews ========== */
.reviews {
  background: var(--card);
  padding: 100px 24px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.reviews-header { margin-bottom: 56px; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}
.review-card {
  background: var(--bg);
  padding: 36px 32px;
}
.review-stars { display: flex; gap: 2px; margin-bottom: 20px; }
.review-stars span { color: var(--accent); font-size: 14px; }
.review-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted-fg);
  font-weight: 300;
  margin-bottom: 24px;
}
.review-author {
  font-size: 13px;
  color: var(--subtle);
}
.review-author cite { font-style: normal; font-weight: 500; }
.review-author .area { margin-left: 8px; opacity: 0.6; }

/* ========== FAQ ========== */
.faq { padding: 100px 24px; }
.faq .container { max-width: 900px; }
.faq-header { margin-bottom: 56px; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--fg);
}
.faq-question span:first-child {
  font-family: 'Noto Serif KR', serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.faq-toggle {
  color: var(--primary);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted-fg);
  font-weight: 300;
  padding-bottom: 24px;
}

/* ========== Contact / CTA ========== */
.contact {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--card) 100%);
  padding: 100px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.contact-desc {
  font-size: 16px;
  color: var(--muted-fg);
  font-weight: 300;
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 52px;
}
.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-phone:hover { background: var(--primary-hover); }
.btn-kakao {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.btn-kakao:hover { opacity: 0.85; }
.contact-response {
  margin-top: 32px;
  font-size: 13px;
  color: var(--subtle);
}

/* ========== Footer ========== */
.site-footer {
  background: #050f0d;
  padding: 48px 24px;
  border-top: 1px solid rgba(61,155,126,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}
.footer-logo {
  font-family: 'Noto Serif KR', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--muted-fg);
  margin-bottom: 16px;
}
.footer-logo span { color: var(--accent); }
.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--subtle);
  font-weight: 300;
  max-width: 300px;
}
.footer-nav-title {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-nav a {
  display: block;
  font-size: 13px;
  color: var(--subtle);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--muted-fg); }
.footer-contact-item {
  font-size: 13px;
  color: var(--subtle);
  margin-bottom: 8px;
}
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(61,155,126,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--primary-hover);
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 60px 24px; }
  .hero-img-wrap { height: 300px; }
  .areas-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-scroll { left: 24px; }
}
