/* ==========================================
   KLUCI OD AUT – style.css
   ========================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:       #0e0e0e;
  --dark:        #161616;
  --yellow:      #FFDD44;
  --red:         #D42B2B;
  --white:       #F0F0F0;
  --white-pure:  #ffffff;
  --grey:        #888888;
  --grey-light:  #b0b0b0;
  --surface:     #161616;
  --surface2:    #222222;
  --nav-height:  72px;
  --transition:  0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography helpers ---------- */
.yellow { color: var(--yellow); }

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--yellow);
  margin-top: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--grey-light);
  margin-bottom: 3rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--grey-light);
  max-width: 780px;
  margin-bottom: 1.4rem;
}

.section-closing {
  font-size: 1rem;
  color: var(--grey-light);
  max-width: 780px;
  margin-top: 2.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--yellow);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: #ffd233;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 192, 0, 0.3);
}

/* ---------- Fade-in animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.team-cards .fade-in:nth-child(2),
.steps-grid  .fade-in:nth-child(2),
.pricing-grid .fade-in:nth-child(2),
.reasons-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }

.team-cards .fade-in:nth-child(3),
.steps-grid  .fade-in:nth-child(3),
.pricing-grid .fade-in:nth-child(3),
.reasons-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }

.steps-grid   .fade-in:nth-child(4),
.pricing-grid .fade-in:nth-child(4),
.reasons-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ==========================================
   NAVBAR
   ========================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(14, 14, 14, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  flex-shrink: 0;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links li a {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-light);
  padding: 6px 12px;
  border-radius: 4px;
  transition: color var(--transition);
  letter-spacing: 0.02em;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 12px; right: 12px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}

.nav-links li a:hover,
.nav-links li a.active { color: var(--white); }

.nav-links li a:hover::after,
.nav-links li a.active::after { transform: scaleX(1); }

.btn-instagram {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--yellow);
  color: var(--yellow);
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.btn-instagram:hover {
  background: var(--yellow);
  color: var(--black);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================
   HERO
   ========================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0e0e0e 0%, #1a1208 50%, #0e0e0e 100%);
  overflow: hidden;
  padding: var(--nav-height) 24px 0;
}

#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245, 192, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 192, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(245, 192, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.hero-content h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.hero-content h1 .yellow {
  color: var(--yellow);
  text-shadow: 0 0 40px rgba(245, 192, 0, 0.25);
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--grey-light);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-scroll-arrow {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--yellow);
  font-size: 1.4rem;
  animation: bounce 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================
   O NAS
   ========================================== */
#o-nas {
  padding: 100px 0;
  background: var(--black);
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid rgba(245, 192, 0, 0.12);
  border-radius: 8px;
  padding: 36px 32px;
  transition: border-color var(--transition), transform var(--transition);
}

.team-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.team-card-icon {
  width: 56px; height: 56px;
  background: rgba(245, 192, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  color: var(--yellow);
}

.team-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}

.team-card p { color: var(--grey-light); font-size: 0.95rem; }

/* ==========================================
   JAK TO FUNGUJE
   ========================================== */
#jak-to-funguje {
  padding: 100px 0;
  background: var(--surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}

.step {
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 36px 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.step:hover {
  border-color: rgba(245, 192, 0, 0.4);
  transform: translateY(-4px);
}

.step-number {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(245, 192, 0, 0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-icon {
  width: 50px; height: 50px;
  background: rgba(245, 192, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  color: var(--yellow);
}

.step h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}

.step p {
  color: var(--grey-light);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.step-cta {
  color: var(--yellow);
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: letter-spacing var(--transition);
}

.step-cta:hover { letter-spacing: 0.08em; }

/* ==========================================
   CENIK
   ========================================== */
#cenik {
  padding: 100px 0;
  background: var(--black);
}

#cenik .section-title,
#cenik .section-subtitle {
  text-align: center;
  display: block;
}

#cenik .section-title::after { margin: 10px auto 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 3rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 36px 28px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}

.pricing-card:hover {
  border-color: rgba(245, 192, 0, 0.3);
  transform: translateY(-4px);
}

.pricing-card.highlighted {
  background: var(--surface2);
  border-color: var(--yellow);
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(245, 192, 0, 0.15);
}

.pricing-card.highlighted:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
  margin-top: 0.5rem;
}

.price {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 4px;
}

.price-note {
  font-size: 0.8rem;
  color: var(--grey);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-list { padding: 0; margin: 0; }

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--grey-light);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-list li:last-child { border-bottom: none; }

.pricing-list li .fa-check {
  color: var(--yellow);
  flex-shrink: 0;
  font-size: 0.8rem;
}

.badge-popular {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.badge-service {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.pricing-note {
  text-align: center;
  color: var(--grey);
  font-size: 0.88rem;
  margin-top: 2.5rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ==========================================
   FOTKY A RECENZE
   ========================================== */
#fotky-recenze {
  padding: 100px 0;
  background: var(--surface);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}

.reason-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  transition: border-color var(--transition), transform var(--transition);
}

.reason-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.reason-icon {
  width: 64px; height: 64px;
  background: rgba(245, 192, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem;
  color: var(--yellow);
}

.reason-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}

.reason-card p { color: var(--grey-light); font-size: 0.93rem; line-height: 1.65; }

.site-quote {
  margin: 4rem auto 0;
  max-width: 680px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 400;
  color: var(--yellow);
  line-height: 1.5;
  padding: 2rem 3rem;
  position: relative;
}

.site-quote::before,
.site-quote::after {
  font-size: 5rem;
  color: rgba(245, 192, 0, 0.1);
  font-family: Georgia, serif;
  line-height: 0;
  position: absolute;
}

.site-quote::before { content: '\201C'; top: 1.5rem; left: 0; }
.site-quote::after  { content: '\201D'; bottom: -0.5rem; right: 0; }

/* ==========================================
   KONTAKT
   ========================================== */
#kontakty {
  padding: 100px 0;
  background: var(--black);
  text-align: center;
}

.contact-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 2.5rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--grey-light);
  padding: 14px 28px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.contact-item:hover {
  border-color: var(--yellow);
  color: var(--white);
  transform: translateY(-2px);
}

.contact-item i { color: var(--yellow); font-size: 1.2rem; flex-shrink: 0; }

.contact-cta { margin-top: 3rem; }

.contact-cta p {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--grey-light);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================
   FOOTER
   ========================================== */
#footer {
  background: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 28px 0;
  text-align: center;
}

#footer p {
  color: var(--grey);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .nav-links,
  .btn-instagram { display: none; }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 8px;
    border-top: 1px solid rgba(245, 192, 0, 0.2);
    z-index: 999;
    animation: slideDown 0.25s ease;
  }

  .nav-links.mobile-open li a {
    display: block;
    padding: 12px 16px;
    font-size: 1.05rem;
    border-radius: 6px;
  }

  .nav-links.mobile-open li a:hover {
    background: rgba(245, 192, 0, 0.08);
  }

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

@media (max-width: 768px) {
  .hero-content h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); }

  .steps-grid,
  .pricing-grid,
  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .team-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .pricing-card.highlighted {
    transform: scale(1);
  }

  .pricing-card.highlighted:hover {
    transform: translateY(-4px);
  }

  #o-nas,
  #jak-to-funguje,
  #cenik,
  #fotky-recenze,
  #kontakty { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .hero-content p  { font-size: 0.95rem; }

  .btn-primary {
    padding: 12px 22px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .site-quote {
    padding: 1.5rem 1.5rem;
    font-size: clamp(1rem, 4vw, 1.3rem);
  }

  .contact-items { flex-direction: column; align-items: center; }
}
