/* ============================================
   ELEKTRICKÉ MOTORKY — style.css
   Layout: "Geometric Shift" — asymmetric grids,
   diagonal accents, overlapping elements
   ============================================ */

:root {
  --primary: #111111;
  --primary-dark: #000000;
  --primary-light: #f5f5f5;
  --secondary: #1a1a1a;
  --accent: #D42B2B;
  --highlight: #E63333;
  --dark: #0a0a0a;
  --light: #f7f7f7;
  --text: #1a1a1a;
  --text-light: #666666;
  --azure: #E63333;
  --azure-light: #fdeaea;
  --gray-border: #e0e0e0;
  --gray-dark: #333333;
  --white: #fff;
  --danger: #fc5185;
  --success: #00b090;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 64px;
  --section-padding: 100px 0;
  --container-width: 1140px;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --transition: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; color: var(--primary); }
ul { list-style: none; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

/* --- Focus / Accessibility --- */
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button:focus:not(:focus-visible) { outline: none; }
.skip-link {
  position: absolute; top: -100%; left: 16px; padding: 8px 16px;
  background: var(--primary); color: var(--white); z-index: 10000;
  border-radius: 4px; font-weight: 600; font-size: 14px;
}
.skip-link:focus { top: 8px; color: var(--white); }

/* --- Page Loader --- */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark); display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease;
}
.loader-spinner {
  width: 40px; height: 40px; border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--highlight); border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 50px; font-family: var(--font-body);
  font-weight: 600; font-size: 15px; cursor: pointer; border: none;
  transition: all var(--transition); text-decoration: none;
  letter-spacing: 0.3px;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--highlight); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,51,51,0.35); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* --- Pill Badge --- */
.pill-badge {
  display: inline-block; padding: 6px 20px; background: var(--highlight);
  color: var(--white); border-radius: 50px; font-size: 12px; font-weight: 600;
  margin-bottom: 16px; letter-spacing: 0.5px;
}

/* --- Section Label --- */
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--highlight); margin-bottom: 12px;
}

/* ============================================
   NAVIGATION — Glassmorphism
   ============================================ */
nav#nav_1 {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  height: var(--nav-height);
  border-bottom: 1px solid rgba(218,220,224,0.4);
  transition: all var(--transition);
}
nav#nav_1.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

/* Hero-transparent nav: on the hero the nav goes dark-glass */
body[data-page="home"] nav#nav_1:not(.scrolled) {
  background: rgba(15,15,15,0.3);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,0.08);
}
body[data-page="home"] nav#nav_1:not(.scrolled) .logo,
body[data-page="home"] nav#nav_1:not(.scrolled) #nav-links a {
  color: var(--white);
}
body[data-page="home"] nav#nav_1:not(.scrolled) .hamburger span {
  background: var(--white);
}

/* Override white color for mobile menu */
@media (max-width: 768px) {
  body[data-page="home"] nav#nav_1 #nav-links.open a {
    color: #666666 !important;
  }
}

.nav-container {
  max-width: var(--container-width); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 32px;
  justify-content: space-between;
}

.logo {
  color: var(--primary);
  white-space: nowrap; text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.logo:hover { color: var(--highlight); }
.logo-icon { width: 32px; height: 32px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-title { font-size: 16px; font-weight: 800; letter-spacing: -0.3px; }
.logo-sub { font-size: 10px; font-weight: 500; opacity: 0.65; letter-spacing: 0.3px; }

#nav-links { display: flex; align-items: center; gap: 0; margin-left: auto; flex-wrap: wrap; }
#nav-links li { display: list-item; }
#nav-links a {
  padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--text);
  transition: all var(--transition); text-decoration: none; border-radius: 8px;
  display: block;
}
#nav-links a:hover { color: var(--highlight); background: rgba(230,51,51,0.06); }
#nav-links a.active { color: var(--highlight); }

/* Nav CTA button */
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 24px; border-radius: 50px; font-size: 13px; font-weight: 600;
  background: var(--primary); color: var(--white);
  text-decoration: none; transition: all var(--transition);
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--highlight); color: var(--white); transform: translateY(-1px); }

/* Transparent hero state — outlined white CTA */
body[data-page="home"] nav#nav_1:not(.scrolled) .nav-cta {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
body[data-page="home"] nav#nav_1:not(.scrolled) .nav-cta:hover {
  background: var(--white); color: var(--primary); border-color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 4px;
  margin-left: auto;
}
.hamburger span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .hamburger { 
    display: flex !important; 
  }
  
  #nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: white;
    flex-direction: column;
    padding: 0;
    margin: 0;
    z-index: 9999;
    overflow-y: auto;
  }
  
  #nav-links.open {
    display: flex !important;
  }
  
  #nav-links li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  #nav-links li a {
    display: block;
    width: 100%;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #333 !important;
    background: white;
    border-bottom: 1px solid #eee;
    text-decoration: none;
  }
  
  #nav-links li a:hover {
    background: #f5f5f5;
    color: #D42B2B !important;
  }
  
  .nav-cta { 
    display: none !important; 
  }
  
  /* Light navbar when menu open */
  body[data-page="home"] nav#nav_1.menu-open {
    background: rgba(255,255,255,0.98);
  }
  
  body[data-page="home"] nav#nav_1.menu-open .logo {
    color: var(--primary);
  }
  
  body[data-page="home"] nav#nav_1.menu-open .hamburger span {
    background: var(--text);
  }
  
  body[data-page="home"] nav#nav_1:not(.scrolled):not(.menu-open) .hamburger span { 
    background: var(--white); 
  }
}

/* ============================================
   HERO — Centered layout with animated background
   ============================================ */
.hero-section {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding-top: var(--nav-height); overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%); }
  50% { background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #1a1a1a 100%); }
}

/* Remove right-side image */
.hero-image-wrap {
  display: none;
}

