/* ════════════════════════════════════════════
   유럽 트래블 허브 — Light European Theme
   ════════════════════════════════════════════ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Light Color Palette */
  --bg: #fdf6ee;
  --bg-card: #ffffff;
  --bg-warm: #f7ede0;
  --bg-section: #faf3ea;

  --gold: #c08830;
  --gold-light: #e8b860;
  --gold-dim: #a07020;
  --gold-pale: #f5e8c8;

  --paris-a: #ede8f8;
  --paris-b: #d8cff0;
  --paris-c: #7060c8;
  --paris-text: #3a2880;

  --swiss-a: #e0eff8;
  --swiss-b: #c0def5;
  --swiss-c: #3070b0;
  --swiss-text: #1a4878;

  --italy-a: #faeae0;
  --italy-b: #f5d0b8;
  --italy-c: #c85030;
  --italy-text: #8a2a10;

  --text-primary: #2c1f0e;
  --text-secondary: #7a6040;
  --text-muted: #b0956a;
  --text-light: #d4b98a;

  --border: rgba(180, 140, 80, 0.2);
  --border-card: rgba(180, 140, 80, 0.15);
  --shadow-card: 0 4px 32px rgba(140, 100, 40, 0.1);
  --shadow-hover: 0 16px 60px rgba(140, 100, 40, 0.18);

  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-card: 24px;
  --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* No starfield — light theme uses soft gradient blobs instead */
.stars {
  display: none;
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 40px;
  background: rgba(253, 246, 238, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(140, 100, 40, 0.07);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  color: var(--gold);
  font-size: 1.2rem;
  animation: rotateStar 10s linear infinite;
}

@keyframes rotateStar {
  to {
    transform: rotate(360deg);
  }
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-tag {
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border: 1px solid rgba(180, 140, 80, 0.35);
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--gold-pale);
}

.nav-budget-btn {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gold-dim);
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(180, 140, 80, 0.4);
  background: var(--gold-pale);
  font-weight: 500;
  transition: all var(--transition);
}

.nav-budget-btn:hover {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(192, 136, 48, 0.3);
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(160, 200, 255, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 10%, rgba(255, 220, 160, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(255, 240, 210, 0.5) 0%, transparent 70%),
    linear-gradient(180deg, #e8f4ff 0%, #f5ecd8 50%, #fdf6ee 100%);
}

/* Warm European skyline in light mode */
.skyline-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 300px;
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.title-line {
  display: block;
}

.title-line.highlight {
  background: linear-gradient(135deg, var(--gold-dim) 0%, var(--gold) 40%, #e8a830 70%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-divider span:not(.divider-icon) {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.divider-icon {
  color: var(--gold);
  font-size: 1rem;
}

.hero-scroll-hint {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(192, 136, 48, 0.5);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrollDot 2.5s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  70% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════
   DESTINATIONS SECTION
══════════════════════════════════════════ */
.destinations {
  position: relative;
  z-index: 1;
  padding: 80px 24px 100px;
  max-width: 1400px;
  margin: 0 auto;
  background: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 20px;
  letter-spacing: 0.04em;
}

/* ─── Cards Grid ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* ─── Individual Card ─── */
.dest-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-card);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  min-height: 540px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.dest-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: var(--shadow-hover);
  border-color: rgba(180, 140, 80, 0.35);
}

.dest-card.featured {
  transform: translateY(-6px);
  box-shadow: 0 8px 40px rgba(140, 100, 40, 0.14);
  border-color: rgba(180, 140, 80, 0.25);
}

.dest-card.featured:hover {
  transform: translateY(-16px) scale(1.015);
}

/* Card badge */
.card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: white;
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(192, 136, 48, 0.4);
}

/* ─── Card Background Zones ─── */
.card-bg {
  position: relative;
  height: 260px;
  flex-shrink: 0;
  overflow: hidden;
}

.card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(255, 255, 255, 0.5) 60%, #ffffff 100%);
  z-index: 1;
}

.card-illustration {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  filter: drop-shadow(0 -8px 20px rgba(0, 0, 0, 0.08));
  transition: transform var(--transition);
}

.dest-card:hover .card-illustration {
  transform: translateX(-50%) scale(1.06) translateY(-6px);
}

/* Paris — soft lavender sky */
.paris-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(180, 160, 240, 0.3) 0%, transparent 70%),
    linear-gradient(170deg, var(--paris-a) 0%, var(--paris-b) 100%);
}

/* Switzerland — soft alpine blue */
.swiss-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(120, 190, 240, 0.35) 0%, transparent 70%),
    linear-gradient(170deg, var(--swiss-a) 0%, var(--swiss-b) 100%);
}

/* Italy — warm terracotta sunrise */
.italy-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(220, 140, 100, 0.4) 0%, transparent 70%),
    linear-gradient(170deg, var(--italy-a) 0%, var(--italy-b) 100%);
}

/* Illustration sizes */
.eiffel {
  width: 100px;
  height: auto;
  bottom: -2px;
}

.mountains {
  width: 210px;
  height: auto;
  bottom: -4px;
}

.colosseum {
  width: 195px;
  height: auto;
  bottom: -2px;
}

/* Per-card hover glow */
#card-paris:hover {
  box-shadow: 0 20px 60px rgba(112, 96, 200, 0.2), 0 4px 20px rgba(140, 100, 40, 0.08);
}

#card-switzerland:hover {
  box-shadow: 0 20px 60px rgba(48, 112, 176, 0.2), 0 4px 20px rgba(140, 100, 40, 0.08);
}

