/* ==============================
   OGÓLNE STYLE DLA CAŁEJ STRONY
============================== */
body {
  scroll-behavior: smooth;
  background-color: #f2f2f2;
  font-family: "Playfair Display", serif;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  text-justify: inter-word;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

  /* ==============================
    NAVBAR
  ============================== */
  .navbar-custom {
    transition: background-color 0.3s ease;
  }
  
  .navbar-transparent {
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
  }
  
  .navbar-scrolled {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
  }
  
  .navbar-brand img {
    height: 80px;
    max-height: 80px;
    width: auto;
  }
  
  .nav-link {
    position: relative;
    padding-bottom: 5px;
    display: inline-block;
    font-family: "Playfair Display", serif;
    font-weight: 400;
    color: #3a3737;
  }
  
  .nav-indicator {
    position: absolute;
    bottom: 0;
    height: 2px;
    background-color: #ffe477;
    transition: left 0.3s ease, width 0.3s ease;
    z-index: 10;
  }
  
  
  /* ==============================
    BUTTON "UMÓW SIĘ"
  ============================== */
.btn-primary.rounded-pill {
    border-radius: 50rem;
    padding: 0.4rem 1rem;
    font-weight: 600;
    color: #000;
    background-color: #ffe477;
    border: none;
    font-family: "Playfair Display", serif;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s, background-color 0.4s, box-shadow 0.4s, transform 0.4s;
    box-shadow: 0 8px 24px rgba(66,68,90,0.18);
}

.btn-primary.rounded-pill::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #f5e499;
    border-radius: 50rem;
    z-index: -2;
}

.btn-primary.rounded-pill::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%; height: 100%;
    background-color: #ffe553;
    transition: width 0.4s;
    border-radius: 50rem;
    z-index: -1;
}

.btn-primary.rounded-pill:hover {
    color: #333333;
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(66,68,90,0.18);
}

.btn-primary.rounded-pill:hover::before {
    width: 100%;
}
  
  /* ==============================
     SEKCJE STRONY (SEKCJA 1–5)
  ============================== */
  section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #333;
  }
  
/* ==============================
   SEKCJA 1 – O MNIE
============================== */
#section1 {
  background-color: #ffffff;
  padding: 8rem 1rem;
  min-height: auto;
  position: relative;
  z-index: 1;
  height: 1000px;
}

.section1-img img {
  max-width: 900px;
  width: 100%;
  margin-left: -60px;
  margin-bottom: 100px;
  box-shadow: 0px 0px 20px -5px rgba(66, 68, 90, 1);
}

.section1-text {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-top: -100px;
  padding: 2rem;
  margin-left: 80px;
}

.section1-text .btn {
  position: absolute;
  bottom: -10px;
  right: -20px;
  font-size: 1.5rem;
}

.section1-title {
  font-size: 3rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 30px;
  padding-bottom: 0.5rem;
}
.section1-summary {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  padding: 30px;
  text-align: justify;
}
.section1-subtitle {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  margin-left: 30px;
}
.section1-yellow-line {
  width: 100%;
  max-width: 800px;
  height: 4px;
  background: #ffe477;
  border-radius: 2px;
  margin-left: 30px;
  margin-bottom: 1.2rem;
}

/* === SEKCJA 2 – OGÓLNE === */
#section2 {
  background-color: #ffffff;
  margin-top: -90px;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.section2-title,
.subcategory-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  text-align: center;
  color: #3a3737;
  margin-bottom: 1rem;
}
.section2-title {
  font-size: 5rem;
  margin-top: -100px;
  text-justify: auto;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}
.subcategory-title {
  font-size: 3rem;
  margin-top: 60px;
  margin-bottom: 60px;
  font-family: "Playfair Display", serif;
}