/* Animated wave effect */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(230,51,51,0.08)' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") bottom center / 100% auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(230,51,51,0.05)' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,213.3C672,224,768,224,864,208C960,192,1056,160,1152,154.7C1248,149,1344,171,1392,181.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") bottom center / 100% auto no-repeat;
  animation: waveMove 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes waveMove {
  0%, 100% { 
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
  50% { 
    transform: translateX(-50px) translateY(-10px);
    opacity: 0.8;
  }
}

/* Animated particles background */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(230, 51, 51, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(230, 51, 51, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
  animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { 
    background-position: 0% 0%, 100% 100%, 50% 100%;
    opacity: 1;
  }
  50% { 
    background-position: 100% 100%, 0% 0%, 30% 50%;
    opacity: 0.8;
  }
}

/* Light leak — subtle glow */
.hero-light-leak {
  position: absolute; z-index: 2; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(230,51,51,0.15) 0%, transparent 60%);
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

/* Film grain texture */
.hero-grain {
  position: absolute; z-index: 2; inset: 0; pointer-events: none;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grainMove 8s steps(10) infinite;
}

@keyframes grainMove {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -5%); }
  20% { transform: translate(-10%, 5%); }
  30% { transform: translate(5%, -10%); }
  40% { transform: translate(-5%, 5%); }
  50% { transform: translate(-10%, -5%); }
  60% { transform: translate(10%, 5%); }
  70% { transform: translate(5%, 10%); }
  80% { transform: translate(-5%, -10%); }
  90% { transform: translate(10%, -5%); }
}

/* ---- Centered text content ---- */
.hero-container {
  position: relative; z-index: 4;
  max-width: var(--container-width); width: 100%;
  margin: 0 auto; padding: 80px 24px;
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - var(--nav-height));
}

.hero-content {
  max-width: 800px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}

/* Location badge */
.hero-badge {
  display: inline-block; padding: 7px 20px;
  background: var(--highlight); color: var(--white);
  border-radius: 50px; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease 0.3s both;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
  font-size: clamp(36px, 5vw, 64px); font-weight: 800; color: var(--white);
  margin-bottom: 24px; line-height: 1.08; letter-spacing: -1px;
  text-align: center;
  animation: fadeInUp 1s ease 0.5s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.7); line-height: 1.75;
  margin-bottom: 36px; max-width: 600px; text-align: center;
  animation: fadeIn 1s ease 0.7s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-actions { 
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  animation: fadeInUp 1s ease 0.9s both;
}

.hero-cta {
  font-size: 15px; padding: 15px 36px;
  background: var(--highlight); color: var(--white); font-weight: 700;
  border-radius: 50px;
}
.hero-cta:hover {
  background: var(--white); color: var(--primary);
  transform: translateY(-3px); box-shadow: 0 10px 28px rgba(230,51,51,0.3);
}

.hero-cta-outline {
  font-size: 15px; padding: 15px 36px; font-weight: 600;
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.25); border-radius: 50px;
}
.hero-cta-outline:hover {
  border-color: var(--white); background: rgba(255,255,255,0.08);
  color: var(--white); transform: translateY(-3px);
}

/* Scroll hint */
.hero-scroll-hint {
  display: flex; align-items: center; gap: 12px;
  margin-top: 60px;
}
.hero-scroll-line {
  width: 40px; height: 1px; background: rgba(255,255,255,0.25);
}
.hero-scroll-text {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  color: rgba(255,255,255,0.35); text-transform: uppercase;
}

/* ---- Motorcycle animation effect ---- */
.hero-moto-fx {
  position: absolute; z-index: 3; inset: 0;
  pointer-events: none; overflow: hidden;
}

/* Speed lines — thin horizontal streaks */
.hero-speed-line {
  position: absolute; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.25), transparent);
  animation: speedLine 4s ease-in-out infinite;
}
.hero-speed-line--1 { bottom: 28%; left: 5%; width: 120px; animation-delay: 0s; }
.hero-speed-line--2 { bottom: 32%; left: 10%; width: 80px; animation-delay: 1.2s; opacity: 0.6; }
.hero-speed-line--3 { bottom: 25%; left: 2%; width: 60px; animation-delay: 2.4s; opacity: 0.4; }

@keyframes speedLine {
  0%   { transform: translateX(-100px); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(200px); opacity: 0; }
}

/* Motorcycle rider — rides across the bottom */
.hero-moto-rider {
  position: absolute; bottom: 16%; left: -180px;
  animation: motoRide 8s cubic-bezier(0.25, 0.1, 0.25, 1) 1.5s forwards;
}

@keyframes motoRide {
  0%   { left: -180px; opacity: 0; }
  5%   { opacity: 0.7; }
  40%  { opacity: 0.5; }
  60%  { left: 32%; opacity: 0.35; }
  80%  { opacity: 0.15; }
  100% { left: 42%; opacity: 0; }
}

