@charset "UTF-8";

/* ========================================================
   경주 2박 3일 여행 홍보 홈페이지 Custom Stylesheet
   Theme: Shilla Gold, Warm Hanok Slate & Traditional Accents
   ======================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;600;700;900&display=swap');

:root {
  --color-primary: #854d0e; /* Shilla Gold Deep */
  --color-primary-light: #fef3c7;
  --color-accent: #b45309;
  --color-giwa: #1e293b; /* Traditional roof tile dark */
  --color-bg-warm: #faf7f2; /* Warm Korean paper tone */
  --font-serif: 'Noto Serif KR', serif;
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
}

body {
  background-color: var(--color-bg-warm);
  color: #1e293b;
  overflow-x: hidden;
}

/* Serif Headings for Korean Traditional Heritage feel */
.font-serif-kr {
  font-family: var(--font-serif);
}

/* Korean Traditional Lattice Pattern (격자 문양) Background */
.bg-lattice {
  background-color: #faf7f2;
  background-image: radial-gradient(#d4af37 0.75px, transparent 0.75px), radial-gradient(#d4af37 0.75px, #faf7f2 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  background-opacity: 0.15;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Hero Section Ambient Glow */
.hero-gradient {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 41, 59, 0.88) 100%);
}

/* Card hover animation */
.card-hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.12);
}

/* Leaflet Map Pin pulse animation */
.custom-map-pin {
  transition: transform 0.2s ease;
}
.custom-map-pin:hover {
  transform: scale(1.15) !important;
  z-index: 1000 !important;
}

/* Map Container Styling */
#gyeongju-map {
  border-radius: 1.25rem;
  z-index: 10;
}

/* Leaflet popup customization */
.leaflet-popup-content-wrapper {
  border-radius: 1rem !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid #e2e8f0;
}
.leaflet-popup-tip {
  background: #ffffff !important;
}

/* Badge Glow */
.badge-gold-glow {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
}

/* ========================================================
   PRINT STYLESHEET (A4 / PDF 인쇄 최적화)
   ======================================================== */
@media print {
  /* Hide non-printable elements */
  header,
  nav,
  footer,
  #map-section,
  #budget-calculator,
  #checklist-section,
  #hero-buttons,
  .bookmark-btn,
  #photo-modal,
  #bookmark-modal,
  .no-print {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt;
  }

  #itinerary-timeline-container {
    display: block !important;
  }

  .timeline-item {
    page-break-inside: avoid;
    border: 1px solid #cccccc !important;
    box-shadow: none !important;
    margin-bottom: 12px !important;
    padding: 12px !important;
  }

  .day-section {
    page-break-before: always;
  }
  .day-section:first-child {
    page-break-before: avoid;
  }

  /* Watermark / Header for printed guide */
  .print-header {
    display: block !important;
    text-align: center;
    border-bottom: 2px solid #333333;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
}