/* === KATEGORIE GŁÓWNE === */
#section2 .category-card {
  background-color: #415e52;
  border: none;
  border-radius: 20px;
  padding: 2rem 1rem;
  color: white;
  height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  min-height: 350px;
  box-shadow: 0px 0px 20px 0px rgb(29, 29, 29) !important;
}
#section2 .category-card:hover {
  transform: scale(1.01);
  box-shadow: 0px 0px 20px 0px rgb(29, 29, 29) !important;
}
#section2 .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 1.5rem 1rem 1rem;
}
#section2 .card-title {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  font-family: "Playfair Display", serif;;
  color: whitesmoke;
}
#section2 .btn {
  background-color: #ffde59;
  color: #4a4a4a;
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border-radius: 25px;
  border: none;
  transition:
    background-color 0.3s,
    color 0.3s,
    transform 0.22s cubic-bezier(0.4,0,0.2,1),
    box-shadow 0.22s cubic-bezier(0.4,0,0.2,1);
  font-family: "Playfair Display", serif;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(66,68,90,0.08);
}
#section2 .btn:hover {
  background-color: #ffe477;
  color: #333;
  transform: scale(1.035) translateY(-1px);
  box-shadow: 0 6px 18px rgba(66,68,90,0.13);
}

/* === USŁUGI – PODKATEGORIE === */
.subcategory-tile {
  position: relative;
  display: block;
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  background-color: #fff;
}

.subcategory-tile:hover {
  transform: scale(1.03);
}

.subcategory-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(65%);
  transition: filter 0.3s ease;
}

.subcategory-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.4rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  text-align: center;
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  padding: 0 10px;
  
}

.subcategory-btn {
  position: relative;
  z-index: 2;
}

/* === ANIMACJE I PRZEJŚCIA === */
.fade-transition {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}
.fade-transition.show {
  opacity: 1;
  pointer-events: auto;
}

/* === PRZYCISK WSTECZ === */
.back-button {
  all: unset;
  display: inline-block;
  margin: 50px auto 40px auto;
  cursor: pointer;
  border-radius: 50rem;
  padding: 0.4rem 1.2rem;
  font-weight: 600;
  color: #000;
  background-color: #ffe477;
  font-family: "Playfair Display", serif;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s, background-color 0.4s, box-shadow 0.4s, transform 0.4s;
  box-shadow: 0 8px 24px rgba(66,68,90,0.18);
}

.back-button::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #f5e499;
  border-radius: 50rem;
  z-index: -2;
}

.back-button::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%; height: 100%;
  background-color: #ffe553;
  transition: width 0.4s;
  border-radius: 50rem;
  z-index: -1;
}

.back-button:hover {
  color: #333333;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(66,68,90,0.18);
}

.back-button:hover::before {
  width: 100%;
}

.back-button img {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.back-button:hover img {
  transform: scale(1.2);
}

.section2-corner-img {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 350px;      /* dostosuj rozmiar */
  max-width: 30vw;   /* responsywność */
  z-index: 3;
  pointer-events: none;
}
#section2 {
  position: relative; /* konieczne dla pozycjonowania absolutnego */
}

/* ==============================
   MODAL DIALOG
   ============================== */

.custom-modal-dialog {
  max-width: 1200px;
}

.custom-modal {
  background-color: #fffaf4f3; /* kremowo-białe tło */
  border-radius: 16px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 2rem 2rem 1.5rem;
}

.custom-modal .modal-body {
  color: #333;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

.custom-modal .scroll-wrapper {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
}

.custom-modal .modal-body .col-md-7 {
  padding-bottom: 2rem; /* albo więcej, zależnie od projektu */
}

.custom-modal h3 {
  font-weight: 700;
  font-size: 3rem;
  color: #3a3737 !important; 
  font-family: "Playfair Display", serif;
}

.custom-modal h5 {
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: 600;
  color: #3a3737 !important; 
  font-family: "Playfair Display", serif;
}
.custom-modal p {
  color: #444;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  text-align: justify;
}

.custom-modal ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.custom-modal ul li {
  margin-bottom: 0.5rem;
  color: #555;
}

.custom-modal img {
  border-radius: 12px;
  max-height: 600px; /* było 360px */
  object-fit: cover;
  width: 100%; /* dodane */
}

.custom-modal .btn-close {
  width: 1.5rem;   /* zwiększamy obszar kliknięcia */
  height: 1.5rem;
  padding: 0.5rem;
  filter: none;
  opacity: 0.6;
  transform: scale(1.2);
  transition: all 0.3s ease;
  z-index: 100;
}

.custom-modal .btn-close:hover {
  opacity: 1;
  transform: scale(1.4);
}
.btn-contact,
.btn-contact:link,
.btn-contact:visited {
  border-radius: 50rem;
  padding: 0.4rem 1rem;
  font-weight: 600;
  color: #000;
  background-color: #ffe477;
  border: none;
  font-family: "Playfair Display", serif;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s, background-color 0.4s, box-shadow 0.4s, transform 0.4s;
  box-shadow: 0 8px 24px rgba(66,68,90,0.18);
  display: inline-block;
  text-decoration: none;
}

.btn-contact::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #f5e499;
  border-radius: 50rem;
  z-index: -2;
}

