/*! 
 * asbud.radom.pl Custom Style
 * © Copyright toster.dev
 */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 85px !important;
  padding-bottom: 0;
  color: rgb(var(--bs-tertiary-color-rgb));
}

.container {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
  margin-top: auto !important;
}

.carousel-item {
  height: 30rem;
  margin-top: 0;
  padding-top: 0;
}

.carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

#myCarousel {
  position: relative;
  margin-top: 0;
  z-index: 1;
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  height: auto;
}
  
.nav-link {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  transition: color 0.3s ease;
}
  
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background-color: #0d6efd;
  border-radius: 3px 3px 0 0;
}

.call-now-btn {
  background-color: #28a745;
  border-radius: 30px;
  padding: 8px 15px;
  transition: all 0.3s ease;
}
  
.call-now-btn:hover {
  transform: scale(1.05);
  background-color: #218838;
}

@media (max-width: 992px) {
  .carousel-item {
    height: 24rem;
  }
  
  #myCarousel {
    margin-top: 0;
  }
  
  body {
    padding-top: 76px !important; /* Mniejszy padding dla średnich ekranów */
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 66px !important; /* Jeszcze mniejszy padding dla małych ekranów */
  }
  
  .carousel-item {
    height: 20rem;
  }
  
  #myCarousel {
    margin-top: 0;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 0;
  }
  
  .carousel-item {
    height: 16rem;
  }
  
  .carousel-caption {
    padding: 10px;
    bottom: 0.5rem;
  }
  
  .carousel-caption h1 {
    font-size: 1.5rem;
  }
  
  .carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .carousel-caption .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 992px) {
  body {
    padding-top: 0;
  }
  
  #myCarousel {
    margin-top: 10px;
  }
}

:root {
  --site-secondary-color: #ea2027;
}

.btn-secondary, .btn-secondary.disabled, .btn-secondary:disabled {
  background-color: var(--site-secondary-color);
  border-color: var(--site-secondary-color);
}

.btn-primary, .btn-primary.disabled, .btn-primary:disabled {
  background-color: var(--site-secondary-color);
  border-color: var(--site-secondary-color);
}

.btn-secondary:hover {
  background-color: #b1191e;
  border-color: #b1191e;
}

.btn-primary:hover {
  background-color: #b1191e;
  border-color: #b1191e;
}

.btn-secondary:active, .btn-secondary:focus {
  background-color: #8d161a !important;
  border-color: #8d161a !important;
}

.btn-primary:active, .btn-primary:focus {
  background-color: #8d161a !important;
  border-color: #8d161a !important;
}