:root {
  --primary-color: #4CAF50;
  --secondary-color: #388E3C;
  --accent-color: #FF9800;
  --light-color: #f8f9fa;
  --dark-color: #2E7D32;
  --text-color: #333;
  --text-light: #6c757d;
  --border-color: #dee2e6;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-light:hover {
  color: var(--primary-color);
}

/* Header & Navigation */
.navbar {
  background-color: var(--primary-color);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.brand-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.opening-hours {
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  gap: 1rem;
}

.opening-hours span {
  white-space: nowrap;
}

.navbar-logo {
  height: 42px;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(Fotkyindex/skladek\ ve\ střední\ velikosti.jpeg);
  background-size: cover;
  background-position: center;
  color: white;
  padding: 8rem 0;
  position: relative;
}

/* Page Header */
.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(Fotkyindex/skladek\ ve\ střední\ velikosti.jpeg);
  background-size: cover;
  background-position: center;
  color: white;
  padding: 4rem 0;
  position: relative;
}

.page-header h1 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: white;
  opacity: 0.8;
}

.breadcrumb-item.active {
  color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: white;
  opacity: 0.5;
}

/* Section Styles */
.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

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

/* Service Cards */
.service-card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.icon-wrapper i {
  font-size: 2rem;
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Benefits List */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.benefits-list i {
  color: var(--primary-color);
  margin-right: 1rem;
  font-size: 1.25rem;
}

/* Reference Cards */
.reference-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
}

.reference-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.reference-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.reference-content {
  padding: 1.5rem;
  background-color: white;
}

.reference-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-info {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  min-width: 30px;
}

.contact-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-form {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 0;
}

.footer h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 0.5rem;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
  margin-right: 0.75rem;
  color: var(--primary-color);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
}

/* Price Cards */
.price-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.price-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.price-header h3 {
  margin: 0;
  font-weight: 600;
}

.price-body {
  padding: 1.5rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.price-item:last-child {
  border-bottom: none;
}

.price-name {
  font-weight: 500;
}

.price-value {
  font-weight: 600;
  color: var(--primary-color);
}

.price-footer {
  padding: 1.5rem;
  text-align: center;
  background-color: var(--light-color);
}

/* Info Box */
.info-box {
  background-color: var(--light-color);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 4px;
}

.info-box h3 {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.info-box h3 i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.info-box ul {
  padding-left: 1.5rem;
}

.info-box li {
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-color);
  color: white;
}

.cta-section h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section .btn-primary {
  background-color: white;
  color: var(--primary-color);
  border-color: white;
}

.cta-section .btn-primary:hover {
  background-color: transparent;
  color: white;
}

/* Accordion */
.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-button {
  background-color: white;
  box-shadow: var(--shadow);
  font-weight: 600;
  padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: white;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-color);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234CAF50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.25rem;
  background-color: white;
}

/* Image Wrapper */
.image-wrapper {
  border-radius: 7px;
  overflow: hidden;
  
}

/* Testimonial Styles */
.testimonial-item {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1rem;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
}

.testimonial-text::before {
  left: -1rem;
  top: -0.5rem;
}

.testimonial-text::after {
  right: -1rem;
  bottom: -1.5rem;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-author p {
  color: var(--text-light);
  margin: 0;
}

/* Map Container */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Sponsors Section */
.sponsors-section {
  background-color: var(--light-color);
  overflow: hidden;
  padding: 3rem 0;
}

.sponsors-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.sponsors-track {
  display: flex;
  animation: scroll 20s linear infinite;
  width: calc(200px * 12);
}

.sponsor-logo {
  flex: 0 0 200px;
  background-color: white;
  border-radius: 8px;
  padding: 1rem;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  margin: 0 15px;
  transition: var(--transition);
}

.sponsor-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sponsor-logo img {
  max-height: 80px;
  max-width: 100%;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 6));
  }
}

/* Team Card Styles */
.team-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-content {
  padding: 1.5rem;
}

.team-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-position {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-social {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.team-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--light-color);
  border-radius: 50%;
  color: var(--primary-color);
  transition: var(--transition);
}

.team-social a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Rental Card Styles */
.rental-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
}

.rental-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.rental-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.rental-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.rental-card:hover .rental-image img {
  transform: scale(1.05);
}

.rental-content {
  padding: 1.5rem;
}

.rental-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.rental-price, .rental-deposit {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.rental-deposit {
  margin-bottom: 1rem;
}

.price-label, .deposit-label {
  font-weight: 500;
}

.price-value, .deposit-value {
  font-weight: 600;
  color: var(--primary-color);
}

/* Product Card Styles */
.product-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  padding: 1.5rem;
}

.product-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.product-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.product-features i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero {
    padding: 6rem 0;
  }
  
  .navbar-collapse {
    background-color: var(--primary-color);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
  }
  
  .sponsors-track {
    animation: scroll 20s linear infinite;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .reference-card img {
    height: 200px;
  }
  
  .contact-info, .contact-form {
    margin-bottom: 2rem;
  }
  
  .sponsors-track {
    animation: scroll 15s linear infinite;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .sponsor-logo {
    flex: 0 0 150px;
    height: 80px;
    margin: 0 10px;
  }
  
  .sponsors-track {
    width: calc(150px * 12);
    animation: scroll 12s linear infinite;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-150px * 6));
    }
  }
}
/* 🔔 Horní oznamovací lišta */
.announcement-bar {
  background-color: #ffc107; /* žlutá – můžeš změnit */
  color: #212529;
  text-align: center;
  padding: 10px 15px;
  font-weight: 500;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000; /* nad sticky headerem */
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: transform .4s ease, opacity .4s ease;
}

.announcement-bar .close-btn {
  background: none;
  border: none;
  color: #212529;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  margin-left: 10px;
}

/* Tělo dostane padding přes proměnnou podle reálné výšky lišty */
body.has-announcement {
  padding-top: var(--announcement-height, 0px);
}
