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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f8f8;
}

header {
  background: white;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.subtitle {
  color: #666;
  font-size: 1.1rem;
}

nav {
  margin-top: 1rem;
}

nav a {
  margin: 0 1rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #0066cc;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

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

.artwork {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.artwork:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.artwork img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.artwork-info {
  padding: 1.5rem;
}

.artwork-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.artwork-desc {
  color: #666;
  font-size: 0.95rem;
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s;
}

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

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  animation: zoomIn 0.3s;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #ccc;
}

.lightbox-caption {
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 1.1rem;
  max-width: 80%;
}

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

@keyframes zoomIn {
  from { transform: scale(0.8); }
  to { transform: scale(1); }
}

/* About page styles */
.about-section {
  background: white;
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.about-image {
  position: sticky;
  top: 120px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.about-text h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.about-cta {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #0066cc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s;
}

.btn:hover {
  background: #0052a3;
}

.btn-secondary {
  background: #666;
}

.btn-secondary:hover {
  background: #555;
}

.contact {
  background: white;
  padding: 3rem;
  border-radius: 8px;
  margin-top: 3rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-item a {
  color: #0066cc;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 2rem;
  color: #666;
  margin-top: 3rem;
}

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

  .gallery {
    grid-template-columns: 1fr;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    position: static;
  }

  .about-cta {
    flex-direction: column;
  }

  .lightbox-close {
    right: 20px;
    font-size: 30px;
  }
}
