/* Spójna typografia i menu — wszystkie podstrony */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Hanken+Grotesk:ital,wght@0,300;0,400;0,500;0,600&display=swap");

html {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
}

.font-display,
.font-display-lg,
.font-display-lg-mobile,
[class*="font-display"],
.font-headline-sm,
.font-headline-md,
[class*="font-headline"],
.font-serif {
  font-family: "Cormorant Garamond", Georgia, serif !important;
}

.font-body-md,
.font-body-lg,
[class*="font-body"],
.font-label-caps,
[class*="font-label-caps"],
nav a,
.gk-nav a,
.gk-nav-link {
  font-family: "Hanken Grotesk", system-ui, sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

h1,
.font-display-lg,
.text-display-lg {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: -0.02em;
}

.gk-logo {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-weight: 600 !important;
}

.gk-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.gk-logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(280px, 55vw);
  object-fit: contain;
}

@media (min-width: 768px) {
  .gk-logo-img {
    height: 48px;
    max-width: 300px;
  }
}

.gk-nav-cta {
  font-size: 13px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

header nav .hidden.md\:flex a,
header .gk-nav-link {
  font-size: 13px !important;
}

.tbd-value {
  color: #c4a574;
  font-style: italic;
}

.car-gallery-thumb {
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.car-gallery-thumb.is-active,
.car-gallery-thumb:hover {
  opacity: 1;
  border-color: #c4a574;
}

/* Miniatury floty — pelna szerokosc, widok z przodu (cover) */
.vehicle-card .aspect-video,
.gk-fleet-card-media {
  background: #0b0d10;
}

.vehicle-card .aspect-video img,
.gk-fleet-card-media img,
.home-fleet-card img,
.fleet-thumb-img {
  object-fit: cover !important;
  object-position: center 42% !important;
  width: 100%;
  height: 100%;
  display: block;
}

.home-fleet-card .absolute.inset-0.bg-gradient-to-t {
  background: linear-gradient(
    to top,
    rgba(11, 13, 16, 0.92) 0%,
    rgba(11, 13, 16, 0.35) 45%,
    transparent 72%
  ) !important;
  opacity: 1 !important;
}

.gk-fleet-card {
  display: flex;
  flex-direction: column;
  background: #1a1c1f;
  border: 1px solid rgba(46, 53, 64, 0.55);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease, box-shadow 0.35s ease;
}

.gk-fleet-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 165, 116, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.gk-fleet-price {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4a574;
  font-weight: 600;
  margin: 0;
}

.gk-fleet-avail-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #0b0d10;
}

.gk-avail-free {
  background: #99afa0;
}

.gk-avail-mid {
  background: #c4a574;
}

.gk-avail-busy {
  background: #6b6560;
}

.gk-fleet-filter-panel {
  background: rgba(26, 28, 31, 0.95);
  border: 1px solid rgba(77, 70, 59, 0.5);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.gk-fleet-filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .gk-fleet-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .gk-fleet-filter-grid {
    grid-template-columns: 160px 200px 1fr 200px;
    align-items: end;
  }
}

.gk-filter-group--wide {
  grid-column: 1 / -1;
}

@media (min-width: 1100px) {
  .gk-filter-group--wide {
    grid-column: 3;
  }
}

.gk-filter-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #998f82;
  margin-bottom: 8px;
  font-weight: 600;
}

.gk-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gk-filter-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gk-fleet-price-input,
.gk-home-car-select {
  background: #111317;
  border: 1px solid rgba(77, 70, 59, 0.65);
  color: #e2e2e6;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  width: 100%;
  max-width: 120px;
}

.gk-home-car-select {
  max-width: 100%;
}

.gk-fleet-loading {
  text-align: center;
  padding: 24px;
  margin-bottom: 16px;
}

.gk-fleet-loading-pulse {
  height: 120px;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    #1a1c1f 0%,
    #282a2d 50%,
    #1a1c1f 100%
  );
  background-size: 200% 100%;
  animation: gkShimmer 1.2s ease infinite;
}

@keyframes gkShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.gk-home-bookings {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(77, 70, 59, 0.45);
  border-radius: 8px;
  overflow: hidden;
}

.gk-home-booking-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(77, 70, 59, 0.3);
  font-size: 13px;
}

.gk-home-booking-item:last-child {
  border-bottom: none;
}

.gk-booking-confirmed .gk-home-booking-status {
  color: #ff8a80;
}

.gk-booking-pending .gk-home-booking-status {
  color: #c4a574;
}

.gk-home-cal-day {
  min-height: 44px;
  pointer-events: none;
}

.gk-home-cal-pad {
  min-height: 44px;
}

.gk-fleet-filter-panel.is-open {
  animation: gkFilterIn 0.35s ease;
}

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

.gk-filter-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(77, 70, 59, 0.6);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d1c5b6;
  transition: all 0.25s ease;
}

.gk-filter-chip.is-active,
.gk-filter-chip:hover {
  border-color: #c4a574;
  color: #e3c28e;
  background: rgba(196, 165, 116, 0.12);
}

