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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background-color: #f4f4f5;
  color: #18181b;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  background-color: #18181b;
  color: #fafafa;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-title {
  font-size: 1.25rem;
}

.site-nav {
  display: flex;
  gap: 0.5rem;
}

.nav-link {
  border: none;
  background-color: transparent;
  color: #e4e4e7;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font: inherit;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background-color: #27272a;
}

.nav-link.active {
  background-color: #fafafa;
  color: #18181b;
}

.site-main {
  padding: 2rem 0 3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hero-text p {
  margin-bottom: 0.75rem;
}

.hero-sub {
  color: #3f3f46;
  font-size: 0.95rem;
}

.hero-image {
  max-width: 420px;
  justify-self: center;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
}

.gallery {
  margin-top: 1.5rem;
}

.gallery h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  background-color: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

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

.gallery-item figcaption {
  padding: 0.75rem 0.9rem 0.9rem;
  font-size: 0.9rem;
  color: #3f3f46;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image {
    order: -1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .site-title {
    font-size: 1.1rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-item img {
    height: 200px;
  }
}

.site-footer {
  padding: 1rem 0;
  border-top: 1px solid #e4e4e7;
  font-size: 0.875rem;
  color: #52525b;
}

.site-footer p {
  text-align: center;
}

