/* ==========================================================================
   경주 2박 3일 여행 홍보 홈페이지 스타일시트 (styles.css)
   ========================================================================== */

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

:root {
  --primary-hanok: #8B4513;
  --primary-amber: #D97706;
  --primary-deep-gold: #B45309;
  --night-sky: #0F172A;
  --night-card: #1E293B;
  --korean-celadon: #0D9488;
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --font-serif: 'Noto Serif KR', serif;
}

body {
  font-family: var(--font-sans);
  color: #1F2937;
  background-color: #F8FAFC;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

.font-serif-kr {
  font-family: var(--font-serif);
}

/* Glassmorphism navigation */
.glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(243, 244, 246, 0.8);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Traditional Korean Pattern subtle background */
.pattern-bg {
  background-color: #FAF5EE;
  background-image: radial-gradient(#D97706 0.75px, transparent 0.75px), radial-gradient(#D97706 0.75px, #FAF5EE 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  background-opacity: 0.05;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Hero Section Gradients & Animations */
.hero-gradient {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.82) 100%);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Floating animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

/* Timeline Vertical Line */
.timeline-item::before {
  content: '';
  position: absolute;
  top: 36px;
  bottom: -24px;
  left: 20px;
  width: 2px;
  background: #E2E8F0;
  z-index: 1;
}

.timeline-item:last-child::before {
  display: none;
}

/* Custom Checkbox Animation */
.custom-checkbox {
  appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid #CBD5E1;
  border-radius: 0.375rem;
  outline: none;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: white;
}

.custom-checkbox:checked {
  background-color: #D97706;
  border-color: #D97706;
}

.custom-checkbox:checked::before {
  content: "✓";
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
}

/* Badge styles */
.badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Modal Animation */
.modal-enter {
  opacity: 0;
  transform: scale(0.95);
}

.modal-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 250ms ease-out, transform 250ms ease-out;
}

/* Print Stylesheet for Travel PDF/Printing */
@media print {
  /* Hide non-printable elements */
  nav,
  header,
  footer,
  #budget-calculator,
  #travel-checklist,
  #photo-gallery,
  .no-print,
  button,
  .tab-buttons,
  .toast-container {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
    font-size: 11pt !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .print-header {
    display: block !important;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
  }

  .timeline-container {
    display: block !important;
  }

  .timeline-item {
    page-break-inside: avoid;
    break-inside: avoid;
    border-bottom: 1px solid #ddd;
    padding: 12px 0 !important;
    margin-bottom: 8px !important;
  }

  .timeline-item::before {
    display: none !important;
  }

  .timeline-img {
    display: none !important;
  }

  .shadow-md, .shadow-lg, .shadow-xl {
    box-shadow: none !important;
  }
}
