/* WP / theme layer on top of scraped site.css */

/* Closer metric fallbacks while webfonts resolve (font-display: block + preload). */
.font-heading {
  font-family: "Sora", sans-serif !important;
  font-synthesis: none;
}
.font-sans,
body {
  font-family: var(--ffx-font-body, 'Roboto', sans-serif);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ff-anim-up,
  .ff-anim-in,
  .ff-reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.admin-bar header.fixed {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar header.fixed {
    top: 46px;
  }
}

.ff-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;
}

.ff-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: #ffd700;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ff-skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Mobile nav drawer — keep fixed; only slide when open */
[data-ff-mobile-panel] {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #141414 !important;
  background-color: #141414 !important;
  z-index: 1001;
}
[data-ff-mobile-panel].is-open {
  transform: translateX(0) !important;
}
[data-ff-mobile-panel] > .absolute {
  background: #1c1c1c !important;
}
[data-ff-mobile-panel] [data-ff-menu-close] {
  position: relative;
  z-index: 30;
}
body.ff-nav-open {
  overflow: hidden;
}

/* Header language switch — dark bar, yellow active language. */
.ff-lang svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.7);
}
.ff-lang-switch {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.ff-lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 7px 12px;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}
.ff-lang-switch a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.ff-lang-switch a.gt-current-lang {
  background: var(--ffx-color-accent, #ffd700);
  color: #222;
  box-shadow: none;
  font-weight: 600;
}
.ff-lang-switch a:hover {
  color: #fff;
}
.ff-lang-switch a.gt-current-lang:hover {
  background: #fff;
  color: #222;
}

/* Promo dismiss */
[data-ff-promo][hidden] {
  display: none !important;
}

/* Accordion */
.ff-accordion-panel {
  display: none;
}
.ff-accordion-item.is-open .ff-accordion-panel {
  display: block;
}
.ff-accordion-item.is-open .ff-accordion-icon {
  transform: rotate(180deg);
}

/* Cookie banner */
.ff-cookie[hidden] {
  display: none !important;
}

/* Map embed */
.ff-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

/* Ensure media fills cards like original */
.ff-media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Page-load / scroll animations (match origin) ---- */
@keyframes ff-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ff-fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ff-heroVideoIn {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.ff-anim-up {
  animation: ff-fadeInUp 0.8s ease-out both;
}

.ff-anim-in {
  animation: ff-fadeInScale 0.5s ease-out both;
}

.ff-hero-video {
  animation: ff-heroVideoIn 1.4s ease-out both;
  filter: brightness(0.92) contrast(1.05) saturate(1.05);
}

/* Scroll reveal */
.ff-js .ff-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}
.ff-js .ff-reveal[data-ff-reveal="down"] { transform: translateY(-80px); }
.ff-js .ff-reveal[data-ff-reveal="zoom"] { transform: scale(0.86); }
.ff-js .ff-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Image cards: filter + scale hover (reinforce missing/weak Tailwind transforms) */
.ff-media-zoom,
.group video.ff-hover-media {
  transition: transform 0.7s ease, filter 0.45s ease;
  filter: brightness(0.96) contrast(1.04) saturate(1.02);
}
.group:hover .ff-media-zoom,
.group:hover video.ff-hover-media {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.06) saturate(1.1);
}

/* Stronger zoom where origin uses scale-110 (classes / IG) */
.group.ff-zoom-lg:hover .ff-media-zoom,
.group.ff-zoom-lg:hover video.ff-hover-media {
  transform: scale(1.1);
}

/* Yellow border glow on interactive cards */
.ff-card-hover {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.ff-card-hover:hover {
  border-color: #ffd500;
  box-shadow: 0 0 0 1px rgba(255, 213, 0, 0.25);
}

/* Buttons / links micro-motion */
a.ff-btn-lift,
button.ff-btn-lift {
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
a.ff-btn-lift:hover,
button.ff-btn-lift:hover {
  transform: translateY(-2px);
}
