/* =============== Základní styly a proměnné =============== */
:root {
  --primary-color: #ffd700; /* Žlutá */
  --primary-glow: rgba(255, 215, 0, 0.6);
  --secondary-color: #000000; /* Černá */
  --bg-dark-1: #080808; /* Tmavý odstín černé */
  --bg-dark-2: #101010; /* O něco světlejší černá */
  --bg-dark-3: #151515; /* Ještě světlejší černá */
  --bg-gradient: linear-gradient(135deg, #080808 0%, #151515 50%, #101010 100%);
  --text-color: #ffffff; /* Bílá */
  --text-color-muted: rgba(255, 255, 255, 0.7);
  --accent-color: #e6c200; /* Tmavší žlutá pro hover efekty */
  --glass-bg: rgba(30, 30, 30, 0.25);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --neomorph-bg: #151515;
  --neomorph-shadow-light: rgba(30, 30, 30, 0.7);
  --neomorph-shadow-dark: rgba(0, 0, 0, 0.7);
  --transition-fast: 0.3s;
  --transition-medium: 0.5s;
  --transition-slow: 0.8s;
  --container-max-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
}

/* =============== Reset a základní prvky =============== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-dark-1);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 15px;
  z-index: 10;
  position: relative;
}

.py-5 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* =============== Animované pozadí =============== */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: var(--bg-gradient);
  overflow: hidden;
}

/* Stars effect */
#stars, #stars2, #stars3, #stars4 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#stars {
  width: 1px;
  height: 1px;
  background: transparent;
  box-shadow: 1744px 122px #FFF, 134px 1321px #FFF, 92px 859px #FFF, 235px 1045px #FFF, 
              366px 912px #FFF, 491px 942px #FFF, 14px 1831px #FFF, 582px 476px #FFF, 
              588px 1230px #FFF, 1520px 516px #FFF, 1277px 1144px #FFF, 1325px 1980px #FFF;
  animation: animateStars 50s linear infinite;
}

#stars2 {
  width: 2px;
  height: 2px;
  background: transparent;
  box-shadow: 1448px 122px var(--primary-color), 925px 1674px var(--primary-color), 
              1200px 226px var(--primary-color), 1520px 516px var(--primary-color), 
              295px 607px var(--primary-color), 1031px 1331px var(--primary-color), 
              482px 1878px var(--primary-color), 975px 1700px var(--primary-color);
  animation: animateStars 100s linear infinite;
}

#stars3 {
  width: 3px;
  height: 3px;
  background: transparent;
  box-shadow: 387px 1878px var(--primary-glow), 762px 494px var(--primary-glow), 
              762px 494px var(--primary-glow), 1361px 115px var(--primary-glow), 
              849px 572px var(--primary-glow), 1135px 1224px var(--primary-glow);
  animation: animateStars 150s linear infinite;
}

@keyframes animateStars {
  0% { transform: translateY(0); }
  100% { transform: translateY(-2000px); }
}

