/* ===== Variables – Warm Rose & Navy Purple Theme ===== */
:root {
  --primary: #E85D75;
  --primary-light: #FF8A9B;
  --accent: #F5C16C;
  --accent-soft: #FFD89B;
  --purple: #7B6BA8;
  --purple-dark: #4A3F6B;
  --bg-dark: #1C1829;
  --bg-mid: #2A2438;
  --bg-card: #322B45;
  --bg-warm: #3D2F3A;
  --text: #F8F4F0;
  --text-soft: #D4CBC4;
  --text-muted: #9E94A8;
  --border: rgba(255, 255, 255, 0.08);
  --glow: rgba(232, 93, 117, 0.2);
  --gradient-text: linear-gradient(135deg, #FFD89B 0%, #E85D75 50%, #B8A9D9 100%);
  --font-body: 'Noto Sans KR', -apple-system, sans-serif;
  --font-display: 'Playfair Display', 'Noto Sans KR', serif;
  --container: 1080px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color 0.2s, opacity 0.2s; }
a:hover { color: var(--accent); opacity: 1; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.02em;
}
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary-light);
}
.btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-gradient {
  background: linear-gradient(135deg, var(--purple) 0%, var(--primary) 60%, var(--accent) 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  flex-direction: row-reverse;
  box-shadow: 0 6px 24px rgba(232, 93, 117, 0.35);
  border-radius: 8px;
}
.btn-gradient:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(232, 93, 117, 0.5); }
.btn-icon { font-size: 16px; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(28, 24, 41, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  background: rgba(28, 24, 41, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.nav-brand::before {
  content: '사당노래빠';
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.nav-menu { display: flex; gap: 36px; }
.nav-menu a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.03em;
}
.nav-menu a:hover { color: var(--primary-light); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-soft); transition: 0.3s; }
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg-mid);
  padding: 28px 24px;
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  gap: 20px;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 18px; }
.mobile-menu a { color: var(--text-soft); font-weight: 500; font-size: 15px; }

/* ===== Hero ===== */
.hero {
  padding: calc(var(--header-h) + 100px) 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 10%, rgba(123, 107, 168, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(232, 93, 117, 0.2) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 100%);
  min-height: 90vh;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  max-width: 720px;
  color: var(--text);
  font-weight: 800;
  line-height: 1.25;
}
.hero-text {
  max-width: 600px;
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.9;
}
.hero-text strong { color: var(--accent); font-weight: 700; }
.hero-text a { color: var(--primary-light); font-weight: 700; font-size: 1.1em; }
.hero-image img {
  width: 100%;
  max-width: 380px;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.06);
}

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h6 {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.section-header h2 { font-size: clamp(26px, 3.5vw, 42px); color: var(--text); }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  display: inline-block;
}
.underline { text-decoration: underline; text-decoration-color: var(--primary); }

/* ===== Feature Card ===== */
.feature-card {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 36px;
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-warm) 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.feature-card-left { flex: 0 0 42%; padding: 40px 36px; }
.feature-card-right {
  flex: 0 0 48%;
  padding: 40px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.15);
}
.feature-desc p { color: var(--text-muted); font-size: 14px; line-height: 1.85; }
.facility-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 12px;
}
.feature-card-right > p:not(.facility-label) { color: var(--text-soft); font-size: 14px; }
.feature-img {
  width: 75%;
  max-width: 320px;
  margin: 20px 0;
  border-radius: 12px;
  opacity: 0.95;
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 3/4;
}

/* ===== Info Cards ===== */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.info-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 32px 32px;
  text-align: center;
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(74, 63, 107, 0.4) 100%);
  transition: transform 0.3s, border-color 0.3s;
}
.info-card:hover { transform: translateY(-6px); border-color: rgba(232, 93, 117, 0.3); }
.info-card:nth-child(2) { background: linear-gradient(160deg, rgba(61, 47, 58, 0.8) 0%, var(--bg-card) 100%); }
.icon-wrap {
  display: inline-flex;
  padding: 10px;
  border: 1px solid rgba(245, 193, 108, 0.3);
  border-radius: 50%;
  background: rgba(123, 107, 168, 0.2);
  margin-bottom: 20px;
}
.icon-wrap img,
.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}
.info-card h2 { margin-bottom: 20px; }
.info-card p { font-size: 15px; font-weight: 400; color: var(--text-soft); line-height: 1.8; }

/* ===== Price Banner ===== */
.price-banner { padding: 80px 0; background: var(--bg-mid); }
.banner-img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 3/4;
}

