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

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  background-color: #fffaf5;
  color: #333;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #b35f5f;
}

section {
  padding: 60px 20px;
  text-align: center;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: #ffece1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


.hero-img {
  max-height: 60vh;
  width: auto;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero {
  position: relative;
  overflow: hidden;
}



.note {
  position: absolute;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.7);
  animation: floatUp 5s infinite ease-in;
}

.note1 { left: 20%;  animation-delay: 0s; }
.note2 { left: 50%;  animation-delay: 1.5s; }
.note3 { left: 80%;  animation-delay: 3s; }

@keyframes floatUp {
  0%   { transform: translateY(0)    scale(0.8); opacity: 0;    }
  20%  { opacity: 1;                                 }
  100% { transform: translateY(-200px) scale(1.2); opacity: 0; }
}



.hero::before { /* sparkle */ /*...*/ }
.hero::after  { /* gradient glow */ /*...*/ }

/* Music notes */
.hero .note { /*...*/ }

/* Confetti script as shown above */

.scroll-arrow {
  display: inline-block;
  margin-top: 30px;
  font-size: 2rem;
  color: #b35f5f;
  animation: bounce 2s infinite;
  text-decoration: none;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

/* Quotes */
.quotes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.quote {
  background: #fff1ec;
  padding: 20px;
  border-radius: 10px;
  max-width: 300px;
  font-style: italic;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Guestbook */
form {
  max-width: 500px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

form input,
form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

form button {
  padding: 10px;
  background-color: #b35f5f;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #984d4d;
}

#entries-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

#entries-list li {
  background: #f9e6e1;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 5px;
}

/* Footer */
footer {
  background-color: #ffece1;
  padding: 20px;
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .scroll-arrow {
    font-size: 1.5rem;
  }
}