.noise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAABBpJREFUaEPtmUty2zAQRR8YZp/Y3lk+QpxjJN7HOYaznKUOM3a8j3wEewnvJfe0wYYCCBAkJM9EjDJVLokGG/2+3Q0QruvSw/Nns9aO27bdxBhfY4xvMcbN9NoR49h1XStlFf7YJcbnEOPLz8+69/vvHMJa+2StfY8xntbIR2stYdpy/Wu+Gc/zxxjj87+/6l/by2LXIIQnhPAxxnhaO/n+95TKGHNijJkxxpy11geMMeeMMa94zhjzgjFsEWJ7u92eUh8uwmyR67pemqb5iDEetpDwo15jzBvGkJ6nrus+tda/tdbftNavGK31K8aQHmF+Jt+2bU+Y55Bn27Y9tG17wLyu645t2x57ngfG2LZtezo7bt/3P7TWP9C/ep6Xfh8wxnk7juOw67oPpdTzYrEYvh3IGPMZQvig1MYQ4xnj+/5rCOFkjLkeQliP4/guhHAIIbwbY1YYQwiv1tqVtXZprf2CeVrrL+gO/32Dsc/nc8M5P3LOD9baJzoHIQTGOeec81dj7CHG/o4xIYQTxuJaCIEYzrkghLA55+9CiD3nPI7j+M45P2CMc37knLdt2zZN0zTTNO273W7X7/f7YRiGrW3bveu6T5xzyjm3Qogj5/wthIAQgnEQQpCmaRrGGGOMCcYYE0KIMcZ+pRSllFJCCKGUUkopK4SglFJCCBJCSCklhJCUUimlRKlEKZV+p5TSaZoopZQQQpRSSSmlpJSK4B6ttSKEoG3b0rZtad/3rO97NgyDGMdRjOMoxnGUwzCocRzVOI6q73s1DIMaxkEOwyDHcZTjKMZRDcMg+r5nXdexruvYMAy873veNA3v+55N0zRsNhuWAOYCTNN0HkLYCCFWjLFnSumBMXbStm0ZY9p1XavrunLXdSXG4jhoKeWDUmrFGFsxxnbW2hfO+ZFS+so5f2aMNZzzR2PMllJ6Zowxxhi9FAgdHPe9O5BzTgDCOZ/AtXw6nepxHM9d1+2madoCZJ7nut/vGzCz2+0MQLZ9XwLSzWDed47KGAKAM8ashBBLay0AXr7DnLHrut9KqSfGGAPXKKWkbdtmHEcG7jHGCOecTNNEGGNkmiYqhBBSyhIgm83GpMDNCgl8i1CJKDBvlFIIrvO8RIB7xpilEGLBGHt2XfcopdwIIb4yxp4RwhUgXdcdpmnaaK13QojVfr8HyEEIcRZCGCnlnlLaEEJaIQSx1pK2bakQggHMNE0MAPj9nucxy7J8mqZomnkghNAsyxohxBFjz/P2nuel53kAOWEMENd1TcYYwdh13ZN13T1Ce563c13X8zyPOI5DOOcBY9/3g+M4wXXd4DjOGWPHcYLruo7jON5ut57v+9513eA4TsAYY9d1A+cc8Y/oul7wfT/4vh9d1w2u6wbf94PrusF13eD7vsc5nwGU/gKWZYMQInDOA0CyLAu+7/uU4yX9B7h8zFKm5/uaAAAAAElFTkSuQmCC');
  opacity: 0.06;
  z-index: -1;
  pointer-events: none;
}

/* =============== Header a navigace =============== */
.glowing-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-fast);
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.glowing-header:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--primary-color), 
    transparent
  );
}

.glowing-header.scrolled {
  padding: 0.7rem 0;
  background: rgba(8, 8, 8, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
}

.logo-gradient {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(to right, #ffe259, #ffa751);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-left: 4px;
}

.logo-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  filter: blur(20px);
  opacity: 0.15;
  z-index: -1;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-link {
  display: block;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
}

.nav-link span {
  position: relative;
  z-index: 1;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover::before {
  transform: scaleX(1);
}

.cta-button {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(45deg, #ffd700, #ffac00);
  color: #111;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  color: #111;
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-2px);
}

.cta-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent
  );
  transition: 0.5s;
}

.cta-button:hover:before {
  left: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  position: absolute;
  transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) {
  top: 0;
}

.hamburger-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-line:nth-child(3) {
  bottom: 0;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 50%;
}

/* =============== Hero sekce s video pozadím =============== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
  object-fit: cover;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 0;
}

.hero-content {
  text-align: center;
  padding: 0 1rem;
  z-index: 10;
}

.hero-title {
  margin-bottom: 2rem;
}

.hero-title-line {
  font-size: 4.5rem;
  font-weight: 800;
  display: block;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  text-shadow: 0 0 15px var(--primary-glow);
  letter-spacing: 3px;
}

.hero-subtitle {
  display: block;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-color);
  letter-spacing: 2px;
  opacity: 0.9;
}

.hero-text {
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  border-radius: 50px;
  z-index: -1;
  filter: blur(15px);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-glow:hover::after {
  opacity: 0.5;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-color);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 2px;
  margin-top: 10px;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

.arrow-scroll span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--text-color);
  border-right: 2px solid var(--text-color);
  transform: rotate(45deg);
  margin: -5px;
  animation: arrow 2s infinite;
}

.arrow-scroll span:nth-child(2) {
  animation-delay: -0.2s;
}

.arrow-scroll span:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes arrow {
  0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

/* =============== O nás sekce =============== */
.section-dark {
  background-color: var(--bg-dark-2);
  position: relative;
  overflow: hidden;
}

.section-title {
  position: relative;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin-bottom: 3.5rem;
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  transition: width 1.5s ease;
  transform: translateX(-50%);
}

.section-title.in-view::after {
  width: 150px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transform: translateZ(0);
}

.mission-text {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
}

.mission-details {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
}

.testimonial-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 2rem);
  max-width: calc(33.333% - 2rem);
  perspective: 1000px;
  margin-bottom: 2rem;
}

