@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Playfair+Display:wght@600&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: #fafafa;
  color: #1a1a1a;
  line-height: 1.6;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav a {
  margin-left: 2rem;
  text-decoration: none;
  color: #555;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover {
  color: #000;
}
section {
  padding: 5rem 5%;
}
.section-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 0.03em;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.work-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.work-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.work-info {
  padding: 1rem;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}
.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #444;
}
.about i {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #444;
}
.contacts-list {
  list-style: none;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}
.contacts-list li { margin: 0.5rem 0; }
.contacts-list a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.contacts-list a:hover { border-bottom-color: #1a1a1a; }
.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: #aaa;
  border-top: 1px solid #eaeaea;
}
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 200;
  justify-content: center;
  align-items: center;
}
.lightbox.active { display: flex; }
.lightbox-content {
  display: flex;
  max-width: 90vw;
  max-height: 85vh;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.lightbox-img {
  width: 60%;
  max-height: 85vh;
  object-fit: cover;
  display: block;
}
.lightbox-details {
  width: 40%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
.lightbox-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.lightbox-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}
.lightbox-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s;
}
.lightbox-close:hover { transform: scale(1.2); }
@media (max-width: 768px) {
  .lightbox-content {
    flex-direction: column;
    max-width: 95vw;
    max-height: 90vh;
  }
  .lightbox-img {
    width: 100%;
    max-height: 50vh;
  }
  .lightbox-details {
    width: 100%;
    padding: 1.5rem;
  }
}