#card-italy:hover {
  box-shadow: 0 20px 60px rgba(200, 80, 48, 0.2), 0 4px 20px rgba(140, 100, 40, 0.08);
}

/* ─── Card Content ─── */
.card-content {
  position: relative;
  z-index: 3;
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #ffffff;
}

.card-flag {
  font-size: 2rem;
  margin-bottom: 8px;
  line-height: 1;
}

.card-country {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.card-city {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.card-city-kr {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--gold-dim);
  margin-bottom: 14px;
}

.card-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 18px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.tag {
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--gold-dim);
  background: var(--gold-pale);
  letter-spacing: 0.04em;
  transition: background 0.25s, border-color 0.25s;
}

.dest-card:hover .tag {
  background: rgba(192, 136, 48, 0.15);
  border-color: rgba(192, 136, 48, 0.4);
}

.card-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-dim);
  letter-spacing: 0.04em;
  padding-top: 16px;
  border-top: 1px solid rgba(180, 140, 80, 0.15);
  transition: gap var(--transition), color var(--transition);
}

.dest-card:hover .card-cta {
  gap: 16px;
  color: var(--gold);
}

.card-cta svg {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.dest-card:hover .card-cta svg {
  transform: translateX(4px);
}

/* ══════════════════════════════════════════
   BUDGET CTA BANNER
══════════════════════════════════════════ */
.budget-cta {
  position: relative;
  z-index: 1;
  padding: 0 24px 80px;
}

.budget-cta-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 44px 52px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff9f0 0%, #fdf0d8 100%);
  border: 1px solid rgba(192, 136, 48, 0.2);
  box-shadow: 0 8px 40px rgba(140, 100, 40, 0.1);
  position: relative;
  overflow: hidden;
}

.budget-cta-inner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 136, 48, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.cta-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.7;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-features span {
  font-size: 0.74rem;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(192, 136, 48, 0.3);
  background: rgba(192, 136, 48, 0.08);
  color: var(--gold-dim);
  font-weight: 500;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  border: none;
  color: white;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition);
  box-shadow: 0 6px 24px rgba(192, 136, 48, 0.35);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(192, 136, 48, 0.5);
}

.cta-btn svg {
  transition: transform var(--transition);
}

.cta-btn:hover svg {
  transform: translateX(4px);
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(to bottom, var(--bg-warm), var(--bg));
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold-dim);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.footer-credits {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .dest-card.featured {
    transform: none;
  }

  .dest-card:hover {
    transform: translateY(-8px);
  }

  .site-header {
    padding: 14px 20px;
  }

  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 12px 16px;
  }

  .logo-text {
    font-size: 0.92rem;
  }

  .destinations {
    padding: 60px 16px 70px;
  }

  .budget-cta-inner {
    flex-direction: column;
    padding: 28px 20px;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .nav-budget-btn {
    display: none;
  }
}

/* ── Scroll-reveal cards ── */
.dest-card {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow var(--transition), border-color var(--transition);
}

.dest-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.dest-card.featured.visible {
  opacity: 1;
  transform: translateY(-6px);
}

.dest-card.visible:hover {
  transform: translateY(-10px) scale(1.015);
}

.dest-card.featured.visible:hover {
  transform: translateY(-16px) scale(1.015);
}

/* ══════════════════════════════════════════
   MOBILE TOUCH / IOS OPTIMIZATIONS
══════════════════════════════════════════ */
@media (max-width: 500px) {

  /* 히어로 여백 축소 */
  .hero {
    padding: 80px 16px 60px;
  }

  .hero-title {
    font-size: 2.6rem;
    gap: 2px;
  }

  .hero-subtitle {
    font-size: .95rem;
  }

  /* 헤더 */
  .site-header {
    padding: 12px 14px;
  }

  .logo-text {
    font-size: .88rem;
  }

  /* 목적지 섹션 */
  .destinations {
    padding: 48px 14px 60px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  /* CTA 배너 */
  .budget-cta {
    padding: 0 14px 50px;
  }

  .budget-cta-inner {
    padding: 28px 18px;
  }

  .cta-title {
    font-size: 1.4rem;
  }

  /* 터치 시 hover 효과 제거로 버벅임 방지 */
  .dest-card:hover,
  .dest-card.featured:hover,
  .dest-card.visible:hover,
  .dest-card.featured.visible:hover {
    transform: none !important;
    box-shadow: var(--shadow-card) !important;
  }

  /* 카드 누를 때 피드백 */
  .dest-card:active {
    transform: scale(0.97) !important;
    transition: transform 0.1s ease !important;
  }

  /* 카드 최소 높이 축소 */
  .dest-card {
    min-height: 440px;
  }

  .card-bg {
    height: 210px;
  }

  /* 네비 버튼 터치 타겟 */
  .nav-budget-btn,
  .nav-tag {
    min-height: 36px;
  }

  .cta-btn {
    min-height: 48px;
    font-size: .9rem;
  }
}

/* 터치 기기 hover 스킵 (hover: none = 마우스 없음) */
@media (hover: none) {
  .dest-card:hover .card-illustration {
    transform: translateX(-50%);
  }

  .dest-card:hover .card-cta {
    gap: 10px;
    color: var(--gold-dim);
  }

  .dest-card:hover .card-cta svg {
    transform: none;
  }

  .dest-card:hover .tag {
    background: var(--gold-pale);
    border-color: var(--border);
  }
}