:root {
  --accent: #8ACF19;
  --accent-rgb: 138, 207, 25;
  --accent-text: #ffffff;
  --bg: #FAF7F2;
  --text: #2C3E50;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

::selection { background: rgba(138, 207, 25, 0.2); color: #2C3E50; }


img { transition: opacity 0.4s ease; }

/* FAQ Accordion Arrow */
details[open] > summary svg { transform: rotate(180deg); }
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }

/* ═══ AMBIENT ANIMATIONS — always running, no scroll needed ═══ */

/* CTA Button Pulse — subtle glow breathing */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(138, 207, 25, 0.4); }
  50% { box-shadow: 0 0 20px 4px rgba(138, 207, 25, 0.15); }
}
.cta-pulse {
  animation: ctaPulse 3s ease-in-out infinite;
}
.cta-pulse:hover {
  animation: none;
  box-shadow: 0 0 30px 8px rgba(138, 207, 25, 0.25);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Floating element — gentle up-down hover */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-slow { animation: float 6s ease-in-out infinite; }
.animate-float-delay { animation: float 4s ease-in-out 1s infinite; }

/* Card Shimmer — light sweep on hover */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.card-shimmer {
  position: relative;
  overflow: hidden;
}
.card-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(138, 207, 25, 0.04) 50%, transparent 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card-shimmer:hover::after {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

/* Gradient Background Shift — slow ambient color movement */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.gradient-shift {
  background-size: 200% 200%;
  animation: gradientShift 8s ease-in-out infinite;
}

/* Border Glow — subtle accent border pulse */
@keyframes borderGlow {
  0%, 100% { border-color: rgba(138, 207, 25, 0.08); }
  50% { border-color: rgba(138, 207, 25, 0.25); }
}
.border-glow {
  animation: borderGlow 4s ease-in-out infinite;
}

/* Accent Dot Pulse — for status indicators */
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.dot-pulse {
  animation: dotPulse 2s ease-in-out infinite;
}

/* Subtle Rotate — for decorative elements */
@keyframes subtleRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.animate-spin-slow { animation: subtleRotate 20s linear infinite; }

/* Scale Breathe — for featured cards or icons */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.animate-breathe { animation: breathe 4s ease-in-out infinite; }

/* ═══ CSS REVEAL SYSTEM — bulletproof scroll animations ═══ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ DECORATIVE SECTION BACKGROUNDS ═══ */

/* Radial accent glow — large soft circle in corner */
.bg-glow-tl { position: relative; }
.bg-glow-tl::before {
  content: ''; position: absolute; top: -20%; left: -10%; width: 50%; height: 60%;
  background: radial-gradient(ellipse, rgba(138, 207, 25, 0.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.bg-glow-br { position: relative; }
.bg-glow-br::before {
  content: ''; position: absolute; bottom: -20%; right: -10%; width: 50%; height: 60%;
  background: radial-gradient(ellipse, rgba(138, 207, 25, 0.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

/* Diagonal section divider */
.section-divider-top { position: relative; }
.section-divider-top::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom right, var(--bg) 49.5%, transparent 50.5%);
  pointer-events: none; z-index: 1;
}

/* Subtle grid pattern overlay */
.bg-grid { position: relative; }
.bg-grid::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(138, 207, 25, 0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(138, 207, 25, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: 0;
}

/* Dot pattern overlay */
.bg-dots { position: relative; }
.bg-dots::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(138, 207, 25, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none; z-index: 0;
}

/* Large watermark text */
.watermark { position: relative; overflow: hidden; }
.watermark::before {
  content: attr(data-watermark);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg);
  font-size: clamp(6rem, 15vw, 14rem); font-weight: 900; white-space: nowrap;
  color: rgba(138, 207, 25, 0.025);
  pointer-events: none; z-index: 0; line-height: 1;
  font-family: Raleway, system-ui, sans-serif;
}

/* Gradient fade top/bottom on sections */
.gradient-fade-top { position: relative; }
.gradient-fade-top::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, rgba(138, 207, 25, 0.03), transparent);
  pointer-events: none; z-index: 0;
}

/* Accent line accent at top of section */
.accent-line-top { position: relative; }
.accent-line-top::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(138, 207, 25, 0.3), transparent);
  pointer-events: none; z-index: 1;
}

/* ═══ PROCESS CARD HOVER EFFECTS ═══ */

/* Base hover for all process cards */
.process-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}
.process-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 0 1px rgba(138, 207, 25, 0.2);
}