.hero-moto-svg {
  width: 140px; height: 70px;
  color: rgba(255,255,255,0.5);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

/* Glow under the motorcycle */
.hero-moto-glow {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 16px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: motoGlow 0.8s ease-in-out infinite alternate;
}

@keyframes motoGlow {
  0%   { opacity: 0.4; transform: translateX(-50%) scaleX(0.9); }
  100% { opacity: 0.8; transform: translateX(-50%) scaleX(1.1); }
}

/* Trail behind the motorcycle */
.hero-moto-trail {
  position: absolute; top: 50%; right: 100%; transform: translateY(-50%);
  width: 300px; height: 2px;
  background: linear-gradient(to left, rgba(255,255,255,0.35), rgba(255,255,255,0.08), transparent);
  filter: blur(1px);
}
.hero-moto-trail::before {
  content: ''; position: absolute; top: -4px; right: 0;
  width: 200px; height: 10px;
  background: linear-gradient(to left, rgba(255,255,255,0.06), transparent);
  filter: blur(4px); border-radius: 50%;
}

/* Ground reflection line */
.hero-moto-ground {
  position: absolute; bottom: 15%; left: 0; right: 40%;
  height: 1px;
  background: linear-gradient(to right, transparent 5%, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
}

/* Wheel spin animation on the SVG */
.hero-moto-svg circle:nth-child(1),
.hero-moto-svg circle:nth-child(3) {
  stroke-dasharray: 4 4;
  animation: wheelSpin 0.5s linear infinite;
}

@keyframes wheelSpin {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -8; }
}

@media (max-width: 768px) {
  .hero-moto-fx { 
    display: block;
    opacity: 0.8;
  }
  
  .hero-moto-rider {
    bottom: 10%;
    animation: motoRideMobile 7s cubic-bezier(0.25, 0.1, 0.25, 1) 1.5s forwards;
  }
  
  @keyframes motoRideMobile {
    0%   { left: -120px; opacity: 0; }
    5%   { opacity: 0.8; }
    40%  { opacity: 0.6; }
    60%  { left: 35%; opacity: 0.5; }
    80%  { opacity: 0.3; }
    100% { left: 50%; opacity: 0; }
  }
  
  .hero-moto-svg {
    width: 110px;
    height: 55px;
  }
  
  .hero-speed-line {
    display: block;
  }
  
  .hero-speed-line--1 { bottom: 22%; left: 5%; width: 80px; }
  .hero-speed-line--2 { bottom: 25%; left: 8%; width: 60px; }
  .hero-speed-line--3 { bottom: 19%; left: 2%; width: 50px; }
  
  .hero-moto-ground {
    display: block;
    bottom: 9%;
  }
}

/* ---- Responsive ---- */
@media (max-width: 968px) {
  .hero-image-wrap { width: 40%; }
  .hero-image-wrap::before {
    background: linear-gradient(
      to right,
      var(--dark) 0%,
      rgba(10,10,10,0.95) 15%,
      rgba(10,10,10,0.6) 40%,
      rgba(10,10,10,0.15) 80%,
      transparent 100%
    );
  }
}

@media (max-width: 768px) {
  .hero-section { min-height: 90vh; }
  
  .hero-container {
    padding: 60px 24px;
    min-height: 85vh;
  }
  
  .hero-content { 
    max-width: 100%; 
  }
  
  .hero-content h1 {
    font-size: clamp(32px, 8vw, 48px);
  }
  
  .hero-sub {
    font-size: 16px;
  }
}

/* ============================================
   FEATURES — Horizontal inline strip
   ============================================ */
.features-section {
  position: relative; z-index: 5;
  padding: 60px 0; background: var(--primary);
  overflow: hidden;
}

/* Red flowing wave ribbons — shared class */
.red-waves { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.red-waves::before {
  content: ''; position: absolute; inset: -20% -5%; z-index: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400'%3E%3Cpath fill='none' stroke='rgba(230,51,51,0.18)' stroke-width='1.5' d='M-100,200 C200,80 400,320 720,200 C1040,80 1240,320 1540,200'/%3E%3Cpath fill='none' stroke='rgba(230,51,51,0.1)' stroke-width='1' d='M-100,240 C250,120 450,340 720,220 C990,100 1200,320 1540,220'/%3E%3Cpath fill='none' stroke='rgba(230,51,51,0.08)' stroke-width='2' d='M-100,160 C180,280 380,60 720,180 C1060,300 1260,80 1540,180'/%3E%3Cpath fill='none' stroke='rgba(230,51,51,0.12)' stroke-width='1' d='M-100,280 C300,160 500,340 720,240 C940,140 1180,300 1540,220'/%3E%3Cpath fill='none' stroke='rgba(212,43,43,0.06)' stroke-width='2' d='M-100,120 C220,260 420,100 720,160 C1020,220 1220,100 1540,160'/%3E%3C/svg%3E") center/cover no-repeat;
}
.red-waves::after {
  content: ''; position: absolute; inset: -10% -5%; z-index: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400'%3E%3Cpath fill='none' stroke='rgba(230,51,51,0.1)' stroke-width='1.5' d='M-50,140 C300,260 500,80 750,180 C1000,280 1150,100 1500,200'/%3E%3Cpath fill='none' stroke='rgba(212,43,43,0.07)' stroke-width='1' d='M-50,260 C280,160 480,300 750,220 C1020,140 1220,280 1500,200'/%3E%3Cpath fill='none' stroke='rgba(230,51,51,0.06)' stroke-width='2' d='M-50,180 C320,300 520,120 750,200 C980,280 1180,120 1500,180'/%3E%3C/svg%3E") center/cover no-repeat;
}

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  max-width: var(--container-width); margin: 0 auto; padding: 0 24px;
  position: relative; z-index: 1;
}

.feature-card {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition);
}

/* Vertical dividers between cards */
.feature-card + .feature-card { border-left: 1px solid rgba(255,255,255,0.12); }

.feature-card::before { display: none; }

.feature-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--highlight);
}
.feature-icon svg { width: 24px; height: 24px; stroke: currentColor; }

.feature-card h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.55; }

@media (max-width: 768px) {
  .feature-card h3 { color: rgba(255,255,255,0.98); }
  .feature-card p { color: rgba(255,255,255,0.85); }
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card + .feature-card { border-left: none; border-top: 1px solid rgba(255,255,255,0.12); }
}

/* ============================================
   BRANDS — Full-width horizontal cards
   ============================================ */
.brands-section {
  padding: var(--section-padding); text-align: center;
  position: relative; overflow: hidden;
  background: var(--white);
}
/* Thin red accent line top */
.brands-section::before {
  content: ''; position: absolute;
  top: 0; left: 10%; right: 10%; height: 3px;
  background: var(--accent); pointer-events: none;
  opacity: 0.15;
}
/* Geometric diamond shape */
.brands-section::after {
  content: ''; position: absolute;
  top: 60px; right: 5%; width: 80px; height: 80px;
  border: 2px solid rgba(230,51,51,0.08);
  transform: rotate(45deg); pointer-events: none;
}

