@import url("https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap");

@font-face {
  font-family: 'Donalia';
  src: url("assets/fonts/Donalia.eot");
  src: url("assets/fonts/Donalia.eot?#iefix") format("embedded-opentype"),
    url("assets/fonts/Donalia.woff2") format("woff2"),
    url("assets/fonts/Donalia.woff") format("woff"),
    url("assets/fonts/Donalia.ttf") format("truetype");
}

body {
  font-family: "Jost", sans-serif;
  background: linear-gradient(to bottom right, #fff0f5, #ffe4e1);
  color: #4b2e2e;
  padding: 40px 24px;
  max-width: 1000px;
  margin: auto;
  line-height: 1.9;
  font-size: 1.18rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background-clip: padding-box;
}

.title {
  font-family: 'Donalia', serif;
  color: #b3005e;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 600;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.photo img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.photo img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
}

.hidden {
  display: none;
}

.load-more {
  text-align: center;
  margin: 20px 0;
}

.load-more button {
  background-color: #ff5e78;
  color: white;
  padding: 10px 20px;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

img.lazy-loaded {
  opacity: 1;
}