/* Custom CSS for the Wedding Website */
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #fdfbf7;
  color: #333;
}
h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: 'Playfair Display', serif;
}

/* Custom scrollbar for guestbook */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #fdfbf7;
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1;
}

/* Form Styles */
input, select, textarea {
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  padding: 0.75rem;
  width: 100%;
  transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #b76e79;
  box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.2);
}

.btn-primary {
  background-color: #b76e79;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-primary:hover {
  background-color: #800000;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Lazy load util */
img[loading] {
  transition: opacity 0.5s;
}
img[loading="lazy"]:not(.loaded) {
  opacity: 0;
}
img[loading].loaded {
  opacity: 1;
}
