body {
  color: white;
  background-image: url('images/bg-stars.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: Verdana, sans-serif;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.gallery-container {
  column-count: 4;
  column-gap: 20px;
  width: 90%;
  max-width: 1400px;
  margin: 2rem auto;
}

@media (max-width: 1200px) {
  .gallery-container { column-count: 3; }
}

@media (max-width: 800px) {
  .gallery-container { column-count: 2; }
}

@media (max-width: 500px) {
  .gallery-container { column-count: 1; }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f4ea 60%, #eee3cb 100%);
  color: #2b2b2b;
  padding: 12px 12px 32px 12px;
  box-shadow: 3px 3px 12px rgba(0,0,0,0.8);
  position: relative;
  cursor: pointer;
  transform: rotate(-1deg);
  transition: transform 0.2s ease, z-index 0.2s ease;
  border: 1px solid #d4c287;
}

.gallery-item:nth-child(even) {
  transform: rotate(1.5deg);
}


.gallery-item::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 25px;
  background: rgba(255, 255, 200, 0.65);
  border-left: 2px dashed rgba(0,0,0,0.15);
  border-right: 2px dashed rgba(0,0,0,0.15);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ccc;
}

#scroll-logo {
  display: block;
  margin: 2rem auto;
  height: 400px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px #ff00ff);
}

nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}

ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

li {
  cursor: pointer;
}

li.active-tab, li:hover {
    filter: drop-shadow(0 0 5px #ff00ff);
}


.about-box, .guestbook-box {
  width: 80%;
  max-width: 800px;
  margin: 2rem auto;
  padding: 20px;
  text-align: center;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  display: block;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}