/* ===================================================================
   Joo Won Jung Golf — Premium Personal Branding Site
   Palette: Deep Navy (#0b1224) & Champagne Gold (#c9a25e)
=================================================================== */

:root {
  --navy-950: #05070f;
  --navy-900: #0b1224;
  --navy-800: #121a34;
  --navy-700: #1a2444;
  --gold-500: #c9a25e;
  --gold-400: #ddbd85;
  --gold-300: #efd9ae;
  --cream: #f6f2ea;
  --ink: #eef0f5;
  --muted: #a8b0c3;
  --serif: 'Cormorant Garamond', 'Noto Sans KR', serif;
  --sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  margin: 0;
  background: var(--navy-900);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* heavy navy wave drifting behind the entire page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 25% 30%, rgba(70,92,160,.9), transparent 55%),
    radial-gradient(ellipse 65% 55% at 80% 70%, rgba(48,66,128,.85), transparent 55%),
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(2,4,9,1), transparent 60%),
    radial-gradient(ellipse 55% 50% at 60% 15%, rgba(201,162,94,.28), transparent 55%),
    var(--navy-900);
  background-size: 260% 260%;
  background-repeat: no-repeat;
  filter: blur(45px);
  animation: navy-wave 16s ease-in-out infinite;
  will-change: background-position, transform;
}
@keyframes navy-wave {
  0%   { background-position: 20% 20%; transform: scale(1.1) rotate(0deg); }
  33%  { background-position: 65% 55%; transform: scale(1.25) rotate(3deg); }
  66%  { background-position: 40% 75%; transform: scale(1.15) rotate(-2.5deg); }
  100% { background-position: 20% 20%; transform: scale(1.1) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .cursor-ball { display: none; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- custom cursor ---------- */
.cursor-ball {
  position: fixed;
  top: 0; left: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #d9d9d9 60%, #b7b7b7);
  box-shadow: 0 0 12px rgba(255,255,255,.5), 0 0 2px rgba(0,0,0,.3) inset;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .12s var(--ease), opacity .3s;
  will-change: transform;
}
.cursor-ball::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  animation: trail-fade .8s ease-out infinite;
}
@keyframes trail-fade {
  0% { transform: scale(.4); opacity: .8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ---------- progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  z-index: 9998;
  transition: width .1s linear;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 5vw;
  mix-blend-mode: normal;
  background: linear-gradient(to bottom, rgba(5,7,15,.55), transparent);
}
.logo {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .12em;
  font-size: 1.05rem;
  color: var(--gold-300);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  font-size: .82rem;
  letter-spacing: .06em;
}
.site-nav a { opacity: .85; transition: opacity .25s; position: relative; }
.site-nav a:hover { opacity: 1; }
.site-nav a.nav-cta {
  border: 1px solid var(--gold-500);
  padding: 9px 20px;
  border-radius: 999px;
  opacity: 1;
}
.site-nav a.nav-cta:hover { background: var(--gold-500); color: var(--navy-950); }
.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--ink);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: .08em;
  cursor: pointer;
}
.lang-toggle:hover { border-color: var(--gold-400); color: var(--gold-300); }

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5,7,15,.92) 5%, rgba(5,7,15,.35) 45%, rgba(5,7,15,.15) 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 6vw 9vw;
  max-width: 780px;
}
.hero-eyebrow {
  color: var(--gold-300);
  letter-spacing: .18em;
  font-size: .8rem;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.08;
  margin: 0 0 20px;
  color: #fff;
}
.hero-title.typing::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--gold-300);
  margin-left: 5px;
  vertical-align: -0.1em;
  animation: caret-blink .85s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

