/* aevents.us - Light Palette Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@200;300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --color-gold: #9d7f57;
  --color-gold-light: #c5a880;
  --color-gold-dark: #7a5f39;
  --color-light-bg: #ffffff;
  --color-light-surface: #f8f9fa;
  --color-light-card: #ffffff;
  --color-light-border: #e5e7eb;
}

html, body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #ffffff;
  color: #1f2937;
  overflow-x: hidden;
  max-width: 100%;
  scroll-behavior: smooth;
}

.font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-montserrat {
  font-family: 'Montserrat', sans-serif;
}

/* FAQ Accordion Transitions */
.faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition: max-height 0.3s ease-out, opacity 0.25s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-content {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 1rem !important;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* Form inputs styling */
input, select, textarea {
  color-scheme: light;
  box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-gold) !important;
  box-shadow: 0 0 0 2px rgba(157, 127, 87, 0.25) !important;
}

/* Fix iOS Safari date input sizing, width overflow, and text alignment */
input[type="date"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  max-width: 100%;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
  min-height: 1.3em;
}

/* Prevent iOS Safari from automatically zooming into the page on form focus */
@media screen and (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Page Preloader Progress Ring */
#page-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#preloader-progress-ring {
  transition: stroke-dashoffset 0.2s ease-out;
}