/* Variant 1: Color intensification on hover */
.process-card-glow:hover {
  background: linear-gradient(135deg, rgba(138, 207, 25, 0.12) 0%, rgba(138, 207, 25, 0.04) 100%) !important;
  border-color: rgba(138, 207, 25, 0.4) !important;
}

/* Variant 2: Accent left-border reveal */
.process-card-accent:hover {
  border-left: 3px solid var(--accent) !important;
  padding-left: calc(1.5rem - 3px);
}

/* Variant 3: Lift + glow ring */
.process-card-ring:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 0 0 2px rgba(138, 207, 25, 0.3), 0 0 30px rgba(138, 207, 25, 0.1);
}

/* Variant 4: Background slide-in */
@keyframes bgSlideIn {
  0% { background-position: -100% 0; }
  100% { background-position: 0% 0; }
}
.process-card-slide {
  background-size: 200% 100%;
  background-image: linear-gradient(90deg, transparent 50%, rgba(138, 207, 25, 0.08) 50%);
  background-position: -100% 0;
}
.process-card-slide:hover {
  animation: bgSlideIn 0.4s ease forwards;
}

/* Variant 5: Number highlight — makes step number pop on hover */
.process-card:hover .step-number {
  color: var(--accent) !important;
  opacity: 0.15 !important;
  transform: scale(1.1);
  transition: all 0.4s ease;
}

/* All process cards: smooth number transition */
.process-card .step-number {
  transition: all 0.4s ease;
}


/* === Gemini CSS === */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@1,400;1,700&family=Open+Sans:wght@400;500;600&family=Raleway:wght@400;600;700;800;900&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
  .font-heading { font-family: 'Raleway', sans-serif; }
  .font-body { font-family: 'Open Sans', sans-serif; }
  .font-drama { font-family: 'Merriweather', serif; }
}

/* Base Scroll Behavior */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* CSS Reveal System */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar Scroll State
 * NOTE: backdrop-filter intentionally NOT used while transparent — Chrome had
 * to re-blur the navbar backdrop on every video frame, tanking the GPU
 * process. A solid gradient over the dark hero looks indistinguishable. */