.btn-contact::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%; height: 100%;
  background-color: #ffe553;
  transition: width 0.4s;
  border-radius: 50rem;
  z-index: -1;
}

.btn-contact:hover,
.btn-contact:focus {
  color: #333333;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(66,68,90,0.18);
}

.btn-contact:hover::before,
.btn-contact:focus::before {
  width: 100%;
}

/* ==============================
   SEKCJA 3 – CENNIK
============================== */
#section3 {
  background-color: #ffffff;
  margin-top: -50px;
  padding-top: 150px;
  padding-bottom: 150px;
  position: relative;
  box-shadow: 0px -5px 25px 0px rgb(29, 29, 29);
  z-index: 1;
}

.pricing-title {
  font-size: 4rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: #3a3737;
  margin-bottom: 1rem;
}

.pricing-divider {
  width: 600px;
  height: 3px;
  background-color: #ffe477;
  margin: 0 auto 2rem auto;
  opacity: 1;
  border: none;
}

.pricing-box {
  background-color: #415e52;
  border-radius: 40px;
  padding: 2rem;
  padding-top: 50px;
  max-width: 600px;
  margin: 0 auto;
  color: #fff;
  box-shadow: 0px 8px 24px 0px rgb(51, 52, 64);
}

.pricing-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
}

.pricing-item p {
  font-size: 1.2rem;
  color: rgb(231, 220, 179);
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.text-small {
  font-size: 0.9rem;
  color: #ffe553;
  font-family: "Playfair Display", serif;
  font-weight: 400;
}

.pricing-subtitle {
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: #3a3737;
  margin-bottom: 1rem;
  margin-top: 50px;
}

.section3-corner-img {
  position: absolute;
  top: 20px;
  right: 40px;
  width: 300px;      /* dostosuj rozmiar */
  max-width: 30vw;   /* responsywność */
  z-index: 3;
  pointer-events: none;
}
#section3 {
  position: relative; /* konieczne dla pozycjonowania absolutnego */
}

/* SEKCJA 4 */
.arrow-btn {
  width: 40px;
  height: 40px;
  border: none;
  background-color: #415e52;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform .2s;
}
.arrow-btn:hover {
  transform: scale(1.1);
}
.arrow-btn i {
  font-size: 1.25rem;
  color: #fff;
}
.opinion-card-text {
  max-height: 120px;    /* dostosuj wysokość według potrzeb */
  overflow-y: hidden;
  display: block;
  padding-right: 4px;   /* miejsce na pasek przewijania */
  text-align: justify;
}

/* Opcjonalnie: styl paska przewijania dla Webkit (Chrome, Edge, Safari) */
.opinion-card-text::-webkit-scrollbar {
  width: 6px;
}
.opinion-card-text::-webkit-scrollbar-thumb {
  background: #ffe477;
  border-radius: 4px;
}
.opinion-card-text::-webkit-scrollbar-track {
  background: transparent;
}
.carousel-wrapper {
  width: 660px;
  overflow: visible;
  padding-top: 60px;
  padding-bottom: 60px; 
  margin: auto;
}
.carousel {
  display: flex;
  transition: none;
  align-items: center;
}
@keyframes popIn {
  0%   { transform: scale(0.8); opacity: 0; }
  60%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}
.opinion-card {
  width: 200px;
  height: 350px;
  min-height: 300px;
  margin: 0 10px;
  background-color: #838a87;
  border-radius: 1px;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
    transition: 
    transform 0.3s cubic-bezier(0.65, 0, 0.35, 1),
    box-shadow 0.1s ease,
    filter 0.1s ease,
    opacity 0.1s ease;
}

