/**
 * Orestiada Homepage Design - Core Styles & Anti-Pink Overrides
 */

:root {
  --orestiada-teal-primary: #009bb3;
  --orestiada-teal-deep: #007d91;
  --orestiada-teal-light: #a8e1ec;
  --orestiada-teal-mid: #3bb7ce;
  --orestiada-magenta-accent: #eb2477;
  --orestiada-magenta-hover: #f23886;
  --orestiada-gold: #f3c108;
  --orestiada-cyan-strong: #7ce8f7;
  --orestiada-dark-bg: #071824;
  --orestiada-dark-surface: #0a0d11;
  --orestiada-dark-drawer: #082330;
  --orestiada-dark-drawer-bottom: #051620;
  --orestiada-text-light: #ffffff;
  --orestiada-font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   Anti-Pink Elementor & Lightbox Overrides
   Ensures no default Elementor pinkish/salmon color (#ea4c89 / #ff2a75) leaks into:
   - Lightbox close buttons
   - Dialog close buttons
   - Menu close toggles
   - Active navigation states
   ========================================================================== */

/* 1. Elementor Lightbox Close Button & Controls */
.elementor-lightbox .dialog-lightbox-close-button,
.elementor-lightbox .dialog-close-button,
.dialog-type-lightbox .dialog-close-button,
.dialog-widget-content .dialog-close-button {
  color: #ffffff !important;
  background-color: rgba(8, 25, 38, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px !important;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

.elementor-lightbox .dialog-lightbox-close-button:hover,
.elementor-lightbox .dialog-close-button:hover,
.dialog-type-lightbox .dialog-close-button:hover,
.dialog-widget-content .dialog-close-button:hover,
.elementor-lightbox .dialog-lightbox-close-button:focus-visible,
.elementor-lightbox .dialog-close-button:focus-visible {
  color: #ffffff !important;
  background-color: var(--orestiada-magenta-accent) !important;
  border-color: var(--orestiada-magenta-accent) !important;
  outline: none !important;
}

.elementor-lightbox .dialog-lightbox-close-button svg,
.elementor-lightbox .dialog-close-button svg,
.dialog-type-lightbox .dialog-close-button svg,
.dialog-widget-content .dialog-close-button svg {
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* 2. Lightbox navigation arrows (Prev/Next) */
.elementor-lightbox .elementor-swiper-button,
.elementor-lightbox .dialog-lightbox-button {
  color: #ffffff !important;
  background: rgba(8, 25, 38, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  transition: all 0.2s ease !important;
}

.elementor-lightbox .elementor-swiper-button:hover,
.elementor-lightbox .dialog-lightbox-button:hover {
  background: var(--orestiada-teal-primary) !important;
  border-color: var(--orestiada-teal-light) !important;
  color: #ffffff !important;
}

/* 3. Elementor Nav Menu / Drawer Close Button Overrides */
.elementor-menu-toggle.elementor-active,
.elementor-menu-toggle:hover,
.elementor-menu-toggle:focus {
  background-color: var(--orestiada-teal-primary) !important;
  color: #ffffff !important;
}

/* 4. Dialog Backdrops */
.elementor-lightbox,
.dialog-type-lightbox {
  background-color: rgba(3, 12, 19, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* 5. Custom Accessible Screen Reader Only utility */
.orestiada-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