.brands-section h2 {
  font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 12px; color: var(--primary); font-weight: 800;
  letter-spacing: -0.5px;
}

.brands-section .section-sub {
  font-size: 15px; color: var(--text-light); max-width: 500px; margin: 0 auto 48px; line-height: 1.6;
}

.brands-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: var(--container-width); margin: 0 auto;
  align-items: stretch;
}

.brand-group {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.brand-group .pill-badge { margin-bottom: 12px; }

.brand-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow); transition: all var(--transition-slow);
  cursor: pointer; border: 1px solid var(--gray-border);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--highlight);
}

.brand-card-image {
  display: block; width: 100%; height: 180px;
  object-fit: contain; padding: 28px;
  background: var(--light); border-bottom: 1px solid var(--gray-border);
  -webkit-user-drag: none; user-select: none;
  pointer-events: none;
}

.brand-card-body { 
  padding: 24px; 
  display: flex;
  flex-direction: column;
  flex: 1;
}
.brand-card h3 { font-size: 19px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.brand-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin: 0 0 16px; flex: 1; }

.brand-website-btn {
  display: inline-block;
  padding: 8px 20px; border-radius: 50px; font-size: 12px; font-weight: 600;
  background: var(--primary); color: var(--white);
  text-decoration: none; transition: all var(--transition);
}
.brand-website-btn:hover {
  background: var(--highlight); color: var(--white);
}

@media (max-width: 768px) {
  .brands-grid { grid-template-columns: 1fr; max-width: 440px; }
}

/* ============================================
   PRODUCTS — Bento-style grid
   ============================================ */
.products-section {
  padding: var(--section-padding); text-align: center;
  position: relative; overflow: hidden;
  background: var(--light);
}
/* Red corner accent — top right */
.products-section::before {
  content: ''; position: absolute;
  top: 0; right: 0; width: 120px; height: 120px;
  border-bottom: 3px solid rgba(230,51,51,0.1);
  border-left: 3px solid rgba(230,51,51,0.1);
  pointer-events: none;
}
/* Black corner accent — bottom left */
.products-section::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 120px; height: 120px;
  border-top: 3px solid rgba(10,10,10,0.06);
  border-right: 3px solid rgba(10,10,10,0.06);
  pointer-events: none;
}

.products-section h2 {
  font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 12px; color: var(--primary);
  font-weight: 800; letter-spacing: -0.5px;
}

.section-sub {
  font-size: 15px; color: var(--text-light); max-width: 550px; margin: 0 auto 48px;
}

.products-grid {
  display: flex; flex-direction: column; gap: 0;
  text-align: left;
}

/* Brand separator heading */
.products-brand-separator {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.products-brand-separator--spaced {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-border);
}
.products-brand-title {
  font-size: 22px; font-weight: 800; color: var(--primary);
  letter-spacing: -0.3px; margin: 0;
}
.products-brand-count {
  font-size: 12px; font-weight: 600; color: var(--text-light);
  background: var(--primary-light); padding: 4px 14px; border-radius: 50px;
}

/* Sub-grid per brand */
.products-brand-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin-bottom: 8px;
}

.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: all var(--transition-slow);
  border: 1px solid var(--gray-border);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--highlight);
}

.product-card-image {
  width: 100%; height: 200px; object-fit: cover;
  -webkit-user-drag: none; user-select: none;
  pointer-events: none;
}

/* Image protection overlay — watermark + noise */
.product-card .img-protect {
  position: relative; overflow: hidden;
}
.product-card .img-protect::after {
  content: 'Kamil Figura  •  Elektrické Motorky  •  Kamil Figura  •  Elektrické Motorky  •  Kamil Figura  •  Elektrické Motorky';
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: rgba(255,255,255,0.06);
  text-transform: uppercase; white-space: nowrap;
  transform: rotate(-20deg) scale(1.5);
  pointer-events: none; user-select: none;
}
.product-card .img-protect::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  opacity: 0.02; mix-blend-mode: overlay;
  pointer-events: none;
}

.product-card-body {
  padding: 24px; flex: 1; display: flex; flex-direction: column;
}
.product-card-brand {
  font-size: 11px; font-weight: 700; color: var(--highlight);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;
}
.product-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.product-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; flex: 1; }

.product-card-footer { display: flex; gap: 10px; align-items: center; }

.product-link {
  padding: 10px 24px; background: var(--primary); color: var(--white); border-radius: 50px;
  font-size: 13px; font-weight: 600; transition: all var(--transition); text-decoration: none;
}
.product-link:hover { background: var(--highlight); color: var(--white); transform: translateY(-1px); }

.product-link-outline {
  padding: 10px 24px; background: transparent; color: var(--primary); border: 1.5px solid var(--primary);
  border-radius: 50px; font-size: 13px; font-weight: 600; transition: all var(--transition); text-decoration: none;
}
.product-link-outline:hover { background: var(--primary); color: var(--white); }

.product-price { font-size: 15px; font-weight: 700; color: var(--primary); }

@media (max-width: 768px) {
  .products-brand-grid { grid-template-columns: 1fr; }
  .products-brand-separator--spaced { margin-top: 40px; padding-top: 32px; }
}

/* ============================================
   ABOUT — Asymmetric with accent backdrop
   ============================================ */
.about-section {
  padding: 120px 0; background: var(--light);
  position: relative; overflow: hidden;
  border-top: 3px solid var(--accent);
}

