/* ==========================================================================
   JooHee Yoon Aesthetic Minimal Design System - jbsalon.art
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&family=Outfit:wght@300;400;500;600&family=Pretendard:wght@300;400;500;600&display=swap');

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

:root {
  --bg-color: #ffffff;
  --text-primary: #000000;
  --text-muted: #666666;
  --text-light: #999999;
  --line-color: #eeeeee;
  --font-en: 'Outfit', 'Futura', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ko: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Gowun Batang', serif;
  --page-margin: 4.5rem;
  --header-height: 8rem;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-color);
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-en);
  padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.6;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Page View Container */
.page-container {
  flex: 1;
  width: 100%;
}

.view-section {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.view-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Minimal Footer / Copyright */
#copyright {
  font-family: var(--font-en);
  font-size: 8.5pt;
  letter-spacing: 0.05em;
  color: var(--text-light);
  padding: 4rem var(--page-margin) 2rem var(--page-margin);
  margin-top: auto;
}

#copyright a {
  color: var(--text-muted);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  :root {
    --page-margin: 1.5rem;
    --header-height: 6.5rem;
  }
}
