/* ===== RESET ===== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

:root {
  --top-bar-height: 32px;
  --header-height: 80px;
  --header-height-compact: 56px;
}

body {
  background: #0c0c0c;
  color: #f2f2f2;
  line-height: 1.6;
}

a {
  color: #fff;
  text-decoration: none;
}

/* ===== TOP BAR ===== */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--top-bar-height);
  z-index: 1002;
  background: #0a0a0a;
  border-bottom: 1px solid #1c1c1c;
  color: #cfcfcf;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: stretch;
  padding: 0 0;
}

.top-bar-inner {
  width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-contact a {
  color: inherit;
  text-decoration: none;
}

.top-bar-contact a:hover {
  opacity: 0.8;
}

.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex-shrink: 0;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}

/* ===== HEADER ===== */

.header {
  position: fixed;
  top: var(--top-bar-height);
  width: 100%;
  z-index: 1001;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(0,0,0,0.85);
  transition: padding 0.2s ease, background 0.2s ease;
}

.logo {
  font-weight: bold;
  letter-spacing: 3px;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0.8;
}

.nav a:hover {
  opacity: 1;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 2px;
  background: #fff;
}

/* ===== MOBILE MENU ===== */

.mobile-nav {
  position: fixed;
  top: calc(var(--top-bar-height) + var(--header-height));
  left: 0;
  width: 100%;
  background: #000;
  display: none;
  flex-direction: column;
  text-align: center;
  z-index: 90;
}

.mobile-nav a {
  padding: 20px;
  border-bottom: 1px solid #222;
}

.mobile-nav.open {
  display: flex;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
}

@media (max-width: 720px) {
  .top-bar-contact {
    display: none;
  }
}

.header.compact {
  padding: 10px 40px;
  background: rgba(0,0,0,0.92);
}

.header.compact .nav {
  display: none;
}

.header.compact .burger {
  display: flex;
}

.header.compact .logo-text {
  font-size: 22px;
}

/* ===== HERO ===== */

.hero {
  height: 100vh;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  max-width: 600px;
  animation: fadeUp 1.2s ease forwards;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

/* ===== BUTTON ===== */

.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 28px;
  border: 1px solid #fff;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #fff;
  color: #000;
}

.btn-outline {
  background: transparent;
  border-color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}

/* ===== SECTIONS ===== */

.section {
  max-width: 1100px;
  margin: auto;
  padding: 120px 40px;
}

.section.dark {
  background: #111;
}

.experience-highlight p {
  max-width: 680px;
  opacity: 0.85;
}

.voucher-highlight {
  margin: 24px 0 0;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #1f1f1f;
  background: #111;
}

.voucher-highlight h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.voucher-highlight p {
  max-width: 640px;
  opacity: 0.85;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* ===== VOZOVÝ PARK ===== */

.cars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.car {
  position: relative;
  background: #0f0f0f;
  transition: transform 0.4s ease;
}

.car:hover {
  transform: translateY(-8px);
}

.car img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.car-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #f1c40f;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ===== DETAIL AUTO ===== */

.car-hero {
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 40px;
  margin-top: calc(var(--top-bar-height) + var(--header-height));
}

.car-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.car-hero-content {
  position: relative;
  max-width: 700px;
}

.car-detail {
  max-width: 1000px;
  margin: auto;
  padding: 120px 40px;
}

.car-summary {
  margin-bottom: 32px;
}

.car-summary h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.car-summary p {
  opacity: 0.8;
  margin-bottom: 18px;
}

.spec-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
}

.spec-list li {
  background: #111;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 12px 16px;
}

/* ===== GALERIE ===== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
}

/* ===== CENOVÝ BOX ===== */

.price-box {
  background: #111;
  padding: 30px;
  margin: 60px 0;
  border-left: 4px solid #fff;
}

.price {
  font-size: 28px;
  margin-bottom: 10px;
}

.price small {
  font-size: 14px;
  opacity: 0.7;
}

.price-box ul {
  margin-top: 20px;
}

.price-box li {
  margin-bottom: 8px;
}

/* ===== PŘEPÍNAČ PRONÁJEM / ZÁŽITEK ===== */

