:root {
  --primary-color: #f5f5f0;
  --secondary-color: #e8e8e3;
  --accent-color: #333333;
  --text-color: #555555;
  --light-text: #888888;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --font-serif: 'Noto Serif SC', serif;
  --font-sans: 'Noto Sans SC', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  line-height: 1.8;
  background: var(--primary-color);
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--accent-color);
  margin: 2rem 0 1rem;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: 0.05em;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

nav {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
  background: white;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

nav a {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.hero {
  padding: 6rem 2rem;
  text-align: center;
  background: white;
}

.hero-image {
  width: 100%;
  max-width: 1200px;
  height: 60vh;
  object-fit: cover;
  margin: 0 auto 3rem;
  display: block;
  border-radius: 2px;
}

.hero-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.categories {
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.category {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.category:hover {
  transform: translateY(-5px);
}

.category-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--light-text);
}

.category-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--accent-color);
}

.filters {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.filter-btn {
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.5rem;
  margin: 0.25rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.gallery {
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: white;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.journal-list {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.article-card {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.article-card:last-child {
  border-bottom: none;
}

.article-image {
  flex: 0 0 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
}

.article-content h3 {
  margin-top: 0;
}

.article-content p {
  color: var(--light-text);
  line-height: 1.8;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.about-image {
  width: 100%;
  max-width: 1000px;
  height: 400px;
  object-fit: cover;
  margin: 3rem auto;
  display: block;
  border-radius: 2px;
}

footer {
  text-align: center;
  padding: 3rem;
  color: var(--light-text);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
  background: white;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-lightbox {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    display: none;
  }

  nav ul.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 2rem;
    right: 2rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero-quote {
    font-size: 1.2rem;
  }

  .categories {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 2rem 1rem;
  }

  .article-card {
    flex-direction: column;
  }

  .article-image {
    flex: 1;
    width: 100%;
    height: 250px;
  }

  .about-content {
    padding: 2rem 1rem;
  }

  .filters {
    padding: 1rem;
  }

  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
}