/* ============================================================
   인제 숲결 — 인제군 여행 패키지
   Design System: Forest / Minimal / Calm
   ============================================================ */

:root {
  /* Colors */
  --bg: #FAFAF6;
  --bg-cream: #F2EFE6;
  --bg-deep: #0F1A12;
  --ink: #16201A;
  --ink-2: #4A5547;
  --ink-3: #828A7E;
  --line: #DDDACE;
  --line-2: #EBE8DE;

  --green-deep: #1F3A23;
  --green: #355C36;
  --green-soft: #6D8E5C;
  --green-mist: #C9D4BD;

  --birch: #E8DCC4;
  --birch-dark: #B49C72;
  --berry: #3B2B4F;
  --gold: #B7913E;

  /* Type */
  --font-serif: "Noto Serif KR", "EB Garamond", Georgia, serif;
  --font-sans: "Noto Sans KR", "Inter", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --pad-section: clamp(80px, 10vw, 160px);
  --pad-x: clamp(24px, 6vw, 96px);
  --container: 1280px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============================================================
   Typography
   ============================================================ */

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
  font-family: var(--font-sans);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--green);
  vertical-align: middle;
  margin-right: 12px;
  margin-bottom: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.h-display {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.h-section {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.h-card {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 56ch;
}

.small {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* ============================================================
   Layout
   ============================================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.container-wide {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section { padding: var(--pad-section) 0; }

/* ============================================================
   Nav
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 250, 246, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav.invert {
  background: transparent;
  color: #FAFAF6;
}

.nav.invert .nav-link { color: rgba(250,250,246,0.85); }
.nav.invert .logo { color: #FAFAF6; }
.nav.invert .logo-mark { background: #FAFAF6; }
.nav.invert .logo-mark::before, .nav.invert .logo-mark::after { background: var(--green-deep); }

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--green-deep);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  background: var(--birch);
  border-radius: 1px;
}
.logo-mark::before {
  width: 2px;
  height: 18px;
  left: 10px;
  top: 7px;
}
.logo-mark::after {
  width: 2px;
  height: 14px;
  right: 10px;
  top: 9px;
}

.logo-sub {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.2s;
  letter-spacing: -0.005em;
}

.nav-link:hover { color: var(--green-deep); }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: all 0.25s;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(250,250,246,0.5);
  color: var(--bg);
}
.btn-ghost-light:hover {
  background: var(--bg);
  color: var(--green-deep);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  transition: gap 0.25s;
}

.btn-text:hover { gap: 14px; }

.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform 0.25s;
}
.btn:hover .btn-arrow::after { transform: translateX(4px); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  color: var(--bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15,26,18,0.55) 0%,
    rgba(15,26,18,0.35) 50%,
    rgba(15,26,18,0.75) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--pad-x);
  padding-bottom: clamp(60px, 8vw, 110px);
}

.hero-meta {
  display: flex;
  gap: 32px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 36px;
  color: rgba(250,250,246,0.85);
}

.hero-meta span { display: flex; align-items: center; gap: 10px; }
.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green-mist);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 32px;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--green-mist);
}

.hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
}

.hero-tag {
  font-size: 16px;
  max-width: 36ch;
  line-height: 1.6;
  color: rgba(250,250,246,0.9);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  transform: rotate(90deg) translateY(-50%);
  transform-origin: right top;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250,250,246,0.7);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-scroll::after {
  content: "";
  width: 60px;
  height: 1px;
  background: rgba(250,250,246,0.5);
}

/* ============================================================
   Section header
   ============================================================ */

.sec-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 72px;
  align-items: end;
}

.sec-head-right { max-width: 56ch; }

@media (max-width: 880px) {
  .sec-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   Package cards (landing)
   ============================================================ */

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

.pkg-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--bg-cream);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s;
}
.pkg-card:hover { transform: translateY(-4px); }

.pkg-card-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  background: var(--green-deep);
}
.pkg-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}
.pkg-card:hover .pkg-card-img img { transform: scale(1.04); }

.pkg-card-badge {
  position: absolute;
  top: 18px; left: 18px;
  padding: 6px 12px;
  background: rgba(250,250,246,0.92);
  color: var(--green-deep);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  font-weight: 500;
}

.pkg-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.pkg-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pkg-card-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.pkg-card-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
  flex: 1;
}

.pkg-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}

.pkg-card-price {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
}
.pkg-card-price .unit {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 2px;
  text-transform: uppercase;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--bg-deep);
  color: rgba(250,250,246,0.7);
  padding: 96px var(--pad-x) 40px;
  margin-top: 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(250,250,246,0.12);
}

.footer h4 {
  font-family: var(--font-sans);
  color: var(--bg);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}

.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--bg); }

.footer-brand {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--bg);
  margin-bottom: 16px;
  line-height: 1.1;
}

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(250,250,246,0.4);
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Utility
   ============================================================ */

.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-cream);
  font-size: 12px;
  color: var(--green-deep);
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
}

.tag-dark {
  background: var(--green-deep);
  color: var(--green-mist);
  border-color: transparent;
}

/* Mobile */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { display: flex; }
  .hero-meta { gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
  .hero-scroll { display: none; }
}