/* Large decorative circle behind the image */
.about-section::before {
  content: ''; position: absolute;
  top: 50%; left: -5%; transform: translateY(-50%);
  width: 500px; height: 500px;
  background: linear-gradient(135deg, var(--primary-light), rgba(230,51,51,0.08));
  border-radius: 50%;
  pointer-events: none;
}

.about-container {
  display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center;
  position: relative;
}

.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  border-radius: var(--radius); box-shadow: var(--shadow-xl);
  width: 100%; object-fit: cover; position: relative; z-index: 1;
  -webkit-user-drag: none; user-select: none; pointer-events: none;
}
/* Accent frame behind the image */
.about-image-wrap::before {
  content: ''; position: absolute;
  top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 3px solid var(--highlight); border-radius: var(--radius);
  z-index: 0;
}

.about-content h2 {
  font-size: clamp(26px, 3vw, 38px); margin-bottom: 20px; color: var(--primary);
  font-weight: 800; letter-spacing: -0.5px; line-height: 1.15;
}

.about-content p {
  font-size: 15px; color: var(--text-light); line-height: 1.85;
}

@media (max-width: 768px) {
  .about-section { padding: 80px 0; }
  .about-section::before { width: 300px; height: 300px; left: -15%; }
  .about-container { grid-template-columns: 1fr; gap: 32px; }
  .about-image-wrap::before { top: -10px; left: -10px; right: 10px; bottom: 10px; }
}

/* ============================================
   TESTIMONIALS — Light bg, large accent quote marks
   ============================================ */
.testimonials-section {
  padding: var(--section-padding);
  background: var(--white);
  text-align: center;
  position: relative;
}

/* Decorative accent stripe */
.testimonials-section::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--highlight), var(--accent));
}

.testimonials-section h2 {
  font-size: clamp(26px, 3vw, 38px); color: var(--primary); margin-bottom: 48px;
  font-weight: 800; letter-spacing: -0.5px;
}

.testimonials-slider {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px;
  max-width: 900px; margin: 0 auto;
}

.testimonial-card {
  padding: 40px 36px 36px;
  background: var(--light); border-radius: var(--radius);
  text-align: left; position: relative;
  border: 1px solid var(--gray-border);
  transition: all var(--transition-slow);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--highlight);
}

/* Large opening quote mark */
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 16px; left: 28px;
  font-size: 72px; font-family: Georgia, serif; line-height: 1;
  color: var(--highlight); opacity: 0.2;
}

.testimonial-quote {
  font-size: 16px; font-style: italic; color: var(--text); line-height: 1.75; margin-bottom: 20px;
  position: relative; z-index: 1;
}

.testimonial-quote-icon { display: none; }

.testimonial-author {
  font-size: 14px; color: var(--text-light); font-style: normal; font-weight: 600;
  padding-top: 16px; border-top: 2px solid var(--highlight);
  display: inline-block;
}

/* ============================================
   CTA BANNER — Bold call-to-action
   ============================================ */
.cta-section {
  padding: 100px 0; text-align: center;
  background: var(--primary); position: relative; overflow: hidden;
  background-image: url('https://arctic-leopard-usa.com/cdn/shop/files/exe-971334.jpg?v=1753247225&width=1600');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.65) 0%, rgba(10, 10, 10, 0.72) 100%);
  z-index: 0;
}

/* Animated diagonal accent shapes */
.cta-bg-shape {
  position: absolute; inset: 0; pointer-events: none;
}
.cta-bg-shape::before {
  content: ''; position: absolute;
  top: -30%; left: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(230,51,51,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-bg-shape::after {
  content: ''; position: absolute;
  bottom: -20%; right: -5%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-container { position: relative; z-index: 1; max-width: 700px; }

.cta-section h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--white);
  margin-bottom: 16px; letter-spacing: -0.5px; line-height: 1.1;
}
.cta-section p {
  font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.7;
  max-width: 560px; margin: 0 auto 36px;
}

.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-btn-primary {
  padding: 16px 40px; font-size: 15px; font-weight: 700;
  background: var(--white); color: var(--primary); border-radius: 50px;
}
.cta-btn-primary:hover {
  background: var(--highlight); color: var(--white);
  transform: translateY(-3px); box-shadow: 0 10px 30px rgba(230,51,51,0.35);
}

.cta-btn-secondary {
  padding: 16px 40px; font-size: 15px; font-weight: 600;
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.35); border-radius: 50px;
}
.cta-btn-secondary:hover {
  border-color: var(--white); background: rgba(255,255,255,0.08);
  color: var(--white); transform: translateY(-3px);
}

@media (max-width: 768px) {
  .cta-section { padding: 80px 0; }
}

/* ============================================
   BATTERY PARTNER — Link to battery website
   ============================================ */
.battery-section {
  padding: var(--section-padding); background: var(--light);
  position: relative; overflow: hidden;
}

.battery-container {
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
}

.battery-content .section-label { margin-bottom: 12px; }

.battery-content h2 {
  font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--primary);
  margin-bottom: 16px; letter-spacing: -0.3px;
}
.battery-content p {
  font-size: 15px; color: var(--text-light); line-height: 1.8;
  margin-bottom: 28px; max-width: 540px;
}

.battery-link {
  padding: 14px 36px;
}

.battery-visual {
  display: flex; align-items: center; justify-content: center;
}

