body {
  margin: 0;
  font-family: 'Libre Baskerville', serif;
  transition: background 0.3s, color 0.3s;
}
header {
  text-align: center;
  padding: 2rem 1rem;
}
.title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 3rem;
  margin: 0;
  color: #2e2e2e;
}
.tagline {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem;
  color: #908a71;
  margin-bottom: 1rem;
}
nav {
  margin-top: 1rem;
}
nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #2e2e2e;
}
nav a:hover {
  color: #d8b16a;
}
button#themeToggle {
  background: none;
  border: 1px solid #908a71;
  padding: 0.5rem;
  margin-left: 1rem;
  cursor: pointer;
}
main {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}
body.light {
  background-color: #fdfbf7;
  color: #2e2e2e;
}
body.dark {
  background-color: #1e1e1c;
  color: #fdfbf7;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}
.gallery-item img:hover {
  transform: scale(1.03);
}

.banner {
  display: block;
  margin: 1rem auto;
  max-width: 600px;
  width: 90%;
  height: auto;
  border-radius: 8px;
}
/* ===== Floating Hearts ===== */
#heart-container {
  pointer-events: none;           /* hearts don’t block clicks */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 9999;                  /* above everything */
}

.heart {
  position: absolute;
  width: 20px; height: 20px;
  background: rgba(255, 140, 160, 0.4);  /* soft pink */
  transform: rotate(45deg);
  animation: floatUp var(--dur) linear forwards;
}

/* makes the heart ✧ */
.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 100%; height: 100%;
  background: inherit;
  border-radius: 50%;
}
.heart::before { top: -50%; }
.heart::after  { left: -50%; }

/* upward drift */
@keyframes floatUp {
  0%   { transform: translateY(0)   rotate(45deg) scale(1); opacity: 1; }
  100% { transform: translateY(-120vh) rotate(45deg) scale(0.6); opacity: 0; }
}