#main-navbar {
  background: linear-gradient(180deg, rgba(10, 38, 36, 0.55) 0%, rgba(10, 38, 36, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}
.nav-scrolled .nav-link { color: #2C3E50; }
.nav-scrolled .nav-link:hover { color: #5F8C0F; }

/* Navbar uses two logo variants — light (white text + green truck) for transparent
   state over the dark hero, normal colors once the navbar gets a white background. */
.nav-logo-light { display: block !important; }
.nav-logo-dark  { display: none  !important; }
.nav-scrolled .nav-logo-light { display: none  !important; }
.nav-scrolled .nav-logo-dark  { display: block !important; }
/* Footer logo is the light variant (white text + green truck) on dark background */
.footer-logo {
  /* no filter needed — image already has white text + green truck */
}

/* Video Hero — ensure video fills and is behind overlay */
.hero-video-section video {
  pointer-events: none;
}

/* Globe markers (numbered pills on 3D globe) */
.globe-marker {
  position: relative;
  overflow: visible;
  cursor: default;
  user-select: none;
  pointer-events: auto;
}
.globe-marker:hover {
  z-index: 999999 !important;
}
.globe-marker-inner {
  min-width: 32px;
  height: 22px;
  padding: 0 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', system-ui, sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #2C3E50;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  animation: markerPopIn 420ms cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  transform-origin: center center;
}
.marker-iso {
  display: block;
  line-height: 1;
}
.globe-marker:hover .globe-marker-inner {
  background: #8ACF19;
  color: #0a0a0a;
}
.globe-marker:hover .globe-marker-inner {
  transform: scale(1.25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.globe-marker-home .globe-marker-inner {
  min-width: 44px;
  height: 28px;
  padding: 0 12px;
  background: #8ACF19;
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 900;
  border: 2px solid white;
  box-shadow: 0 0 0 4px rgba(138, 207, 25, 0.3), 0 4px 14px rgba(0, 0, 0, 0.3);
  animation:
    markerPopIn 420ms cubic-bezier(0.34, 1.56, 0.64, 1) backwards,
    homePulse 2.4s ease-in-out 600ms infinite;
}
.globe-marker-home:hover .globe-marker-inner {
  background: #8ACF19;
  color: #0a0a0a;
}
.globe-marker-home:hover .globe-marker-inner {
  transform: scale(1.15);
}
@keyframes markerPopIn {
  from { opacity: 0; transform: scale(0.3); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes homePulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(138, 207, 25, 0.3), 0 4px 14px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(138, 207, 25, 0.1), 0 4px 14px rgba(0, 0, 0, 0.3);
  }
}

/* Marker tooltip (appears on hover) */
.marker-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0a2624;
  color: white;
  padding: 7px 11px;
  border-radius: 8px;
  font-family: 'Raleway', system-ui, sans-serif;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 200;
}
.marker-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #0a2624;
}
.marker-tooltip-title {
  display: block;
  line-height: 1.2;
}
.marker-tooltip-sub {
  display: block;
  font-weight: 500;
  font-size: 10px;
  color: #b8e95a;
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.globe-marker:hover .marker-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Contact form inputs */
.contact-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #FAF7F2;
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 15px;
  color: #2C3E50;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  outline: none;
}
.contact-input::placeholder {
  color: #a5acb5;
}
.contact-input:hover {
  border-color: rgba(138, 207, 25, 0.2);
}
.contact-input:focus {
  border-color: #8ACF19;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(138, 207, 25, 0.08);
}
.contact-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
  font-family: 'Open Sans', system-ui, sans-serif;
}
.contact-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ACF19' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 48px;
  cursor: pointer;
}

/* ═══ EUROPE MAP (SVG-based, replaces WebGL globe) ═══
 * Markers use .globe-marker styles defined above. Wrapper .map-marker-pos
 * absolutely positions each marker over the SVG via percent coords. */
.map-canvas {
  cursor: default;
}
.map-marker-pos {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: auto;
}
.map-marker-pos:hover {
  z-index: 50;
}
/* Animated arcs: dashes flow from Hanau outward */
.map-arc {
  stroke-dasharray: 6 12;
  stroke-dashoffset: 0;
  animation: mapArcFlow 4.5s linear infinite;
  opacity: 0.95;
  filter: drop-shadow(0 0 1px rgba(138,207,25,0.5));
}
@keyframes mapArcFlow {
  to { stroke-dashoffset: -180; }
}
@media (prefers-reduced-motion: reduce) {
  .map-arc {
    animation: none;
    stroke-dasharray: 0;
  }
}
/* Reduced motion: pause + hide video element, keep the static poster
   image (set via background-image on .hero-video-section) visible. */
@media (prefers-reduced-motion: reduce) {
  .hero-video-section video {
    visibility: hidden;
  }
}


/* (removed duplicate Gemini-CSS animation block — replaced by upstream defs) */


/* ═══ CONTACT MODAL ═══ */
.contact-modal {
  animation: contactModalFade 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-modal-card {
  animation: contactModalSlide 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes contactModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes contactModalSlide {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 767px) {
  @keyframes contactModalSlide {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
}
.contact-modal-card form .contact-input {
  font-size: 16px; /* prevent iOS zoom on focus */
}
@media (prefers-reduced-motion: reduce) {
  .contact-modal,
  .contact-modal-card {
    animation: none;
  }
}