.battery-icon-wrap {
  width: 140px; height: 140px;
  background: linear-gradient(135deg, var(--primary-light), var(--azure-light));
  border-radius: 32px; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.battery-icon-wrap::before {
  content: ''; position: absolute; inset: -8px;
  border: 2px dashed rgba(230,51,51,0.2); border-radius: 38px;
}
.battery-icon-wrap svg,
.battery-icon-wrap i {
  width: 56px; height: 56px; color: var(--primary); stroke: var(--primary);
}

@media (max-width: 768px) {
  .battery-container {
    grid-template-columns: 1fr; text-align: center;
  }
  .battery-content p { margin-left: auto; margin-right: auto; }
  .battery-visual { order: -1; }
  .battery-icon-wrap { width: 110px; height: 110px; border-radius: 28px; }
  .battery-icon-wrap svg,
  .battery-icon-wrap i { width: 44px; height: 44px; }
}

/* ============================================
   CONTACT — Split diagonal background
   ============================================ */
.contact-section {
  padding: var(--section-padding); background: var(--primary);
  position: relative; overflow: hidden;
}

/* Diagonal slice */
.contact-section::before {
  content: ''; position: absolute;
  top: 0; right: 0; width: 55%; height: 100%;
  background: var(--primary-dark);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

.contact-container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
  position: relative; z-index: 1;
}

.contact-text h2 {
  font-size: clamp(26px, 3vw, 38px); margin-bottom: 20px; color: var(--white);
  font-weight: 800; letter-spacing: -0.5px;
}
.contact-text > p {
  font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.85;
}

/* Contact Form — elevated white card */
.contact-form-wrap {
  background: var(--white); padding: 36px; border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea {
  padding: 12px 16px; border: 1.5px solid var(--gray-border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; color: var(--text); background: var(--light);
  transition: all var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--highlight); outline: none;
  box-shadow: 0 0 0 4px rgba(230,51,51,0.1); background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #adb5bd; }

.form-consent { flex-direction: row; align-items: flex-start; }
.consent-label { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-light); cursor: pointer; }
.consent-label input[type="checkbox"] { margin-top: 3px; accent-color: var(--highlight); }
.consent-label a { color: var(--accent); text-decoration: underline; }

.form-success { padding: 12px 16px; background: #def4f0; color: var(--success); border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; }
.form-error { padding: 12px 16px; background: #ffe8ef; color: var(--danger); border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; }

@media (max-width: 768px) {
  .contact-section::before { width: 100%; clip-path: polygon(0 0, 100% 0, 100% 50%, 0 65%); }
  .contact-container { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================
   MAP + CONTACT DETAILS — Side by side
   ============================================ */
.contact-map-section {
  padding: 80px 0; background: var(--white);
}

.contact-map-container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}

.contact-map-embed {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.contact-map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }

.contact-info-detailed h3 {
  font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--primary);
  margin-bottom: 8px; letter-spacing: -0.3px;
}
.contact-info-detailed > p { font-size: 14px; color: var(--text-light); margin-bottom: 28px; line-height: 1.6; }

.contact-info-row { display: flex; gap: 16px; margin-bottom: 16px; align-items: flex-start; }
.contact-info-row strong { font-size: 14px; font-weight: 700; color: var(--text); min-width: 100px; flex-shrink: 0; }
.contact-info-row span { font-size: 14px; color: var(--text-light); }

@media (max-width: 768px) {
  .contact-map-container { grid-template-columns: 1fr; gap: 32px; }
  .contact-info-detailed {
    max-width: 100%;
  }
}

/* ============================================
   FOOTER — Modern with curved separator
   ============================================ */
.footer-section {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: 60px 0 0; position: relative;
}

/* Curved top separator */
.footer-section::before {
  content: ''; position: absolute;
  top: -48px; left: 0; right: 0; height: 48px;
  background: var(--dark);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.footer-container {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-size: 20px; font-weight: 800; color: var(--white); display: block; margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a {
  color: rgba(255,255,255,0.4); transition: all var(--transition);
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.06);
}
.footer-social a:hover { color: var(--white); background: rgba(230,51,51,0.3); }
.footer-social svg { width: 18px; height: 18px; }

.footer-links h4, .footer-contact h4 {
  color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 1px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.5); font-size: 14px; text-decoration: none;
  transition: all var(--transition); display: inline-block;
}
.footer-links a:hover { color: var(--white); transform: translateX(4px); }

.footer-contact p { font-size: 14px; margin-bottom: 8px; color: rgba(255,255,255,0.5); }

.footer-bottom { padding: 20px 0; }
.footer-bottom-inner {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.3); flex-wrap: wrap; text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--highlight); }

@media (max-width: 768px) {
  .footer-container { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-bottom-inner { flex-direction: column; }
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed; bottom: 80px; right: 24px; z-index: 997;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4); transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.5); }

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 997;
  width: 44px; height: 44px; background: var(--primary); color: var(--white);
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(17,17,17,0.3); transition: all var(--transition);
}
.scroll-top-btn:hover { background: var(--highlight); transform: translateY(-3px); }

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  background: rgba(10,10,10,0.95); backdrop-filter: blur(12px);
  color: var(--white); padding: 20px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.cookie-content { max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cookie-content h3 { font-size: 16px; font-weight: 600; width: 100%; margin: 0; color: var(--white); }
.cookie-content p { flex: 1; font-size: 14px; margin: 0; opacity: 0.8; min-width: 200px; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-btn-accept {
  padding: 10px 28px; border-radius: 50px; border: none; cursor: pointer;
  background: var(--highlight); color: var(--white); font-weight: 600; font-size: 14px;
  transition: all var(--transition);
}
.cookie-btn-accept:hover { background: var(--white); color: var(--primary); }
.cookie-btn-decline {
  padding: 10px 28px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer; background: transparent; color: var(--white); font-size: 14px;
  transition: all var(--transition);
}
.cookie-btn-decline:hover { border-color: var(--white); }
.cookie-link { color: rgba(255,255,255,0.5); font-size: 12px; text-decoration: underline; }
@media (max-width: 640px) {
  .cookie-content { flex-direction: column; text-align: center; }
  .cookie-actions { width: 100%; justify-content: center; }
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-section { padding: 100px 0 60px; background: var(--white); }

.product-detail-container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}

/* Gallery — main image + thumbnail grid */
.product-detail-gallery {
  position: relative;
}

/* Main/active image */
.product-detail-gallery .gallery-main {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  margin-bottom: 12px;
  -webkit-user-drag: none; user-select: none; pointer-events: none;
  display: block;
}

/* Thumbnail grid */
.product-detail-gallery .gallery-thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px;
}
.product-detail-gallery .gallery-thumb {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-sm); cursor: pointer;
  border: 2px solid transparent; opacity: 0.6;
  transition: all var(--transition);
  -webkit-user-drag: none; user-select: none;
}
.product-detail-gallery .gallery-thumb:hover,
.product-detail-gallery .gallery-thumb.active {
  opacity: 1; border-color: var(--accent);
}