.hero-fade {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.hero-fade.in {
  opacity: 1;
  transform: translateY(0);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 34px;
  max-width: 480px;
}
.btn-primary {
  display: inline-block;
  background: linear-gradient(120deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  padding: 17px 36px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(201,162,94,.35);
}
.scroll-cue {
  position: absolute;
  right: 6vw; bottom: 4vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--muted);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold-400), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -50%; left: 0; right: 0;
  height: 50%;
  background: var(--gold-300);
  animation: scroll-drip 1.8s ease-in-out infinite;
}
@keyframes scroll-drip {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ================= SECTION COMMON ================= */
section { position: relative; padding: 140px 6vw; }
.section-label {
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--gold-500);
  margin: 0 0 16px;
  font-weight: 600;
}
.section-label.light { color: var(--gold-300); }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin: 0 0 24px;
  color: #fff;
}
.section-title.light { color: #fff; }
.section-desc {
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 40px;
}
.section-desc.light { color: var(--muted); }

/* ================= ABOUT ================= */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6vw;
  align-items: center;
  background: rgba(11,18,36,.5);
}
.about-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.about-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.about-media::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201,162,94,.5);
  z-index: 2;
  pointer-events: none;
}
.credential-group {
  margin-bottom: 34px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.credential-group.in-view { opacity: 1; transform: translateY(0); }
.credential-group h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold-300);
  margin: 0 0 12px;
  font-weight: 600;
}
.credential-group li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .95rem;
  color: var(--ink);
}
.badge-row {
  margin-top: 18px;
  display: flex;
  gap: 14px;
}
.badge-logo {
  height: 52px;
  width: auto;
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
}