.gk-fleet-sort {
  background: #111317;
  border: 1px solid rgba(77, 70, 59, 0.6);
  color: #e2e2e6;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
}

/* Galeria — nawigacja i lightbox */
.gk-gallery-main {
  position: relative;
}

.gk-gallery-nav,
.gk-gallery-fullscreen {
  position: absolute;
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 1px solid rgba(196, 165, 116, 0.45);
  background: rgba(11, 13, 16, 0.75);
  color: #c4a574;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.gk-gallery-nav:hover,
.gk-gallery-fullscreen:hover {
  background: rgba(196, 165, 116, 0.2);
  border-color: #c4a574;
}

.gk-gallery-prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.gk-gallery-next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.gk-gallery-fullscreen {
  right: 12px;
  top: 12px;
}

.gk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gk-lightbox[hidden] {
  display: none !important;
}

.gk-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.gk-lightbox-img {
  position: relative;
  z-index: 2;
  max-width: min(96vw, 1600px);
  max-height: 92vh;
  object-fit: contain;
}

.gk-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  color: #c4a574;
  background: rgba(11, 13, 16, 0.8);
  border: 1px solid rgba(196, 165, 116, 0.4);
  border-radius: 9999px;
  width: 48px;
  height: 48px;
  cursor: pointer;
}

.gk-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  color: #c4a574;
  background: rgba(11, 13, 16, 0.8);
  border: 1px solid rgba(196, 165, 116, 0.4);
  border-radius: 9999px;
  width: 52px;
  height: 52px;
  cursor: pointer;
}

.gk-lightbox-prev {
  left: 24px;
}

.gk-lightbox-next {
  right: 24px;
}

body.gk-lightbox-open {
  overflow: hidden;
}

/* Dane techniczne — ikony */
.gk-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gk-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(153, 143, 130, 0.25);
}

.gk-spec-item .material-symbols-outlined {
  color: #c4a574;
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.gk-spec-body {
  flex: 1;
  min-width: 0;
}

.gk-spec-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #998f82;
  margin-bottom: 4px;
}

.gk-spec-value {
  font-weight: 600;
  color: #e2e2e6;
}

/* Badge + cena na stronie auta */
.gk-car-badge {
  display: inline-block;
  background: #c4a574;
  color: #0b0d10;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.gk-car-price {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.gk-car-price strong {
  font-size: 1.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* Dane techniczne + Idealne na — rowne panele */
.gk-specs-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .gk-specs-section-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.gk-specs-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gk-specs-panel > h2 {
  flex-shrink: 0;
}

.gk-specs-panel-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  border: 1px solid rgba(77, 70, 59, 0.55);
  border-radius: 12px;
  background: rgba(12, 14, 17, 0.65);
  overflow: hidden;
}

.gk-specs-panel-body .gk-spec-list,
.gk-specs-panel-body .gk-uses-list {
  flex: 1;
  min-height: 100%;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gk-specs-panel-body .gk-spec-item,
.gk-specs-panel-body .gk-use-row {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(77, 70, 59, 0.35);
}

.gk-specs-panel-body .gk-spec-item:last-child,
.gk-specs-panel-body .gk-use-row:last-child {
  border-bottom: none;
}

/* Idealne na — lista pozioma */
.gk-uses-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gk-use-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(77, 70, 59, 0.35);
  transition: background 0.2s ease;
}

.gk-use-row:last-child {
  border-bottom: none;
}

.gk-use-row:hover {
  background: rgba(196, 165, 116, 0.06);
}

.gk-use-row-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(196, 165, 116, 0.14);
  color: #c4a574;
  font-size: 26px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variation-settings: "FILL" 1, "wght" 300;
}

.gk-use-row-text h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  color: #e3c28e;
  margin: 0 0 6px;
  line-height: 1.3;
}

.gk-use-row-text p {
  margin: 0;
  font-size: 0.875rem;
  color: #d1c5b6;
  line-height: 1.55;
  max-width: 36rem;
}

/* Kalendarz rezerwacji */
[data-calendar-days] {
  gap: 6px !important;
}

.gk-cal-day {
  cursor: pointer;
  border: 2px solid rgba(77, 70, 59, 0.55) !important;
  background: rgba(17, 19, 23, 0.9) !important;
  color: #e2e2e6;
  flex-direction: column;
  gap: 2px;
  min-height: 56px;
  font-weight: 600;
  position: relative;
}

.gk-cal-num {
  font-size: 1rem;
  line-height: 1;
}

.gk-cal-tag {
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
  padding: 2px 4px;
  border-radius: 3px;
}

.gk-cal-tag-busy {
  background: rgba(255, 138, 128, 0.25);
  color: #ff8a80;
}

.gk-cal-tag-pending {
  background: rgba(196, 165, 116, 0.35);
  color: #e3c28e;
}

.gk-cal-tag-free {
  background: rgba(153, 175, 160, 0.2);
  color: #99afa0;
  opacity: 0.85;
}

.gk-cal-busy .gk-cal-tag,
.gk-cal-pending .gk-cal-tag {
  opacity: 1;
}

.gk-cal-free:hover:not(:disabled) {
  border-color: #c4a574 !important;
  background: rgba(196, 165, 116, 0.12) !important;
}