/* Watermark overlay on main image */
.product-detail-gallery::after {
  content: 'Kamil Figura  •  Elektrické Motorky  •  Kamil Figura  •  Elektrické Motorky';
  position: absolute; top: 0; left: 0; right: 0; height: 0;
  padding-bottom: 75%; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
  color: rgba(0,0,0,0.04);
  text-transform: uppercase; white-space: nowrap;
  transform: rotate(-25deg) scale(1.5);
  pointer-events: none; user-select: none;
}

/* Fallback: if gallery isn't JS-enhanced, stack normally but limit */
.product-detail-gallery > img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
  margin-bottom: 12px; -webkit-user-drag: none; user-select: none; pointer-events: none;
}
.product-detail-gallery > img:not(:first-child) { display: none; }

.product-detail-info h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 8px; color: var(--text); }
.product-detail-brand {
  font-size: 12px; font-weight: 700; color: var(--highlight);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; display: block;
}
.product-detail-price { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.product-detail-desc { font-size: 15px; color: var(--text-light); line-height: 1.85; margin-bottom: 28px; }
.product-detail-meta {
  display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px;
}
.product-meta-item {
  font-size: 14px; color: var(--text-light);
  padding: 6px 14px; background: var(--light); border-radius: 6px;
}
.product-meta-item strong { color: var(--text); }

.product-detail-cta { margin-bottom: 32px; position: relative; z-index: 10; }
.product-detail-cta .btn { pointer-events: auto; cursor: pointer; }

.product-detail-features { margin-top: 8px; }
.product-detail-features h3 {
  font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 12px;
}
.product-detail-features ul {
  list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px;
}
.product-detail-features li {
  font-size: 14px; color: var(--text-light); line-height: 1.5;
  padding-left: 20px; position: relative;
}
.product-detail-features li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); opacity: 0.6;
}

.specs-section { padding: 0 0 80px; background: var(--white); }

.specs-category {
  font-size: 17px; font-weight: 700; color: var(--primary);
  margin: 32px 0 12px; padding-bottom: 8px;
  border-bottom: 2px solid var(--accent); display: inline-block;
}
.specs-section h2 { font-size: 24px; margin-bottom: 20px; color: var(--primary); }

.specs-table {
  width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.specs-table th, .specs-table td { padding: 14px 20px; text-align: left; font-size: 14px; }
.specs-table th { background: var(--primary); color: var(--white); font-weight: 600; }
.specs-table tr:nth-child(even) { background: var(--light); }
.specs-table tr:nth-child(odd) { background: var(--white); }
.specs-table td:first-child { font-weight: 600; color: var(--text); width: 40%; }
.specs-table td:last-child { color: var(--text-light); }

@media (max-width: 768px) { .product-detail-container { grid-template-columns: 1fr; } }

/* ============================================
   PRIVACY PAGE
   ============================================ */
.privacy-section { padding: 100px 0 60px; background: var(--white); }
.privacy-section h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 28px; color: var(--primary); }
.privacy-section h2 { font-size: 20px; margin-top: 28px; margin-bottom: 10px; color: var(--primary); }
.privacy-section p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 14px; }

/* ============================================
   404
   ============================================ */
.error-page {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 24px; background: var(--light);
}
.error-page h1 { font-size: 100px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 12px; }
.error-page p { font-size: 18px; color: var(--text-light); margin-bottom: 28px; }

/* ============================================
   IMAGE PLACEHOLDERS
   ============================================ */
