/* Custom enhancements for standalone hosting */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

/* Ensure transitions animate in cleanly */
.transition.transition--slide[data-animation-state="active"],
.transition.transition--fade[data-animation-state="active"],
.transition.transition--scale[data-animation-state="active"] {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

/* Ensure images with animation roles become visible */
[data-animation-role="image"][data-animation-state="active"],
[data-animation-role="image"].loaded,
[data-animation-role="block-element"][data-animation-state="active"] {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

/* Responsive mobile dropdown menu */
.block-header-layout-mobile__dropdown {
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease !important;
}

.block-header-layout-mobile__dropdown--open {
  visibility: visible !important;
  max-height: 80vh !important;
  height: auto !important;
  opacity: 1 !important;
  padding: 24px 16px !important;
  z-index: 999 !important;
  box-shadow: 0 6px 14px -10px rgba(0, 0, 0, 0.15) !important;
}

/* Hamburger button animation */
.burger {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 18px;
}

.burger--open .burger__bun:first-child {
  top: 8px !important;
  transform: rotate(45deg) !important;
}

.burger--open .burger__bun:last-child {
  top: 8px !important;
  transform: rotate(-45deg) !important;
}

.burger--open .burger__meat {
  opacity: 0 !important;
  width: 0% !important;
}

/* Form feedback notifications */
.form-feedback {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  display: none;
}

.form-feedback--success {
  display: block;
  background-color: #def4f0;
  color: #008361;
  border: 1px solid #00b090;
}

.form-feedback--error {
  display: block;
  background-color: #ffe8ef;
  color: #d63163;
  border: 1px solid #fc5185;
}
