body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fafafa;
  color: #222;
}

header {
  background: #222;
  color: #fff;
  padding: 1.5rem 0 1rem 0;
  text-align: center;
}

header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2.2rem;
}

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

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #ff6f61;
}

main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.welcome, .about, .contact {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-bottom: 2rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.artwork {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 1rem;
  text-align: center;
}

.artwork img {
  max-width: 100%;
  margin-bottom: 0.5rem;
}

.thumbnail {
  max-width: 360px;
  max-height: 240px;
  width: auto;
  height: auto;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.thumbnail:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
  transform: scale(1.04);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}
.modal-content {
  display: block;
  margin: 5% auto;
  max-width: 90vw;
  max-height: 80vh;
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}
@media (max-width: 600px) {
  .modal-content {
    max-width: 98vw;
    max-height: 60vh;
  }
  .close {
    top: 10px;
    right: 20px;
    font-size: 2rem;
  }
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: 2rem;
}

.visual-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

.visual-link {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 1.5px 6px rgba(0,0,0,0.06);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 220px;
  min-width: 180px;
  max-width: 90vw;
}

.visual-link a {
  color: inherit;
  text-decoration: none;
  display: block;
  padding: 1rem 1rem 1.5rem 1rem;
}

.visual-link img.thumbnail {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
  transition: filter 0.2s;
}

.visual-link:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.09);
}

.visual-link:hover img.thumbnail {
  filter: brightness(0.95) saturate(1.1);
}

.visual-link h3 {
  margin: 1rem 0 0 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@media (max-width: 600px) {
  .visual-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .visual-link {
    width: 95vw;
    min-width: unset;
  }
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  main {
    padding: 0 0.5rem;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
} 