.opinion-card.center {
 transform: scale(1.05);
  background-color: #aeb6b3;
  box-shadow: 0px 0px 20px rgba(29, 29, 29, 0.15);
}
.opinion-card.center .opinion-card-text {
  overflow-y: auto; /* scroll tylko na wyróżnionej karcie */
}
.opinion-author {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffe477;
  text-align: left;
}

.opinion-content {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0 0.5rem;
  color: white;
}
.opinion-card h2 {
  font-size: 2rem;
  color: #e7dcb3;
  text-align: left;    
  margin: 0 0 4rem;     
}
.opinion-card p {
  font-size: 1rem;
  line-height: 1.4;
  color: whitesmoke;
  text-align: left;      
  margin: 0;             
}
.carousel .opinion-card {
  width: 200px;
  height: 350px;
  min-height: 300px;
  margin: 0 10px;
  padding: 2rem 1rem;
  background-color: #415e52;
  border-radius: 20px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.05);
  font-family: "Playfair Display", serif;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start; /* Ustawia h2 na lewej krawędzi kontenera */
  flex-shrink: 0;
}
.carousel .opinion-card:not(.center) {
  filter: brightness(0.8); 
  opacity: 0.8;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.2);
}
#carousel {
  will-change: transform;
  backface-visibility: hidden;
}
#section4 {
  display: block;
  padding-top: 10rem;
  position: relative;
}
.section4-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 4rem;
  color: #3a3737;
  margin: 0;
  text-align: center;
  margin-bottom: 5rem;
}

.section4-icon-wrapper {
  position: absolute;
  top: -24px;
  left: -250px;
  z-index: 1;
}

.section4-icon {
  max-width: 400px;
  height: auto;
  opacity: 0.9;
}

.section4-corner-img {
  position: absolute;
  top: 60px;
  left: -200px;
  width: 300px;      /* dostosuj rozmiar */
  max-width: 25vw;   /* responsywność */
  z-index: 2;
  pointer-events: none;
}
#section4 {
  position: relative; /* konieczne dla pozycjonowania absolutnego */
}

 /* ==============================
     SEKCJA: STOPKA (FOOTER)
  ============================== */
.custom-footer {
  background-color: #f8f9fa;
  text-align: center;
  padding: 2rem 1rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffe553;
}

.footer-copy {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: -40px;
}

.apex-button {
  display: inline-block;
  border: none;
  background: none;
  color: #777;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  cursor: pointer;
}

.apex-button:hover {
  color: #ffe553; 
}
  
  /* ==============================
     SEKCJA: COOKIE BANNER (jeśli występuje)
  ============================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  background: #415e52;
  color: #000000;
  padding: 0.6rem 1.5rem; /* mniejszy padding pionowy */
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 9999;
  font-size: 0.95rem;
  display: flex;
  align-items: center; /* wyśrodkowanie w pionie */
  justify-content: center;
  gap: 1rem;
}
.cookie-banner p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Libre Baskerville", serif;
  font-weight: 300;
}
.cookie-banner a {
  color: #000;
  text-decoration: underline;
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
}
.hidden {
  display: none !important;
}
/* ------------------------------------------------------------------------ MEDIA QUERIES ------------------------------------------------------------------------ */

