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

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

:root {
  --color-primary: #1a1a1a;
  --color-secondary: #4a4a4a;
  --color-accent: #8b7355;
  --color-bg: #fafafa;
  --color-white: #ffffff;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-primary);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-container {
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-link {
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition-smooth);
}

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

.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 4rem 2rem;
}

.card-hover {
  transition: var(--transition-smooth);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.filter-icon {
  cursor: pointer;
  transition: var(--transition-smooth);
  opacity: 0.6;
}

.filter-icon:hover,
.filter-icon.active {
  opacity: 1;
  transform: scale(1.1);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 1.5rem;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.article-card {
  cursor: pointer;
  transition: var(--transition-smooth);
}

.article-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.article-card.expanded .article-content {
  max-height: 2000px;
}

.visual-story {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) transparent;
}

.visual-story::-webkit-scrollbar {
  height: 6px;
}

.visual-story::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 3px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  animation: scaleIn 0.3s ease-in-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 70vh;
  }
  
  .slide-overlay {
    padding: 2rem 1rem;
  }
  
  .nav-bar {
    padding: 1rem;
  }
}

@media (max-width: 640px) {
  .hero-slider {
    height: 60vh;
  }
}