:root {
  color-scheme: light;
  background-color: #FFFDF9;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background-color: #FFFDF9;
  color: #0B3F39;
  overflow-x: hidden;
}

.page-fade {
  animation: page-fade-in 0.8s ease-in-out 0s both;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Header transparency animation */
[data-header] {
  --header-opacity: 0;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* When header-opacity is set, use it for background color */
[data-header][style*="--header-opacity"],
[data-mobile-menu][style*="--header-opacity"] {
  background-color: rgba(11, 63, 57, var(--header-opacity)) !important;
}

/* Newsletter form slide-down animation */
@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-down {
  animation: slide-down 0.3s ease-out;
}

/* Hide scrollbar but keep functionality */
.scrollbar-hide {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;  /* Chrome, Safari and Opera */
}