/* 320px – 480px: Mobile devices */
@media (min-width: 320px) and (max-width: 480px) {
  body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Ukrycie przewijania w poziomie */
  }
  .nav-indicator {
    display: none;
  }
   .navbar-brand img {
    height: 55px !important;
    max-height: 80px;
    width: auto;
  }
  #section1 {
    padding: 3rem 1rem; /* Zmniejszenie paddingu */
    height: auto; /* Automatyczna wysokość */
    width: 100%; /* Dopasowanie do szerokości ekranu */
  }

  .section1-img img {
    width: 350px; /* Ustawienie szerokości obrazka */
    height: 350px; /* Ustawienie wysokości obrazka, aby był kwadratowy */
    border-radius: 50% !important; /* Zamiana obrazka na koło */
    object-fit: cover; /* Dopasowanie zawartości obrazka */
    margin: 50px auto 35px auto;
    box-shadow: 0px 0px 20px -5px rgba(66, 68, 90, 1); /* Dodanie cienia dla estetyki */
  }
  .section1-text {
    margin-left: 0; /* Wyśrodkowanie tekstu */
    padding: 1rem; /* Zmniejszenie paddingu */
    width: 100%; /* Dopasowanie do szerokości ekranu */
  }
  .section1-text .btn {
    position: relative; /* Zapewnia poprawne pozycjonowanie */
    margin: 1rem auto; /* Wyśrodkowanie przycisku w poziomie */
    font-size: 1rem; /* Dopasowanie rozmiaru czcionki */
    padding: 0.5rem 1rem; /* Dopasowanie paddingu */
    display: block; /* Zapewnia wyśrodkowanie przycisku */
    text-align: center; /* Wyśrodkowanie tekstu w przycisku */
    transform: translateX(75px); /* Przesunięcie przycisku w lewo */
  }
  .section1-title {
    font-size: 2rem; /* Zmniejszenie rozmiaru czcionki */
    text-align: left; 
  }

  .section1-summary {
    font-size: 1rem; /* Zmniejszenie rozmiaru czcionki */
    text-align: left;
    padding-top: 30px !important;
    padding: 0px;
  }

  .section1-yellow-line {
    width: 100%; /* Dopasowanie szerokości linii */
    margin: 0 auto; /* Wyśrodkowanie linii */
  }
