@import url('https://fonts.googleapis.com/css2?family=Lato&family=Playfair+Display:wght@600&display=swap');

:root {
  scroll-padding-top: 2rem;
}

body {
  font-family: 'Lato', sans-serif;
  color: #333;
  background-color: #fff;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

h1 {
  font-size: 3.75rem;
}

h1 small {
  opacity: 0.85;
}

.section {
  padding: 4rem 0;
}

.bg-primary {
  background-color: #2c3e50 !important;
  color: white;
}

.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  font-family: 'Lato', sans-serif;
}

.navbar-brand {
  font-weight: bold;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
}

.nav-link {
  font-size: 0.95rem;
  margin-left: 1rem;
  color: white;
}

.navbar-dark {
  background-color: #000000;
}

.header {
  background-image: url('assets/headerbg.png'); /* Zmień na odpowiedni URL */
  background-size: cover;
  background-position: center;
  color: #fff;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 10em;
  position: relative;
  min-height: 30rem;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4rem;
  background: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}

header h1 {
  font-size: 4rem;
  line-height: 1.2;
  font-weight: 600;
  line-height: 4rem;
}
header small {
  font-size: 3rem;
  font-weight: 300;
}

.mt-negative-header {
  margin-top: -12rem;
  position: relative;
}

.icon-box {
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 5px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  width: 100%;
}

.icon-box:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.icon-box img {
  width: 48px;
  height: auto;
}

.section-title {
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 3px;
  background-color: #e74c3c;
  transform: rotate(130deg);
  margin-right: 0.3rem;
  margin-bottom: 0.2rem;
  flex-shrink: 0;
}

.photo-wrapper {
  position: relative;
  display: inline-block;
}

.photo-wrapper::after {
  content: '';
  position: absolute;
  right: -4rem;
  bottom: -3rem;
  width: 15rem;
  height: 15rem;
  background-color: #2c3e50;
  border-radius: 0.2rem;
  z-index: -1;
}

.section-offer {
  padding-bottom: 10rem;
}

.mt-negative-section-offer {
  margin-top: -10rem;
  position: relative;
}

.accordion-item {
  margin-bottom: 1rem;
  
}

.accordion-button {
  background-color: #2c3e50;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.accordion-button:not(.collapsed) {
  background-color: #2c3e50;
  color: white;
}
.accordion-button::after {
  filter: invert(1) sepia(1) saturate(0);
}
.accordion-body {
  padding-top: 2rem;
  text-align: left;
  max-width: 90%;
  margin: auto;
}
.accordion-body h5 {
  /* margin-bottom: 1rem; */
}



@media screen and (max-width: 600px) {
  header h1 small {
    font-size: 2rem;
  }
  header h1 {
    line-height: 2.5rem;
    font-size: 3rem;
  }
  .icon-box {
    margin-bottom: 1rem;
  }
  .photo-wrapper::after {
    right: -2rem;
    bottom: -1rem;
  }
  .section {
    padding: 1rem 0;
  }
  .mt-negative-section-offer {
    margin-top: 0;
  }
  :root {
    scroll-padding-top: 15rem;
  }
}