@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: #f5f5f5;
  --color-accent-beige: #f5f0e8;
  --color-accent-oat: #e8dcc8;
  --color-accent-blue: #b8c5d6;
  --color-accent-terracotta: #c89f94;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-in {
  animation: fadeIn 0.8s ease-in;
}

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

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

.hover-scale:hover {
  transform: scale(1.05);
}

.parallax-layer {
  transition: transform 0.2s ease-out;
}

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

.lazy-load {
  opacity: 0;
  transition: opacity 0.6s ease-in;
}

.lazy-load.loaded {
  opacity: 1;
}

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

.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%;
}

.grid-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.grid-item img {
  transition: var(--transition-smooth);
}

.grid-item:hover img {
  transform: scale(1.08);
}

.filter-tag {
  transition: var(--transition-smooth);
  cursor: pointer;
}

.filter-tag.active {
  background-color: var(--color-primary);
  color: white;
}

.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

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

.fullscreen-overlay img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  
  .nav-link {
    font-size: 16px;
  }
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-smooth);
}

.carousel-indicator.active {
  background-color: white;
  width: 24px;
  border-radius: 4px;
}

.text-shadow {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}