.custom-modal {
    max-height: 90vh; /* Ograniczenie wysokości modala do 90% wysokości ekranu */
    overflow-y: auto; /* Dodanie przewijania w pionie */
    overflow-x: hidden; /* ZABLOKUJ poziomy scroll */
    padding: 2rem; /* Dopasowanie paddingu */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    background-color: #fffaf4f3; /* kremowo-białe tło */
  }
  .custom-modal .btn-close {
    position: absolute; /* Ustawienie absolutnego pozycjonowania */
    top: -15px !important; /* Przesunięcie bliżej górnej krawędzi */
    right: -15px !important; /* Przesunięcie bliżej prawej krawędzi */
    width: 1.5rem; /* Zwiększenie obszaru kliknięcia */
    height: 1.5rem;
    padding: 0.5rem;
    filter: none;
    opacity: 0.6;
    transform: scale(1.2);
    transition: all 0.3s ease;
    z-index: 100; /* Zapewnia, że przycisk jest na wierzchu */
  }
  
  .custom-modal .btn-close:hover {
    opacity: 1;
    transform: scale(1.4); /* Powiększenie przycisku przy najechaniu */
}
/* ==================================================== SEKCJA 2 ==================================================== */

  #section2 {
    padding: 2rem 1rem; /* Zmniejszenie paddingu */
    margin-top: 0; /* Usunięcie negatywnego marginesu */
    border-top-left-radius: 0px; /* Zmniejszenie zaokrąglenia */
    border-top-right-radius: 0px;
  }

  .section2-title {
    font-size: 3rem; /* Zmniejszenie rozmiaru czcionki */
    margin-top: 0; /* Dopasowanie marginesu */
  }

  .subcategory-title {
    font-size: 1.8rem; /* Zmniejszenie rozmiaru czcionki */
    margin-top: 30px; /* Dopasowanie marginesu */
    margin-bottom: 30px;
  }
  #section2 .category-card {
    background-color: #415e52;
    border: none;
    border-radius: 20px;
    padding: 2rem 1rem;
    color: white;
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100px !important;
    box-shadow: 0px 0px 20px 0px rgb(29, 29, 29) !important;
    margin: 25px 50px 25px 50px;
  }
  #section2 .card-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    font-family: "Playfair Display", serif;
    color: whitesmoke;
}
  .card-title {
    font-size: 1.5rem; /* Zmniejszenie rozmiaru czcionki */
  }

  .btn {
    padding: 0.3rem 0.8rem; /* Zmniejszenie przycisku */
    font-size: 0.85rem;
  }

  .section2-corner-img {
      bottom: -120px; /* Obniżenie obrazka na urządzeniach mobilnych */
      width: 150px; /* Dostosowanie rozmiaru */
      max-width: 50%; /* Responsywność */
      left: 120px;
      display: none;
    }

  .cookie-banner {
    flex-direction: column; /* Układ pionowy */
    gap: 0.5rem; /* Zmniejszenie odstępów */
    font-size: 0.85rem; /* Zmniejszenie rozmiaru czcionki */
  }

  .navbar-brand img {
    height: 40px; /* Zmniejszenie logo */
    width: auto;
  }

  .nav-link {
    font-size: 0.9rem; /* Zmniejszenie rozmiaru czcionki */
  }

  .btn-primary.rounded-pill {
    padding: 0.3rem 0.8rem; /* Zmniejszenie przycisku */
    font-size: 0.85rem;
  }
  /* ==================================================== SEKCJA 3 ==================================================== */
  .pricing-divider {
    width: 100%; /* Dopasowanie do szerokości kontenera */
    max-width: 90%; /* Opcjonalne ograniczenie szerokości */
    height: 3px;
    background-color: #ffe477;
    margin: 0 auto; /* Wyśrodkowanie */
    opacity: 1;
    border: none;
  }
  .section3-corner-img {
    position: absolute;
    top: 2400px;
    right: 135px;
    width: 400px;
    max-width: 30vw;
    z-index: 3;
    pointer-events: none;
    display: none;
}
.pricing-box {
    background-color: #415e52;
    border-radius: 40px;
    padding: 2rem;
    padding-top: 50px;
    max-width: 600px;
    margin: 25px 50px 50px 50px;
    color: #fff;
    box-shadow: 0px 8px 24px 0px rgb(51, 52, 64);
}
.pricing-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    font-family: "Playfair Display", serif;
    font-weight: 400;
}
.pricing-item p {
    font-size: 1rem;
    color: rgb(231, 220, 179);
    font-family: "Playfair Display", serif;
    font-weight: 400;
    margin-bottom: 1.5rem;
}
.pricing-title {
    font-size: 3rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #3a3737;
    margin-bottom: 1rem;
}
.pricing-subtitle {
    font-size: 1.8rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #3a3737;
    margin-bottom: 1rem;
    margin-top: 50px;
}
/* ==================================================== SEKCJA 4 ==================================================== */
.carousel-wrapper {
  width: 220px;
  margin: 0 auto;
}
#prevBtn {
  left: 35px;
}
#nextBtn {
  right: 35px;
}
.cookie-banner {
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  width: 100%;
}
.cookie-banner .btn{
  font-size: 0.85rem;
  width: 70%;
}
.section4-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 3rem;
    color: #3a3737;
    margin: 0;
    text-align: center;
    margin-bottom: 5rem;
}
}
/* 481px – 768px: iPads, Tablets */
@media (min-width: 481px) and (max-width: 767px) {
    .nav-indicator {
    display: none;
  }
   .navbar-brand img {
    height: 55px !important;
    max-height: 80px;
    width: auto;
  }
    .section1-img img {
    width: 300px; /* Ustawienie szerokości obrazka */
    height: 300px; /* Ustawienie wysokości obrazka, aby był kwadratowy */
    border-radius: 50% !important; /* Zamiana obrazka na koło */
    object-fit: cover; /* Dopasowanie zawartości obrazka */
    margin: 50px auto 70px auto;
    box-shadow: 0px 0px 20px -5px rgba(66, 68, 90, 1); /* Dodanie cienia dla estetyki */
    }
  
    .section1-text {
      margin-left: 0;
      padding: 1rem 1.2rem;
      text-align: center;
      width: 100%;
      max-width: 100%;
    }
  
    .section1-title {
      font-size: 1.9rem; /* Mniejsza czcionka */
      line-height: 1.3;
      padding: 0 1rem;
    }
  
    .section1-summary {
      font-size: 1rem; /* Mniejsza czcionka */
      line-height: 1.6;
      padding: 0 1rem;
      word-break: break-word;
    }
  
    .section1-text .btn {
      position: relative; /* Ustawienie względnego pozycjonowania */
      left: 25px; /* Przesunięcie przycisku w lewo */
      transform: translateX(-15px); /* Dodatkowe przesunięcie w lewo */
      margin-top: 1rem; /* Dopasowanie odstępu od tekstu */
    }
  
    .section1-yellow-line {
      width: 80%;
      margin: 1rem auto;
    }
    #section2 {
      margin-top: 0rem; /* zamiast ujemnego */
    }
    .section2-title {
      font-size: 3rem;
      margin-top: 100px;
    }
  
    .subcategory-title {
      font-size: 2rem;
      margin-top: 40px;
      margin-bottom: 40px;
    }
  
    .category-card {
      padding: 1rem;
      min-height: 280px;
    }
  
    #section2 .card-title {
      font-size: 2rem;
    }
    #section2 .category-card {
    background-color: #415e52;
    border: none;
    border-radius: 20px;
    padding: 2rem 1rem;
    color: white;
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100px !important;
    box-shadow: 0px 0px 20px 0px rgb(29, 29, 29) !important;
    margin: 25px 50px 25px 50px;
  }
    .btn {
      font-size: 0.95rem;
    }
    .section2-corner-img {
    position: absolute;
    left: 20px;
    bottom: -180px;
    width: 350px;
    max-width: 30vw;
    z-index: 3;
    pointer-events: none;
}
    .section3-corner-img {
    display: none;
    }
  /* ==================================================== SEKCJA 4 ==================================================== */
  .carousel-wrapper {
    width: 220px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }
  .opinion-card {
    flex: 0 0 auto;
    width: 200px;
    margin: 0 10px;
  }
  #section4 { position: relative; }
  .arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 60%;
    z-index: 10;
  }
  #prevBtn { left: 50px; }
  #nextBtn { right: 55px; }
  .cookie-banner {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    width: 60%;
  }
  .cookie-banner .btn{
    font-size: 0.85rem;
    width: 30%;
  }
  .section4-corner-img {
  display: none;
  }
}

