body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: var(--bg);
  color: var(--text);
}

h1.nadpis { text-align: center; }

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--menu-bg);
  box-shadow: var(--header-shadow);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.logo {
  height: 60px;
}

.logo-uvod {
  height: 200px;
}

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

.desktop-logo {
  display: block;
}

.mobile-logo {
  display: none;
}

.menu {
  list-style: none;
  justify-content: left;
  align-items: left;
  display: flex;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: bold;
  transition: color 0.3s;
}

.menu a:hover,
.menu a.active {
  color: var(--accent);
}

section {
  min-height: 10vh;
}

.hero {
  height: 100vh;
  background-image: url('./images/uvod-bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.overlay {
  background: var(--overlay-bg);
  padding: 3rem;
  border-radius: 1rem;
  text-align: center;
  max-width: 700px;
  width: 90%;
  margin: 0 auto;
  color: var(--overlay-color);
}

.lead {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.about-content {
  display: flex;
  gap: 40px;
}

.qoute {
  border-left: 4px solid #cc0000; 
  padding-left: 20px; 
  font-style: italic;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 40px;
}
.card {
  background: var(--menu-bg);
  display: flex;
  padding: 30px;
  border-radius: 10px;
  align-items: center;
  box-shadow: var(--header-shadow);
  flex: 1 1 300px;
}

.card-left {
  flex: 1;
}

.card-right {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}

.card-right img {
  max-width: 200px;
  height: auto;
  -webkit-filter: invert(var(--invert));
  filter: invert(var(--invert));
}

.cenik-info {
  padding: 40px 20px;
  background: var(--menu-bg);
  color: var(--text);
  box-shadow: var(--header-shadow);
  border-radius: 10px;
  margin: 40px 40px 0 40px;
}

.cenik-info h3 {
  margin-bottom: 20px;
  font-size: 1.4em;
}

.cenik-info ul {
  list-style: disc;
  padding-left: 20px;
}

.card-grid-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 40px;
}

.card-contact {
  background: var(--menu-bg);
  display: flex;
  padding: 30px;
  border-radius: 10px;
  align-items: center;
  box-shadow: var(--header-shadow);
  gap: 20px;
  margin: 0 40px;
  flex-wrap: wrap;
}

.card-contact-left {
  margin: 40px 0;
}

.card-contact-left a {
  color: var(--accent);
  text-decoration: none;
}

.card-map {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 0 300px;
  margin: 0 200px 0 200px;
}

.about {
  margin: 0 40px;
  padding: 20px;
  background: var(--menu-bg);
  color: var(--text);
  box-shadow: var(--header-shadow);
  border-radius: 10px;
}

.objednat-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  border: 2px solid var(--btn-bg);
  transition: all 0.3s ease;
}

.objednat-btn:hover {
  background-color: var(--btn-hover-bg);
  color: var(--btn-hover-text);
  border-color: var(--btn-hover-bg);
}

.info-banner {
  position: relative;
  background-color: var(--menu-bg);
  color: var(--text);
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: var(--header-shadow);
  margin: 20px auto;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  animation: fadeIn 0.5s ease;
}

.info-banner button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 0 8px;
  line-height: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 768px) {
  .overlay {
    padding: 2rem;
    max-width: 90%;
  }

  .hamburger {
    display: block;
  }

  #hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .desktop-logo {
    display: none;
  }

  .mobile-logo {
    display: block;
    height: 60px;
    margin-right: 10px;
  }

  .menu {
    background: var(--menu-bg);
    flex-direction: column;
    position: absolute;
    top: 65px;
    right: 40vw;
    padding: 20px;
    border-radius: 10px;
  }

  .menu.hidden {
    display: none;
  }

  .logo.hidden {
    display: none;
  }

  .cenik-info {
    margin-bottom: 50px;
  }

  .card-contact {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin: 20px;
  }

  .card-contact-left {
    width: 100%;
    margin: 0;
  }

  .card-map {
    width: 100%;
    margin: 20px 0 0 0;
  }

  .card-right img {
    max-width: 50px;
  }
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.reviews-slider {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.reviews-viewport {
  overflow: hidden;
  flex: 1;
}

.reviews-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.review-card {
  flex: 0 0 calc(100% / 3);
  padding: 12px;
  box-sizing: border-box;
}

.review-card-inner {
  background: var(--bg);
  border-radius: 10px;
  box-shadow: var(--header-shadow);
  padding: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-stars {
  color: #f4b400;
  letter-spacing: 1px;
  font-size: 1.1rem;
  margin: 0;
}

.review-author {
  font-weight: 700;
  margin: 0;
}

.review-text {
  margin: 0;
  line-height: 1.45;
}

.review-nav {
  min-width: 42px;
  border: none;
  border-radius: 8px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.review-nav:hover {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-text);
}

.review-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.reviews-note {
  margin-top: 12px;
  font-size: 0.95rem;
}

.reviews-note a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.reviews-note a:hover {
  text-decoration: underline;
}

.review-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}

.review-modal.show {
  display: flex;
}

.review-modal-content {
  width: min(760px, 100%);
  max-height: 85vh;
  overflow: auto;
  background: var(--menu-bg);
  color: var(--text);
  box-shadow: var(--header-shadow);
  border-radius: 10px;
  padding: 24px;
  position: relative;
}

.review-modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.review-form .form-group {
  margin-bottom: 14px;
}

.star-picker {
  display: flex;
  gap: 6px;
  align-items: center;
}

.star-btn {
  border: none;
  background: transparent;
  color: #c3c3c3;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.2s ease;
}

.star-btn.active,
.star-btn.hovered {
  color: #f4b400;
}

.review-form-error {
  margin-top: 10px;
  color: #b10000;
  font-weight: 600;
}

.all-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.all-reviews-item {
  border-radius: 10px;
  box-shadow: var(--header-shadow);
  background: var(--bg);
  padding: 14px;
}

.all-reviews-item .review-date {
  margin: 4px 0 0;
  opacity: 0.7;
  font-size: 0.88rem;
}

@media screen and (max-width: 992px) {
  .review-card {
    flex: 0 0 50%;
  }
}

@media screen and (max-width: 640px) {
  .about {
    margin: 0 12px;
    padding: 14px;
  }

  .reviews-slider {
    flex-wrap: wrap;
    gap: 8px;
  }

  .reviews-viewport {
    order: 1;
    flex: 0 0 100%;
  }

  .review-nav {
    order: 2;
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    padding: 8px 0;
  }

  .review-card {
    flex: 0 0 100%;
    padding: 6px;
  }

  .review-card-inner {
    padding: 14px;
  }
}