.gk-cal-today {
  box-shadow: 0 0 0 2px rgba(196, 165, 116, 0.65);
}

.gk-cal-today .gk-cal-num {
  color: #e3c28e;
}

.gk-cal-busy {
  background: rgba(51, 53, 56, 0.95) !important;
  border-color: #6b6560 !important;
  color: #7a7570 !important;
  cursor: not-allowed;
}

.gk-cal-busy .gk-cal-num {
  text-decoration: line-through;
}

.gk-cal-pending {
  background: rgba(196, 165, 116, 0.22) !important;
  border-color: #c4a574 !important;
  color: #e3c28e !important;
}

.gk-cal-in-range {
  background: rgba(196, 165, 116, 0.18) !important;
  border-color: rgba(196, 165, 116, 0.5) !important;
}

.gk-cal-selected {
  background: rgba(196, 165, 116, 0.4) !important;
  border-color: #e3c28e !important;
}

.gk-cal-selected .gk-cal-num {
  color: #0b0d10;
}

.gk-cal-past:not(.gk-cal-busy):not(.gk-cal-pending) {
  opacity: 0.45;
}

.gk-cal-pad {
  aspect-ratio: 1;
  min-height: 56px;
}

.gk-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gk-cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(77, 70, 59, 0.45);
  background: rgba(12, 14, 17, 0.6);
}

.gk-cal-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}

.gk-cal-legend-swatch--free {
  border: 2px solid rgba(153, 143, 130, 0.8);
  background: rgba(17, 19, 23, 0.9);
}

.gk-cal-legend-swatch--busy {
  background: #333538;
  border: 2px solid #6b6560;
}

.gk-cal-legend-swatch--pending {
  background: rgba(196, 165, 116, 0.35);
  border: 2px solid #c4a574;
}

/* Inne klasyki z floty */
[data-fleet-related-track] {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  overflow: visible !important;
  flex-wrap: unset !important;
}

.gk-related-card {
  min-width: 0 !important;
  max-width: 100%;
}

.gk-related-card .aspect-\[16\/9\] {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0d10;
}

.gk-related-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover !important;
  object-position: center center;
}

.gk-status-pending {
  color: #99afa0;
}

.gk-status-confirmed {
  color: #c4a574;
}

.gk-status-cancelled {
  color: #ff8a80;
}

.img-placeholder-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11, 13, 16, 0.85);
  color: #c4a574;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid rgba(196, 165, 116, 0.4);
}

/* Przejścia sekcji i scroll reveal */
.reveal-up,
.fade-up,
.gk-section-reveal,
.gk-section-child {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-up.is-visible,
.reveal-up.active,
.fade-up.visible,
.gk-section-reveal.is-visible,
.gk-section-child.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-hero-parallax] {
  will-change: transform, opacity;
  transition: opacity 0.2s linear;
}

.gk-section-wave {
  height: 1px;
  margin: 48px auto 0;
  max-width: 200px;
  background: linear-gradient(90deg, transparent, #c4a574, transparent);
  opacity: 0;
  animation: gkWavePulse 1.2s ease 0.3s forwards;
}

@keyframes gkWavePulse {
  0% {
    opacity: 0;
    transform: scaleX(0.3);
  }
  100% {
    opacity: 0.6;
    transform: scaleX(1);
  }
}

#kalendarz.gk-calendar-zone,
[data-car-calendar] {
  scroll-margin-top: 100px;
}

.gk-calendar-zone.is-visible .glass-panel {
  animation: gkCalGlow 1s ease 0.2s both;
}

@keyframes gkCalGlow {
  from {
    box-shadow: 0 0 0 rgba(196, 165, 116, 0);
    transform: translateY(12px);
  }
  to {
    box-shadow: 0 0 48px rgba(196, 165, 116, 0.08);
    transform: translateY(0);
  }
}

.gk-table-wrap--wide {
  overflow-x: auto;
}

.gk-table-fleet input[type="number"] {
  width: 88px;
}

/* Globalny footer */
.gk-site-footer {
  padding-top: 5rem !important;
  padding-bottom: 3rem !important;
}

.gk-site-footer > .grid {
  padding-bottom: 1rem;
}

.gk-site-footer .max-w-container-max {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 0.5rem;
}

.gk-site-footer p,
.gk-site-footer li a {
  line-height: 1.7;
}

.gk-footer-logo {
  height: 52px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.gk-footer-logo-link {
  display: inline-block;
}

.gk-map-link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.gk-map-link:hover {
  border-color: rgba(196, 165, 116, 0.55);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.gk-footer-social .gk-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 1px solid rgba(196, 165, 116, 0.35);
  color: #d1c5b6;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.gk-footer-social .gk-social-btn:hover {
  color: #c4a574;
  border-color: #c4a574;
  background: rgba(196, 165, 116, 0.08);
}

.gk-footer-nav a {
  font-size: 14px !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
}

.gk-footer-bar a {
  text-transform: none !important;
  letter-spacing: 0.06em !important;
}

.gk-site-footer .font-body-md {
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  font-weight: 400 !important;
}