/* 769px – 1024px: Small screens, laptops */
@media (min-width: 768px) and (max-width: 991px) {
    .nav-indicator {
    display: none;
  }
    .navbar-brand img {
    height: 55px !important;
    max-height: 80px;
    width: auto;
  }
  .section1-img img {
    width: 250px; /* Ustawienie szerokości obrazka */
    height: 300px; /* Ustawienie wysokości obrazka, aby był kwadratowy */
    object-fit: cover; /* Dopasowanie zawartości obrazka */
    margin: 50px auto 250px auto;
    box-shadow: 0px 0px 20px -5px rgba(66, 68, 90, 1); /* Dodanie cienia dla estetyki */
    }
  
    .section1-text {
      margin-left: 0;
      padding: 1rem 1.2rem;
      text-align: center;
      width: 100%;
      max-width: 100%;
    }
  
    .section1-title {
      font-size: 1.9rem; /* Mniejsza czcionka */
      line-height: 1.3;
      padding: 0 1rem;
    }
  
    .section1-summary {
      font-size: 1rem; /* Mniejsza czcionka */
      line-height: 1.6;
      padding: 0 1rem;
      word-break: break-word;
    }
  
    .section1-text .btn {
      position: relative; /* Ustawienie względnego pozycjonowania */
      left: 25px; /* Przesunięcie przycisku w lewo */
      transform: translateX(-15px); /* Dodatkowe przesunięcie w lewo */
      margin-top: 1rem; /* Dopasowanie odstępu od tekstu */
    }
  
    .section1-yellow-line {
      width: 80%;
      margin: 1rem auto;
    }
    #section2 {
      margin-top: -9rem; /* zamiast ujemnego */
    }
    .section2-title {
      font-size: 3rem;
      margin-top: -100px;
    }
  
    .subcategory-title {
      font-size: 2rem;
      margin-top: 40px;
      margin-bottom: 40px;
    }
  
    .category-card {
      padding: 1rem;
      min-height: 280px;
    }
  
    #section2 .card-title {
      font-size: 2rem;
    }
  
    .btn {
      font-size: 0.95rem;
    }
    .section3-corner-img {
      top: 1410px;     /* ← wcześniej było 20px */
      right: 20px;    /* ← opcjonalnie bliżej środka */
      width: 220px;   /* ← mniejszy rozmiar na tabletach */
      max-width: 50vw;
    }
  /* ==================================================== SEKCJA 4 ==================================================== */
  .carousel-wrapper {
    width: 640px;    /* 3×200px + 2×20px = 640px */
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }
  .carousel .opinion-card {
    flex: 0 0 auto;
    width: 200px;
    margin: 0 10px;
  }
  #section4 { position: relative; }
  .arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 59%;
    z-index: 10;
  }
  #prevBtn { left: -15px; }
  #nextBtn { right: -30px; }
  .cookie-banner {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    width: 60%;
  }
  .cookie-banner .btn{
    font-size: 0.85rem;
    width: 30%;
  }
    .section4-corner-img {
  display: none;
  }
}

