@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500&display=swap');

@layer base {
  :root {
    --color-primary: #1a1a1a;
    --color-secondary: #666666;
    --color-accent: #8B7355;
    --color-background: #fafafa;
    --color-surface: #ffffff;
    --color-muted: #f5f5f5;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    color: var(--color-primary);
    background-color: var(--color-background);
    line-height: 1.6;
  }

  h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    letter-spacing: 0.05em;
  }

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

  .nav-link {
    position: relative;
    transition: opacity 0.3s ease;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
  }

  .image-hover {
    overflow: hidden;
  }

  .image-hover img {
    transition: transform 0.5s ease, filter 0.5s ease;
  }

  .image-hover:hover img {
    transform: scale(1.05);
    filter: brightness(0.95);
  }

  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .stagger-animation > * {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
  }

  .stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
  .stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
  .stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
  .stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }

  @media (max-width: 768px) {
    .mobile-menu {
      transform: translateX(-100%);
      transition: transform 0.3s ease;
    }

    .mobile-menu.active {
      transform: translateX(0);
    }
  }
}