.card-3d {
  position: relative;
  cursor: pointer;
}

.card-content {
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  border-radius: var(--border-radius-md);
  background: var(--bg-dark-3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  text-align: center;
  overflow: hidden;
}

.testimonial-card:hover .card-content {
  transform: rotateY(10deg) rotateX(5deg);
}

.testimonial-card h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.image-container {
  position: relative;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
}

.testimonial-image {
  width: 100%;
  height: auto;
  transition: transform 0.7s ease;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.2) 0%, 
    rgba(0, 0, 0, 0) 50%
  );
  transition: opacity 0.3s;
}

.testimonial-card:hover .testimonial-image {
  transform: scale(1.1);
}

.testimonial-card:hover .image-overlay {
  opacity: 0;
}

.testimonial-placeholder {
  font-style: italic;
  opacity: 0.7;
  color: var(--text-color-muted);
  font-size: 1.1rem;
}

/* =============== Služby sekce =============== */
.services-section {
  position: relative;
  background: var(--bg-dark-1);
  overflow: hidden;
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-color), transparent);
  animation: float 20s linear infinite;
  opacity: 0.1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -100px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: -100px;
  animation-delay: -5s;
  animation-duration: 25s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 10%;
  animation-delay: -10s;
  animation-duration: 15s;
}

.shape-4 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 60%;
  animation-delay: -7s;
  animation-duration: 30s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(100px, 100px) rotate(180deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

.service-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-block {
  flex: 0 0 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
}

.service-card {
  height: 100%;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.service-card.neomorph {
  background: var(--neomorph-bg);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: 
    8px 8px 16px var(--neomorph-shadow-dark),
    -8px -8px 16px var(--neomorph-shadow-light);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.service-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 10px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.service-header h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.service-content p {
  margin-bottom: 1rem;
  color: var(--text-color-muted);
}

/* =============== Footer =============== */
.footer-dark {
  background: var(--bg-dark-2);
  padding: 4rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  margin-bottom: 2rem;
  padding-right: 1rem;
}

.footer-col h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), transparent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-color-muted);
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  margin-top: 1.5rem;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
  color: var(--text-color);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.social-link:hover {
  color: #111;
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent
  );
  transition: 0.5s;
}

.social-link:hover::before {
  left: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--text-color-muted);
}

.creator-link {
  color: var(--primary-color);
  position: relative;
  transition: all 0.3s;
}