img[src*="placeholder"] {
  background: linear-gradient(135deg, #e0ecf5 0%, #c8d9e8 50%, #dbe6f0 100%);
  min-height: 200px;
}

/* ============================================
   SECTION DECORATIVE ELEMENTS
   ============================================ */
.section-decor {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}

/* Dots */
.decor-dot {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  opacity: 0.18;
}
.decor-dot--red { background: var(--accent); }
.decor-dot--black { background: var(--primary); }

/* Lines */
.decor-line {
  position: absolute; height: 2px; opacity: 0.1;
}
.decor-line--red { background: var(--accent); }
.decor-line--black { background: var(--primary); }

/* Rings — hollow circles */
.decor-ring {
  position: absolute; width: 60px; height: 60px;
  border-radius: 50%; opacity: 0.07;
}
.decor-ring--red { border: 2px solid var(--accent); }
.decor-ring--black { border: 2px solid var(--primary); }

/* Crosses */
.decor-cross {
  position: absolute; width: 16px; height: 16px; opacity: 0.1;
}
.decor-cross::before,
.decor-cross::after {
  content: ''; position: absolute;
  background: var(--primary);
}
.decor-cross::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.decor-cross::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.decor-cross--red::before,
.decor-cross--red::after { background: var(--accent); }

/* ============================================
   ANIMATIONS
   ============================================ */
.gs-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.gs-reveal.revealed { opacity: 1; transform: translateY(0); }

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

/* ============================================
   RESPONSIVE — 480px and below (small phones)
   ============================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Nav */
  nav#nav_1 { height: 56px; }
  .logo-icon { width: 26px; height: 26px; }
  .logo-title { font-size: 14px; }
  .logo-sub { font-size: 9px; }

  /* Hero */
  .hero-section { min-height: 80vh; }
  .hero-image-wrap { width: 100%; }
  .hero-image-wrap::before {
    background: linear-gradient(to bottom, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.8) 50%, rgba(10,10,10,0.95) 100%);
  }
  .hero-image-wrap::after { display: none; }
  .hero-container { padding: 40px 16px 60px; }
  .hero-content { max-width: 100%; }
  .hero-content h1 { font-size: 28px; }
  .hero-sub { font-size: 14px; margin-bottom: 24px; }
  .hero-badge { font-size: 10px; padding: 5px 14px; margin-bottom: 20px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-cta, .hero-cta-outline { width: 100%; text-align: center; padding: 14px 24px; font-size: 14px; }
  .hero-moto-fx { display: none; }

  /* Features */
  .features-section { padding: 40px 0; }
  .features-grid { padding: 0 16px; }
  .feature-card { padding: 20px 16px; }
  .feature-icon { width: 44px; height: 44px; border-radius: 12px; }
  .feature-icon svg { width: 20px; height: 20px; }
  .feature-card h3 { font-size: 14px; }
  .feature-card p { font-size: 12px; }

  /* Brands */
  .brands-section { padding: 60px 0; }
  .brands-section h2 { font-size: 22px; }
  .brands-grid { gap: 20px; }
  .brand-card-image { height: 120px; padding: 16px; }
  .brand-card-body { padding: 16px; }
  .brand-card h3 { font-size: 16px; }

  /* Products */
  .products-section { padding: 60px 0; }
  .products-section h2 { font-size: 22px; }
  .products-brand-grid { grid-template-columns: 1fr; gap: 16px; }
  .products-brand-title { font-size: 18px; }
  .product-card-image { height: 180px; }
  .product-card-body { padding: 16px; }
  .product-card h3 { font-size: 16px; }
  .product-card-footer { flex-direction: column; }
  .product-link, .product-link-outline { width: 100%; text-align: center; }

  /* About */
  .about-section { padding: 60px 0; }
  .about-container { gap: 24px; }
  .about-content h2 { font-size: 22px; }
  .about-content p { font-size: 13px; }
  .about-image-wrap::before { display: none; }

  /* Testimonials */
  .testimonials-section { padding: 60px 0; }
  .testimonials-section h2 { font-size: 22px; }
  .testimonials-slider { gap: 16px; }
  .testimonial-card { padding: 24px 20px; }

  /* CTA */
  .cta-section { padding: 60px 0; }
  .cta-section h2 { font-size: 24px; }
  .cta-section p { font-size: 14px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-btn-primary, .cta-btn-secondary { width: 100%; text-align: center; padding: 14px 24px; }

  /* Battery */
  .battery-section { padding: 60px 0; }
  .battery-content h2 { font-size: 22px; }

  /* Contact */
  .contact-section { padding: 60px 0; overflow-x: hidden; }
  .contact-section::before { display: none; }
  .contact-text h2 { font-size: 22px; }
  .contact-form-wrap { padding: 20px; }

  /* Map */
  .contact-map-section { padding: 40px 0; }
  .contact-map-embed iframe { height: 220px; }
  .contact-info-detailed h3 { font-size: 22px; }
  .contact-info-row { flex-direction: column; gap: 4px; }
  .contact-info-row strong { min-width: auto; }
  .contact-info-row span { word-break: break-all; }

  /* Footer */
  .footer-section { padding: 40px 0 0; }
  .footer-section::before { display: none; }
  .footer-container { gap: 24px; padding-bottom: 24px; }
  .footer-logo { font-size: 16px; }

  /* Product detail */
  .product-detail-section { padding: 80px 0 40px; }
  .product-detail-container { gap: 32px; }
  .product-detail-info h1 { font-size: 24px; }
  .product-detail-price { font-size: 20px; }
  .product-detail-meta { gap: 8px; }
  .gallery-thumbs { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; }

  /* Specs table — horizontal scroll on overflow */
  .specs-section { padding: 0 0 40px; }
  .specs-table { display: block; overflow-x: auto; white-space: nowrap; }
  .specs-table th, .specs-table td { padding: 10px 12px; font-size: 12px; }

  /* Floating buttons */
  .whatsapp-float { right: 16px; bottom: 72px; width: 48px; height: 48px; }
  .whatsapp-float svg { width: 22px; height: 22px; }
  .scroll-top-btn { right: 16px; bottom: 16px; width: 40px; height: 40px; }

  /* Decorative elements hidden */
  .section-decor { display: none; }
}

/* ============================================
   RESPONSIVE — 350px and below (very small screens)
   ============================================ */
@media (max-width: 350px) {
  .container { padding: 0 10px; }

  nav#nav_1 { height: 50px; }
  .logo-title { font-size: 12px; }
  .logo-sub { display: none; }
  .logo-icon { width: 22px; height: 22px; }

  .hero-content h1 { font-size: 22px; }
  .hero-sub { font-size: 13px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card + .feature-card { border-left: none; border-top: 1px solid rgba(255,255,255,0.12); }

  .brands-grid { grid-template-columns: 1fr; }
  .brand-card-image { height: 100px; }

  .about-section::before { display: none; }

  .cta-section h2 { font-size: 20px; }

  .footer-container { gap: 20px; }

  .product-detail-info h1 { font-size: 20px; }
  .gallery-thumbs { grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); }
}

/* ============================================
   OVERFLOW CONTAINMENT — prevent horizontal scroll
   ============================================ */
.hero-section,
.features-section,
.brands-section,
.products-section,
.about-section,
.testimonials-section,
.cta-section,
.battery-section,
.contact-section,
.contact-map-section,
.footer-section { overflow-x: hidden; }

@media print {
  nav, footer, .whatsapp-float, .scroll-top-btn, #page-loader, .cookie-banner { display: none !important; }
  section { break-inside: avoid; }
  * { color: #000 !important; background: #fff !important; }
}