/* ===== Pricing ===== */
.pricing { background: radial-gradient(ellipse at center, rgba(123, 107, 168, 0.15) 0%, transparent 65%); }
.pricing-header { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 48px; flex-wrap: wrap; }
.pricing-header h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 20px;
}
.pricing-desc { color: var(--text-muted); max-width: 480px; font-size: 15px; line-height: 1.85; }
.pricing-notes { max-width: 460px; font-size: 13px; color: var(--text-muted); line-height: 1.9; }

/* ===== Counters ===== */
.counters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 80px; }
.counter-card {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.counter-card:hover { border-color: var(--primary); background: rgba(232, 93, 117, 0.08); transform: translateY(-4px); }
.counter-num { font-family: var(--font-display); font-size: 42px; font-weight: 800; color: var(--accent); line-height: 1; }
.counter-suffix { font-family: var(--font-display); font-size: 42px; font-weight: 800; color: var(--accent); }
.counter-title { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--text-soft); line-height: 1.5; }

/* ===== Visit Section ===== */
.visit-section { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.visit-text { flex: 0 0 40%; }
.visit-text h6 {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.visit-text h2 { font-size: clamp(24px, 2.5vw, 32px); font-weight: 700; margin-bottom: 20px; color: var(--text); }
.visit-text p { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.85; }
.visit-text .btn { margin-top: 28px; }
.visit-gallery { display: flex; gap: 20px; flex: 1; justify-content: center; }
.visit-gallery img {
  border-radius: 14px;
  max-height: 460px;
  width: auto;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
}

/* ===== Location ===== */
.location { padding-top: 20px; }
.location-header { text-align: center; margin-bottom: 56px; }
.location-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}
.location-header h6 { color: var(--accent); font-family: var(--font-body); font-size: 13px; font-weight: 500; margin-bottom: 14px; }
.location-header h2 { font-size: clamp(28px, 3.5vw, 40px); color: var(--text); }
.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.location-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-soft);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(74, 63, 107, 0.3) 100%);
  line-height: 1.9;
}
.location-card a { color: var(--primary-light); font-weight: 700; }
.location-map { grid-column: 1 / -1; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; height: 320px; }
.location-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.85) brightness(0.9); }
.location-img {
  width: 100%;
  max-width: 400px;
  margin: 28px auto 0;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 3/4;
}

/* ===== Events ===== */
.events {
  background: linear-gradient(180deg, transparent 0%, rgba(74, 63, 107, 0.2) 100%);
  padding: 100px 0 40px;
}
.events-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 28px; }
.events-header h6 { color: var(--accent); font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.events-header h2 { font-size: clamp(26px, 3vw, 38px); color: var(--text); }

/* ===== FAQ ===== */
.faq { background: var(--bg-mid); }
.faq-list { display: grid; gap: 20px; max-width: 800px; margin: 0 auto; }
.faq-item {
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}
.faq-item h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 12px;
}
.faq-item p { font-size: 14px; color: var(--text-muted); line-height: 1.85; margin: 0; }

/* ===== App / Footer Image ===== */
.app-section { padding: 0; position: relative; overflow: hidden; }
.app-bg img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: top center;
  opacity: 0.35;
  filter: hue-rotate(280deg);
}
.footer-image { padding: 40px 0; text-align: center; background: var(--bg-mid); }
.footer-image img {
  max-width: 380px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 3/4;
}

/* ===== Footer ===== */
.footer { padding: 48px 0; border-top: 1px solid var(--border); background: var(--bg-dark); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-social h5 { font-family: var(--font-display); font-size: 15px; margin-bottom: 14px; color: var(--text-soft); }
.social-links { display: flex; flex-wrap: wrap; gap: 18px; }
.social-links a { color: var(--text-muted); font-size: 13px; font-weight: 500; }
.social-links a:hover { color: var(--primary-light); }
.footer-text { color: var(--text-muted); font-size: 13px; }

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 900;
  box-shadow: 0 6px 20px rgba(232, 93, 117, 0.45);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); background: var(--primary-light); }

/* ===== Animations ===== */
.fade-in, .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible, .fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { transform: translateY(-16px); }
.fade-in.visible { transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .feature-card { flex-direction: column; }
  .feature-card-left, .feature-card-right { flex: 1; width: 100%; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .visit-section { flex-direction: column; }
  .visit-text { flex: 1; width: 100%; }
}

@media (max-width: 767px) {
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding-top: calc(var(--header-h) + 72px); min-height: auto; }
  .hero-image img { max-height: 360px; }
  .cards-grid { grid-template-columns: 1fr; }
  .counters-grid { grid-template-columns: 1fr; }
  .pricing-header { flex-direction: column; }
  .visit-gallery { flex-direction: column; align-items: center; }
  .location-grid { grid-template-columns: 1fr; }
  .events-header { flex-direction: column; align-items: center; text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .social-links { justify-content: center; }
}