.pricing-toggle {
  display: inline-flex;
  gap: 12px;
  margin: 40px 0 20px;
  background: #0f0f0f;
  border: 1px solid #222;
  border-radius: 999px;
  padding: 6px;
}

.pricing-tab {
  background: transparent;
  border: none;
  color: #bbb;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-tab.active {
  background: #fff;
  color: #111;
  font-weight: 600;
}

.pricing-panel {
  display: none;
}

.pricing-panel.active {
  display: block;
}

.experience-price {
  border-left-color: #f1c40f;
}

.experience-table,
.pricing-table {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 24px;
  background: #0f0f0f;
  border: 1px solid #222;
  border-radius: 12px;
}

.experience-row,
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #222;
}

.experience-row:last-child,
.pricing-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wedding-highlight {
  background: #111;
  border: 1px solid #1f1f1f;
  border-radius: 16px;
  padding: 40px;
}

.wedding-highlight h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.wedding-highlight p {
  max-width: 680px;
  opacity: 0.85;
}

.reviews-section {
  background: #0f0f0f;
  border-radius: 16px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.review-card {
  background: #111;
  border: 1px solid #1f1f1f;
  border-radius: 16px;
  padding: 24px;
}

.review-card p {
  margin-bottom: 16px;
  opacity: 0.85;
}

.faq-section {
  background: #111;
  border-radius: 16px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.faq-item {
  background: #0f0f0f;
  border: 1px solid #1f1f1f;
  border-radius: 16px;
  padding: 24px;
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.faq-item p {
  opacity: 0.85;
}

.service-copy {
  margin-top: 28px;
  max-width: 640px;
}

.service-copy h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-copy p {
  opacity: 0.85;
}

.service-copy.is-hidden {
  display: none;
}

/* ===== LIGHTBOX ===== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.lightbox .arrow {
  position: absolute;
  top: 50%;
  font-size: 40px;
  cursor: pointer;
  user-select: none;
}

.lightbox .prev {
  left: 40px;
}

.lightbox .next {
  right: 40px;
}

/* ===== FOOTER ===== */

.footer {
  text-align: center;
  padding: 40px;
  background: #000;
}

/* ===== ANIMACE ===== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#daysResult {
  color: #fff;
}

/* ===== REZERVAČNÍ FORMULÁŘ ===== */

.reservation-section {
  margin-top: 120px;
}

.reservation-section h2 {
  margin-bottom: 30px;
}

.reservation-section .contact-form {
  max-width: 1000px;
  margin: 0 auto;
  background: #0f0f0f;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #222;
}

.reservation-section .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
  grid-auto-rows: minmax(52px, auto);
}

.reservation-section .form-field {
  display: flex;
  flex-direction: column;
}

.reservation-section .form-field.is-hidden {
  display: none;
}

.reservation-section input,
.reservation-section select,
.reservation-section textarea {
  background: #151515;
  border: 1px solid #333;
  color: #fff;
  padding: 14px 16px;
  font-size: 15px;
}

.reservation-section input,
.reservation-section select {
  height: 52px;
}

.reservation-section input::placeholder,
.reservation-section textarea::placeholder {
  color: #aaa;
}

.reservation-section textarea {
  grid-column: span 2;
  width: 100%;
  min-height: 220px;
  margin-top: 24px;
  padding: 20px;
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
}

.reservation-section button {
  margin-top: 30px;
  width: 100%;
  height: 56px;
  font-size: 16px;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .reservation-section .form-grid {
    grid-template-columns: 1fr;
  }

  .reservation-section textarea {
    grid-column: span 1;
    min-height: 220px;
  }
}

/* ===== DATE PICKER ICON FIX ===== */
.reservation-section input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

/* ===== LOGO ===== */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-text {
  transform: translateY(1px);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #dcdcdc 45%,
    #a9a9a9 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 1px rgba(255,255,255,0.15),
    0 4px 10px rgba(0,0,0,0.6);
}

/* Overlay nesmí chytat dotyk */
.hero-overlay,
.car-hero-overlay {
  pointer-events: none;
}
