/* ==============================
   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: transparent;
    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%;
}
  
/* ==============================
   SEKCJA: REGULAMIN (Accordion)
============================== */
.regulamin-container {
  background-color: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0px -5px 25px 0px rgb(29, 29, 29);
  margin-top: 120px;
  margin-bottom: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Playfair Display", serif;
  padding-top: calc(60px + 2rem); /* wysokość navbara + margines */
}

.regulamin-container h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 2px solid #ffe553;
  padding-bottom: 1rem;
  font-weight: 700;
  color: #000;
}

.regulamin-container .accordion-button {
  background-color: #f8f9fa;
  color: #000;
  font-weight: 500;
  font-size: 1.1rem;
  font-family: "Playfair Display", serif;
  padding: 1rem 1.25rem;
  border: none;
  box-shadow: none;
  transition: background-color 0.3s ease;
}

.regulamin-container .accordion-button:not(.collapsed) {
  background-color: #ffe553;
  color: #000;
}

.regulamin-container .accordion-button:focus {
  box-shadow: none;
}

.regulamin-container .accordion-body {
  background-color: #fff;
  font-size: 1rem;
  color: #000;
  padding: 1.5rem;
}

.regulamin-container ul {
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.regulamin-container p,
.regulamin-container li {
  margin-bottom: 1.5rem;
  color: #000;
  font-weight: 300;
  text-align: justify !important;
}

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

.regulamin-container a:hover {
  color: #ffe553;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.flex-grow-1 {
  flex: 1;
}

  /* ==============================
     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; 
}
/* =========================== MEDIA QUERIES =========================== */
@media (min-width: 320px) and (max-width: 480px){   
    .nav-indicator{
    display: none;
  }
   .navbar-brand img {
    height: 55px !important;
    max-height: 80px;
    width: auto;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
    .nav-indicator {
    display: none;
  }
   .navbar-brand img {
    height: 55px !important;
    max-height: 80px;
    width: auto;
  }
}
@media (min-width: 769px) and (max-width: 1023px) {
    .nav-indicator {
    display: none;
  }
}
  @media (min-width: 1024px) and (max-width: 1200px) {
    .nav-indicator {
    display: none;
  }
}