/* ================= PHILOSOPHY ================= */
.philosophy {
  background: radial-gradient(ellipse at 50% 0%, rgba(18,26,52,.55), rgba(5,7,15,.65));
  text-align: center;
}
.philosophy .section-title,
.philosophy .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.club-stage {
  margin: 60px auto 0;
  max-width: 640px;
  perspective: 1200px;
}
.club-3d {
  position: relative;
  height: 320px;
  margin: 0 auto;
  width: 100%;
  transform-style: preserve-3d;
  cursor: grab;
  touch-action: none;
}
.club-3d:active { cursor: grabbing; }
.club-shaft {
  position: absolute;
  top: 50%; left: 50%;
  width: 70%; height: 6px;
  background: linear-gradient(90deg, #1c2340, #3a4470 40%, var(--gold-400));
  transform: translate(-50%, -50%) rotate(-24deg);
  border-radius: 4px;
  box-shadow: 0 0 24px rgba(201,162,94,.15);
}
.club-grip {
  position: absolute;
  left: 12%; top: 44%;
  width: 60px; height: 16px;
  background: var(--navy-700);
  border: 1px solid rgba(255,255,255,.15);
  transform: rotate(-24deg);
  border-radius: 8px;
}
.club-head {
  position: absolute;
  right: 8%; top: 30%;
  width: 90px; height: 60px;
  background: linear-gradient(135deg, #10152a, #262f52);
  border-radius: 50% 60% 60% 40% / 60% 60% 40% 40%;
  transform: rotate(-10deg);
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
}
.hotspot {
  position: absolute;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px;
}
.hotspot-dot {
  display: block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 0 rgba(221,189,133,.6);
  animation: pulse 2.2s ease-out infinite;
}
.hotspot.active .hotspot-dot { background: #fff; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(221,189,133,.55); }
  70% { box-shadow: 0 0 0 16px rgba(221,189,133,0); }
  100% { box-shadow: 0 0 0 0 rgba(221,189,133,0); }
}
.hotspot-grip { left: 14%; top: 50%; }
.hotspot-shaft { left: 48%; top: 38%; }
.hotspot-face { right: 6%; top: 32%; }
.club-hint {
  margin-top: 28px;
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .04em;
}
.phil-panels {
  max-width: 900px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.phil-panel {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,162,94,.18);
  border-radius: 10px;
  padding: 28px 22px;
  text-align: left;
  opacity: .45;
  transition: opacity .35s var(--ease), transform .35s var(--ease), border-color .35s;
}
.phil-panel.active {
  opacity: 1;
  transform: translateY(-6px);
  border-color: var(--gold-400);
}
.phil-panel h4 {
  font-family: var(--serif);
  color: var(--gold-300);
  font-size: 1.15rem;
  margin: 0 0 10px;
}
.phil-panel p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
}

/* ================= COMMUNITY ================= */
.community {
  background: linear-gradient(180deg, rgba(5,7,15,.65), rgba(11,18,36,.5));
}
.community-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 6vw;
  align-items: center;
}
.community-audience {
  color: var(--gold-300);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  margin: 0 0 34px;
}
.community-facts { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.fact { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--gold-500); padding-left: 16px; }
.fact-label { font-size: .72rem; letter-spacing: .16em; color: var(--gold-500); }
.fact-value { font-size: 1rem; color: var(--ink); }
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--gold-500);
  border-radius: 999px;
  padding: 14px 26px;
  font-size: .88rem;
  transition: background .3s, color .3s;
}
.btn-call:hover { background: var(--gold-500); color: var(--navy-950); }
.btn-call-icon { font-size: 1.2rem; }
.btn-call-label { font-size: .7rem; letter-spacing: .1em; opacity: .75; }
.emblem {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-300);
  font-size: .95rem;
}
.emblem span { border-bottom: 1px solid rgba(201,162,94,.4); padding-bottom: 4px; }
.community-media { border-radius: 6px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.community-media img { width: 100%; }

/* ================= INQUIRY ================= */
.inquiry { background: rgba(11,18,36,.5); }
.inquiry-inner { max-width: 780px; margin: 0 auto; }
.inquiry-form { display: flex; flex-direction: column; gap: 26px; margin-top: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.inquiry-form label { display: flex; flex-direction: column; gap: 8px; font-size: .85rem; color: var(--muted); }
.inquiry-form label.full { width: 100%; }
.inquiry-form input[type="text"],
.inquiry-form input[type="tel"],
.inquiry-form select,
.inquiry-form textarea {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font-size: .95rem;
  font-family: var(--sans);
  outline: none;
  transition: border-color .25s;
}
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus { border-color: var(--gold-400); }
.phone-group { display: flex; gap: 8px; }
.phone-group select { flex: 0 0 92px; }
.phone-group input { flex: 1; }
fieldset { border: none; padding: 0; margin: 0; }
fieldset legend { font-size: .85rem; color: var(--muted); margin-bottom: 10px; padding: 0; }
.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-group label, .checkbox-group label {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.1);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .85rem;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.radio-group label:has(input:checked),
.checkbox-group label:has(input:checked) {
  border-color: var(--gold-400);
  color: var(--gold-300);
}
.radio-group input, .checkbox-group input { accent-color: var(--gold-500); }
.privacy { flex-direction: row; align-items: center; gap: 10px; font-size: .82rem; }
.btn-submit { align-self: flex-start; margin-top: 10px; }

/* ================= FOOTER ================= */
.site-footer {
  padding: 40px 6vw;
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
  background: var(--navy-950);
}

/* ================= FLOATING CONTACT ================= */
.floating-contact {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
  transition: transform .25s var(--ease);
}
.fab:hover { transform: scale(1.1) translateY(-2px); }
.fab-kakao { background: #f7e300; color: #3a1d1d; }
.fab-whatsapp { background: #25d366; }

/* ================= MODAL ================= */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(5,7,15,.75);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-backdrop.show { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--navy-800);
  border: 1px solid rgba(201,162,94,.3);
  border-radius: 14px;
  padding: 44px 40px;
  max-width: 420px;
  text-align: center;
  transform: translateY(16px);
  transition: transform .3s var(--ease);
}
.modal-backdrop.show .modal { transform: translateY(0); }
.modal-icon {
  width: 52px; height: 52px;
  line-height: 52px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 1.4rem;
  margin: 0 auto 20px;
}
.modal h3 { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 14px; color: #fff; }
.modal p { color: var(--muted); font-size: .9rem; margin: 0 0 26px; }

/* ================= RESPONSIVE ================= */
.mobile-only { display: none; }

@media (max-width: 980px) {
  .about, .community-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; max-width: 420px; margin: 0 auto; }
  .phil-panels { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { cursor: auto; }
  .cursor-ball { display: none; }
  .site-nav { display: none; }
  section { padding: 90px 6vw; }
  .hero-content { padding: 0 6vw 16vw; }
  .mobile-only { display: inline; }
  .scroll-cue { right: 6vw; bottom: 6vw; }
  .community-media { order: -1; }
}
