body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  background-color: #f7f4ef;
  color: #222222;
  line-height: 1.7;
  font-size: 16px;
  transition: background 0.5s ease, color 0.3s ease;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.4em;
  font-weight: 400;
  color: #111111;
}

header {
  text-align: center;
  padding: 4rem 1rem 2rem;
}

.subtitle {
  font-size: 1rem;
  color: #444444;
  margin-top: 0.5rem;
  font-style: italic;
}

/* About & Contact container at page bottom */
.top-info-container {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 2rem;
  padding: 0 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.top-info-container .about,
.top-info-container .contact {
  flex: 1 1 300px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: #222222;
  text-align: center;
  min-width: 280px;
}

.top-info-container .about h2,
.top-info-container .contact h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.gallery figure {
  margin: 0;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img {
  width: 100%;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

figcaption {
  padding: 0.8rem 1rem;
  color: #555555;
  font-size: 0.9rem;
  text-align: center;
  font-style: italic;
  background-color: #fafafa;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #111111;
  border: none;
  padding: 0.5rem 0.8rem;
  border-radius: 50%;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  display: none;
  z-index: 1000;
}

#fullscreen-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

#fullscreen-viewer img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
}

body.dark {
  background-color: #0b1a2f;
  color: #eeeeee;
}

body.dark h1,
body.dark h2 {
  color: #ffffff;
}

body.dark .subtitle {
  color: #bbbbbb;
}

body.dark .gallery figure,
body.dark .about,
body.dark .contact {
  background-color: #101f35;
  color: #eeeeee;
}

body.dark figcaption {
  background-color: #0d1a30;
  color: #cccccc;
}

body.dark .email {
  color: #99ccff;
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  header {
    padding: 2rem 1rem;
  }

  .top-info-container {
    flex-direction: column;
    margin: 2rem 1rem;
    padding: 0 1rem;
  }

  .top-info-container .about,
  .top-info-container .contact {
    flex: 1 1 100%;
  }
}
