/* Sport Mode Unterhuber - Custom styles */
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700;800&display=swap');
:root {
  --brand: #155d3b;        /* deep forest green */
  --brand-2: #1e7f52;      /* vibrant green */
  --brand-3: #0f2a1e;      /* near-black green */
  --ink: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --cream: #f6f7f7;
  --radius: 14px;
}

html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
.display-4, h1, h2, h3, .h1, .h2, .h3 { font-family: Poppins, Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }
.display-4 { letter-spacing: .2px; }
.navbar-brand strong { letter-spacing: .5px; }

/* Glassy navbar */
.glass-nav {
  background: rgba(14,16,16,.92);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
}
.glass-nav.scrolled { background: rgba(14,16,16,.98); }
.glass-nav .navbar-brand, .glass-nav .nav-link { color: #fff; }
.glass-nav .nav-link:hover { color: #f8f9fa; }
.glass-nav .btn { border-color: rgba(255,255,255,.5); color: #fff; }
.glass-nav .btn.active, .glass-nav .btn:hover { background: rgba(255,255,255,.12); }
.navbar-toggler { border-color: rgba(255,255,255,.35); }
.navbar-toggler-icon { filter: none; }

/* Hero */
.hero {
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.65)), url('../img/hero.svg') center/cover no-repeat, #111;
  color: #fff;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
}
@media (min-width: 992px) {
  .hero { background-attachment: scroll, fixed; }
}
.hero-overlay { background: radial-gradient(1000px 400px at 10% 10%, rgba(255,255,255,.08), transparent); width: 100%; position: relative; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(30px);
  opacity: .35; pointer-events: none; mix-blend-mode: screen;
}
.hero::before {
  width: clamp(260px, 38vw, 560px); height: clamp(260px, 38vw, 560px);
  left: -10%; top: -10%; background: radial-gradient(closest-side, rgba(30,127,82,.55), transparent 60%);
  animation: floatA 16s ease-in-out infinite;
}
.hero::after {
  width: clamp(300px, 45vw, 680px); height: clamp(300px, 45vw, 680px);
  right: -15%; bottom: -15%; background: radial-gradient(closest-side, rgba(21,93,59,.55), transparent 60%);
  animation: floatB 20s ease-in-out infinite;
}
@keyframes floatA { 0%,100%{ transform: translate3d(0,0,0);} 50%{ transform: translate3d(12px,-10px,0);} }
@keyframes floatB { 0%,100%{ transform: translate3d(0,0,0);} 50%{ transform: translate3d(-14px,10px,0);} }
.hero-overlay::after { /* subtle grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.2'/%3E%3C/svg%3E");
}
.btn-cta { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border: none; border-radius: 999px; padding-inline: 1.25rem; }
.btn-cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
.hero .display-4 { text-shadow: 0 3px 14px rgba(0,0,0,.25); }

/* Scroll indicator */
.scroll-indicator { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; opacity: .9; text-decoration: none; display: inline-flex; align-items: center; gap: .25rem; }
.scroll-indicator .chev { width: 10px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); animation: bounce 1.6s infinite; }
@keyframes bounce { 0%,100%{ transform: translate(-50%,0) rotate(45deg);} 50%{ transform: translate(-50%,6px) rotate(45deg);} }

/* Cards / brands */
.brand-logo { max-height: 74px; object-fit: contain; transition: transform .25s ease; will-change: transform; }
.brand-card {
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  border: 1px solid transparent;
  background-image: linear-gradient(#fff,#fff), linear-gradient(135deg, var(--brand), var(--brand-2));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: var(--radius);
}
.brand-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.brand-logo { filter: grayscale(1) contrast(1.1); }
.brand-card:hover .brand-logo { transform: scale(1.04); filter: none; }

/* Gallery */
.gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: .5rem; transition: transform .35s ease, box-shadow .35s ease; }
.gallery img:hover { transform: scale(1.025); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.gallery .col-6, .gallery .col-md-4, .gallery .col-lg-3 { perspective: 800px; }
.gallery img { transform-origin: center; }

/* FAQ */
.faq-item .accordion-button { font-weight: 600; }

/* Map */
.map-placeholder { background: #f4f4f4; border: 1px solid #e2e2e2; border-radius: .75rem; overflow: hidden; }
.map-cta { padding: 2rem; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .75rem; }

/* Layout helpers */
.flag-switch .btn { padding: .15rem .5rem; }
.section-title { margin-bottom: .75rem; }
.section-title { position: relative; padding-left: 1rem; }
.section-title::before { content: ""; position: absolute; left: 0; top: .4em; width: 6px; height: 1.1em; border-radius: 2px; background: linear-gradient(180deg, var(--brand), var(--brand-2)); }
.filter-btns .btn { margin-bottom: .5rem; }
.filter-btns { background: rgba(255,255,255,.06); backdrop-filter: blur(6px); border-radius: .5rem; padding: .25rem; }

/* Scroll progress */
#scrollProgress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1200; background: linear-gradient(90deg, var(--brand), var(--brand-2)); box-shadow: 0 0 10px rgba(30,127,82,.5); }

/* Footer */
.footer { background: #0e1010; color: #ddd; }
.footer a { color: #bbb; }

/* Utilities */
.text-small { font-size: .925rem; }
.opacity-80 { opacity: .8; }
section { scroll-margin-top: 72px; }

/* Skip link */
.skip-link { position: absolute; left: -999px; top: -999px; background: #000; color: #fff; padding: .5rem .75rem; border-radius: .25rem; }
.skip-link:focus { left: .5rem; top: .5rem; z-index: 10000; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