@media (min-width: 992px) and (max-width: 1365px) {
    .nav-indicator {
    display: none;
  }
  .section1-img img {
    width: 300px; /* Ustawienie szerokości obrazka */
    height: 500px; /* Ustawienie wysokości obrazka, aby był kwadratowy */
    object-fit: cover; /* Dopasowanie zawartości obrazka */
    margin: 150px auto 330px 50px;
    box-shadow: 0px 0px 20px -5px rgba(66, 68, 90, 1); /* Dodanie cienia dla estetyki */
    }
  
    .section1-text {
      margin-left: 0;
      padding: 1rem 1.2rem;
      text-align: left;
      width: 100%;
      max-width: 100%;
    }
    .section1-subtitle {
      margin-left: 0;
      padding: 1rem 1.2rem;
      text-align: left;
      width: 100%;
      max-width: 100%;
    }
    .section1-title {
      font-size: 1.9rem; /* Mniejsza czcionka */
      line-height: 1.3;
      padding: 0 1rem;
      text-align: left;
    }
  
    .section1-summary {
      font-size: 1rem; /* Mniejsza czcionka */
      line-height: 1.6;
      padding: 0 1rem;
      word-break: break-word;
    }
  
    .section1-text .btn {
      position: relative; /* Ustawienie względnego pozycjonowania */
      left: 25px; /* Przesunięcie przycisku w lewo */
      transform: translateX(-15px); /* Dodatkowe przesunięcie w lewo */
      margin-top: 1rem; /* Dopasowanie odstępu od tekstu */
    }
  
    .section1-yellow-line {
      width: 95%;
      margin: 1rem auto;
    }
    #section2 {
      margin-top: -220px;
    }
    .section2-title {
      font-size: 3rem;
      margin-top: -100px;
    }
  
    .subcategory-title {
      font-size: 2rem;
      margin-top: 40px;
      margin-bottom: 40px;
    }
  
    .category-card {
      padding: 1rem;
      min-height: 280px;
    }
  
    #section2 .card-title {
      font-size: 2rem;
    }
  
    .btn {
      font-size: 0.95rem;
    }
    .section3-corner-img {
      display:none
    }
    .section4-corner-img {
       display: none;
    }
  /* ==================================================== SEKCJA 4 ==================================================== */
  .carousel-wrapper {
    width: 640px;    /* 3×200px + 2×20px = 640px */
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }
  .carousel .opinion-card {
    flex: 0 0 auto;
    width: 200px;
    margin: 0 10px;
  }
  #section4 { position: relative; }
  .arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    z-index: 10;
  }
  #prevBtn { left: 30px; }
  #nextBtn { right: 30px; }
  .section4-corner-img {
    position: absolute;
    top: 60px;
    left: -2000px;
    width: 300px;
    max-width: 25vw;
    z-index: 2;
    pointer-events: none;
}
.cookie-banner {
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  width: 70%;
}
.cookie-banner .btn{
  font-size: 0.85rem;
  width: 30%;
}
}
@media (min-width: 1366px) and (max-width:1500px){
  .section1-img img {
    max-width: 900px;
    width: 100%;
    margin-left: -10px;
    margin-bottom: 100px;
    box-shadow: 0px 0px 20px -5px rgba(66, 68, 90, 1);
  }
  .section2-corner-img {
    position: absolute;
    left: -10px;
    bottom: -190px;
    width: 350px;
    max-width: 30vw;
    z-index: 3;
    pointer-events: none;
}
.section4-corner-img {
  position: absolute;
  top: 5px;
  left: -100px;
  width: 300px;
  max-width: 25vw;
  z-index: 2;
  pointer-events: none;
}
}