.creator-link:hover {
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.creator-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.creator-link:hover::after {
  width: 100%;
}

/* =============== Animace při scrollování =============== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-200ms {
  transition-delay: 0.2s;
}

.delay-400ms {
  transition-delay: 0.4s;
}

/* =============== Responzivní design =============== */
@media (max-width: 1292px) {
 .hamburger {
    display: block;
    z-index: 2000;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.5s ease;
    z-index: 1500;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 1.5rem 0;
  }
  
  .nav-link {
    font-size: 1.5rem;
  }
}
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .testimonial-card, .service-block {
    flex: 0 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
  
  .hero-title-line {
    font-size: 3.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .hamburger {
    display: block;
    z-index: 2000;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.5s ease;
    z-index: 1500;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 1.5rem 0;
  }
  
  .nav-link {
    font-size: 1.5rem;
  }
  
  .hero-title-line {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .service-block {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 13px;
  }
  
  .testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .footer-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .hero-title-line {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Styl pro tlačítka pod servisními kartami */
.service-cta {
    padding: 20px;
    text-align: center;
    margin-top: 10px;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(45deg, var(--primary-color), #ffac00);
    color: #000;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.btn-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-service:hover::before {
    left: 100%;
}

.btn-service i {
    transition: transform 0.3s ease;
}

.btn-service:hover i {
    transform: translateX(5px);
}

/* Přizpůsobení výšky karet */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-content {
    flex: 1;
}


/* =============== QUANTITY INPUT STYLING =============== */

.qty-input,
#quantity,
#quantity332,
.floating-qty-input,
input[type="number"] {
    background: #000 !important;
    color: #ffd700 !important;
    border: 2px solid #ffd700 !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-weight: bold !important;
    font-size: 16px !important;
    padding: 8px !important;
    width: 60px !important;
    height: 40px !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.qty-input:focus,
#quantity:focus,
#quantity332:focus,
.floating-qty-input:focus,
input[type="number"]:focus {
    border-color: #ffac00 !important;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(255, 215, 0, 0.3) !important;
    background: #111 !important;
}

.qty-input:hover,
#quantity:hover,
#quantity332:hover,
.floating-qty-input:hover,
input[type="number"]:hover {
    background: #111 !important;
    border-color: #ffac00 !important;
}

/* Odstranění výchozích šipek u number inputu */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button,
#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button,
#quantity332::-webkit-outer-spin-button,
#quantity332::-webkit-inner-spin-button,
.floating-qty-input::-webkit-outer-spin-button,
.floating-qty-input::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

input[type="number"] {
    -moz-appearance: textfield !important;
}

/* Pro quantity controls container */
.quantity-controls {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    border-radius: 50px !important;
    padding: 5px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.quantity-controls:hover {
    border-color: #ffd700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2) !important;
}

/* Floating cart quantity styling */
.floating-quantity-controls {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    border-radius: 25px !important;
    padding: 3px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}

.floating-quantity-controls:hover {
    border-color: #ffd700 !important;
}

.floating-quantity-controls .floating-qty-input {
    background: transparent !important;
    border: none !important;
    color: #ffd700 !important;
    width: 35px !important;
    height: 28px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-align: center !important;
    outline: none !important;
}

/* Mobile responsivity */
@media (max-width: 768px) {
    .qty-input,
    #quantity,
    #quantity332,
    input[type="number"] {
        width: 50px !important;
        height: 35px !important;
        font-size: 14px !important;
        padding: 6px !important;
    }
}

@media (max-width: 480px) {
    .qty-input,
    #quantity,
    #quantity332,
    input[type="number"] {
        width: 45px !important;
        height: 32px !important;
        font-size: 13px !important;
        padding: 5px !important;
    }
}

/* Glow effect pro premium vzhled */
.qty-input:focus,
#quantity:focus,
#quantity332:focus,
input[type="number"]:focus {
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8) !important;
}

/* Placeholder styling */
.qty-input::placeholder,
#quantity::placeholder,
#quantity332::placeholder,
input[type="number"]::placeholder {
    color: rgba(255, 215, 0, 0.5) !important;
}

/* Variant select styling (pro consistency) */
.variant-selector select {
    background: #000 !important;
    color: #ffd700 !important;
    border: 2px solid #ffd700 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-weight: bold !important;
    outline: none !important;
}

.variant-selector select:focus {
    border-color: #ffac00 !important;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3) !important;
}

.variant-selector select option {
    background: #000 !important;
    color: #ffd700 !important;
}

/* Přidejte toto do vašeho stávajícího CSS souboru */

/* =============== Responzivní FAQ výšky =============== */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Aktivní FAQ - responzivní výška */
.faq-item.active .faq-answer {
    max-height: calc(100vh - 200px); /* 100% výšky obrazovky minus 200px pro header/footer */
    overflow-y: auto; /* Umožní scrollování u velmi dlouhých textů */
}

/* =============== Responzivní breakpointy =============== */





/* Velmi malé mobily */
@media (max-width: 400px) {
    .faq-item.active .faq-answer {
        max-height: calc(75vh - 80px);
    }
    
    .faq-answer p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* Pro velmi dlouhé texty - vylepšený scrollbar */
.faq-answer::-webkit-scrollbar {
    width: 6px;
}

.faq-answer::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.faq-answer::-webkit-scrollbar-thumb {
    background: var(--primary-color, #ffd700);
    border-radius: 3px;
}

.faq-answer::-webkit-scrollbar-thumb:hover {
    background: #ffac00;
}

/* Firefox scrollbar */
.faq-answer {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color, #ffd700) rgba(255, 255, 255, 0.05);
}

/* =============== Alternativní řešení s auto výškou =============== */
/* Pokud chcete úplně automatickou výšku bez scrollování */
/*
.faq-item.active .faq-answer {
    max-height: none;
    height: auto;
}
*/

/* =============== Dodatečné vylepšení pro dlouhé texty =============== */
.faq-answer p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    margin-bottom: 0.8rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}


/* Vynucené podtržení odkazu - vždy viditelné */
.benefit-item a,
.benefits-list a {
    text-decoration: underline !important;
    color: var(--primary-color) !important;
    text-decoration-color: var(--primary-color) !important;
    text-underline-offset: 2px !important;
    transition: all 0.3s ease !important;
}

.benefit-item a:hover,
.benefits-list a:hover {
    color: #ffac00 !important;
    text-decoration-color: #ffac00 !important;
    text-decoration: underline !important;
}

/* Pro jistotu - specifičtější selektor */
.product-description .benefit-item a,
.product-description .benefits-list a {
    text-decoration: underline !important;
    color: #FFD700 !important;
}