/* ============================================================
   WEI 2026 — VetEuropea — Custom styles (Tailwind CDN handles utilities)
   ============================================================ */

:root {
  --color-primary: #FF3D68;      /* coral pink - CTA */
  --color-primary-dark: #E11D48;
  --color-secondary: #FFB627;    /* sunset orange/yellow */
  --color-accent: #22D3C7;       /* turquoise - sea/pool */
  --color-purple: #7C3AED;       /* night club purple */
  --color-night: #120B29;        /* deep night background */
  --color-night-2: #1C1240;
  --color-cream: #FFF8F0;        /* warm light background */
  --color-ink: #1A1025;
}

* { scroll-behavior: smooth; }

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

html, body { background: var(--color-cream); }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--color-ink);
  overflow-x: hidden;
}

.font-display {
  font-family: 'Anton', 'Poppins', sans-serif;
  letter-spacing: 0.01em;
}

/* ---------- Scroll progress bar ---------- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary), var(--color-purple));
  z-index: 100;
  transition: width 80ms linear;
}

/* ---------- Hero background ---------- */
.hero-bg {
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(255,182,39,0.35) 0%, rgba(255,182,39,0) 60%),
    radial-gradient(55% 45% at 90% 15%, rgba(34,211,199,0.30) 0%, rgba(34,211,199,0) 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(255,61,104,0.35) 0%, rgba(255,61,104,0) 60%),
    linear-gradient(180deg, var(--color-night) 0%, var(--color-night-2) 100%);
  position: relative;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.08;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: blob-float 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-25px, 25px) scale(0.95); }
}

/* ---------- Marquee ticker ---------- */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Gradient text ---------- */
.text-gradient {
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary) 55%, var(--color-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(.16,.84,.44,1), transform 600ms cubic-bezier(.16,.84,.44,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms cubic-bezier(.16,.84,.44,1), transform 550ms cubic-bezier(.16,.84,.44,1);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Countdown ---------- */
.countdown-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---------- Nav ---------- */
#site-nav {
  transition: background-color 250ms ease, box-shadow 250ms ease, backdrop-filter 250ms ease;
}
#site-nav.nav-solid {
  background-color: rgba(18, 11, 41, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--color-secondary);
  transition: width 220ms ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* ---------- Gallery placeholder tiles ---------- */
.gallery-tile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.gallery-tile img {
  transition: transform 500ms cubic-bezier(.16,.84,.44,1);
}
.gallery-tile:hover img {
  transform: scale(1.08);
}
.gallery-tile .tile-label {
  transition: transform 300ms ease;
}
.gallery-tile:hover .tile-label {
  transform: translateY(-4px);
}

/* ---------- Card hover lift ---------- */
.lift {
  transition: transform 260ms cubic-bezier(.16,.84,.44,1), box-shadow 260ms ease;
}
.lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(18,11,41,0.25);
}

/* ---------- Timeline ---------- */
.timeline-line {
  background: linear-gradient(180deg, var(--color-secondary), var(--color-primary), var(--color-purple));
}

/* ---------- FAQ accordion ---------- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms cubic-bezier(.16,.84,.44,1), padding 350ms ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
}
.faq-icon {
  transition: transform 300ms ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
  box-shadow: 0 10px 30px -10px rgba(255,61,104,0.65);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.06);
}
.btn-primary:active { transform: translateY(0) scale(0.99); }

.btn-ghost {
  transition: background-color 200ms ease, transform 200ms ease;
}
.btn-ghost:hover {
  transform: translateY(-2px);
}

/* ---------- Toast ---------- */
#toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease;
  z-index: 200;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Sticky mobile CTA ---------- */
#mobile-sticky-cta {
  transform: translateY(120%);
  transition: transform 300ms cubic-bezier(.16,.84,.44,1);
}
#mobile-sticky-cta.show {
  transform: translateY(0);
}

/* ---------- Utility ---------- */
.shadow-glow {
  box-shadow: 0 0 60px rgba(255,61,104,0.25);
}

::selection {
  background: var(--color-primary);
  color: white;
}

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}
