/* Animacje wjazdu sekcji about */
.slide-in-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.8s, transform 0.8s;
}
.slide-in-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.8s, transform 0.8s;
}
.slide-in-visible {
  opacity: 1;
  transform: translateX(0);
}
body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #000000;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

.cookie-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #333;
  color: white;
  padding: 10px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}
.cookie-popup a{
  color:white;
}
.cookie-popup a:hover{
  color:white;
}

.cookie-button {
  background-color: rgba(0, 77, 0, 0.8);
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

.cookie-button:hover {
  background-color: rgba(6, 118, 6, 0.8);
}

@media (max-width: 400px) {
    .custom-sm-flex {
      display: block; 
    }
}


a{
  color:#055105;
}
a:hover{
  color:rgba(0, 77, 0, 0.8);
}

.top-bar {
  background-color: #004d00;
  color: #ffffff;
  padding: 5px 0;
  text-align: center;
  position: fixed;
  top: 0;
  width: 110%;
  z-index: 100;
}
.top-bar p {
  margin: 0;
  
}
.top-bar a{
  color:white;
  font-size: 20px; 
  text-align: center;
}
.navbar {
  
  margin-bottom: 0px;
  background-color: #ffffff;
  padding-top: 10px;
  padding-bottom: 10 px;
  color:black;
}
.navbar-container {
  margin-top:50px;
  max-width: 1200px;
  
  color:black;
}
.navbar-brand {
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  transition: 0.3s;
}
.navbar-brand:hover {
  color: #00ff00; 
}

.navbar-brand p {
  font-weight:400;
  margin:5px;
  padding: 5px;
  font-size: 20px;
}
.nav-link {
  color: #000000;
}
.jumbotron {
  background-image: url('your-image-url.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}
.carousel-caption {
  background-color: rgba(0, 77, 0, 0.8);
  color: #ffffff;
  padding: 10px;
  position: absolute;
  bottom: 0;
  width: 100%;
}
footer {
  background-color:#004d00dc;
  color: #ffffff;
  padding: 20px;
  margin-top:0px;
  text-align: center;
}
footer a {
  color:white;
}
footer a:hover{
  color:rgb(255, 255, 255);
}
.contact-info {
  background-color: #a6c1a6;
  padding: 10px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.contact-button {
  margin-top: 10px;
  background-color: rgba(0, 77, 0, 0.8);
  border-color: #0a2b0a;
}
.contact-button:hover {
  background-color: rgba(27, 73, 27, 0.809);
  border-color: #0a2b0a;
}

offer-section {
padding: 50px;
background-color: #f8f9fa;
}

.offer-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  margin-bottom: 10px;
  border-radius: 10px;
}
offer-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  display: block;
}

.offer-card {
  text-align: center;
  padding: 20px;
  border: 2px dashed #dddddd;
  margin-bottom: 20px;
  transition: background-color 1s;
  color:#000000;
  height: 90%;
  border-radius: 10px;  
}

.offer-text {
  padding-top: auto;
  padding-bottom: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.offer-link:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: rgba(0, 77, 0, 0.8); 
}

.offer-card:hover h3,
.offer-card:hover p {
  color: rgba(0, 77, 0, 0.8); 
}

.about{
  font-size:larger;
  text-align: center;
  margin-bottom: 30px;
}
.about h1{
  font-size:30px;
  color:rgba(0, 77, 0, 0.8);
  margin-top:20px;
  padding-bottom: 0px;
}

.image-wrapper{
  max-width:300px;
}

.image-about{
  max-width:300px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.219);
}

/* Ustawienie elementów w .about-section-row obok siebie */
.about-section-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

.about-section-row .text-left, .about-section-row .text-right {
  flex: 1;
}

.about-section-row .image-wrapper {
  flex-shrink: 0;
}

.about-text-left{
  text-align: justify;
}

.about-text-right{
  text-align: justify;
}

@media (max-width: 768px) {
  .about-section-row {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .about-text-left,
  .about-text-right {
    text-align: justify;
    margin-bottom: 16px;
  }
  
  .image-wrapper {
    max-width: 100%;
    order: 2; 
  }
  
  .image-about {
    max-width: 100%;
    height: auto;
  }
}