/* ==============================
   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 KONTAKT
  ============================== */
#kontakt {
  margin-top: 160px;
  margin-bottom: 6rem;
  background-color: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0px -5px 25px 0px rgb(29, 29, 29);
  width: 1200px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Playfair Display", serif;
  font-weight: 400;
}

#kontakt h2 {
  font-size: 2.3rem;
  text-align: center;
  border-bottom: 2px solid #ffe477;
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
  color: #1d1d1d;
}

/* Styl nagłówka "Dane kontaktowe" */
#kontakt .contact-info h5 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: black;
}

/* Stylizacja linków (telefon i email) */
#kontakt .contact-info a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease;
}

#kontakt .contact-info a:hover {
  color: #ffe553;
}

#kontakt label {
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: #1d1d1d;
}

#kontakt input[type="text"],
#kontakt input[type="email"],
#kontakt textarea,
#kontakt select {
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: "Playfair Display", serif;
  transition: border-color 0.3s ease;
  width: 100%;
  appearance: none;
  background-color: #fff;
  cursor: text;
}


#kontakt input:focus,
#kontakt textarea:focus,
#kontakt select:focus {
  border-color: #ffe553;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(124, 148, 109, 0.25);
}

#kontakt .ratio {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

#kontakt .popup {
  position: relative;
  display: block;
  margin-top: 1rem;
}

#kontakt .popup-content {
  position: relative;
  padding: 1rem 1.5rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#kontakt .popup-content .close {
  position: absolute;
  top: 0.25rem;
  right: 0.75rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: #000;
}
#kontakt .form-check {
    align-items: flex-start;
    font-family: "Playfair Display", serif;
    font-size: 0.95rem;
  }

#kontakt .form-check-input {
  margin-top: 0.3rem;
  margin-right: 0.5rem;
  border-radius: 0.25rem;
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  transform: scale(1) !important; /* <- to kluczowe */
  appearance: checkbox; /* dla przeglądarek, które renderują inaczej */
}
#kontakt .form-check-label a {
  color: #000;
  text-decoration: underline;
}

#kontakt .form-check-label a:hover {
  color: #ffe553;
}

  /* ==============================
     SEKCJA: STOPKA (FOOTER)
  ============================== */
  footer {
    background-color: #6c757d;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
  }
  
/* ==============================
     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 ------------------------------------------------------------------------ */

/* ---------------------------------------------------------------- 320px – 480px: Mobile devices ---------------------------------------------------------------- */
@media (min-width: 320px) and (max-width: 480px) {

/* ------------------------- NAVBAR ------------------------- */

   .nav-indicator {
    display: none;
  }
 .navbar-brand img {
    height: 55px !important;
    max-height: 80px;
    width: auto;
  }
  /* ------------------------- SEKCJA KONTAKT ------------------------- */

    #kontakt {
    padding: 2rem 1rem;
    width: 100%;
    box-shadow: none;
    margin-top: 100px;
    margin-bottom: 3rem;
  }

  #kontakt h2 {
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
  }

  #kontakt .contact-info h5 {
    font-size: 1.1rem;
  }

  #kontakt .contact-info p,
  #kontakt .contact-info a {
    font-size: 0.95rem;
    word-break: break-word;
  }

  #kontakt label {
    font-size: 0.95rem;
  }

  #kontakt input,
  #kontakt textarea,
  #kontakt select {
    font-size: 0.95rem;
    padding: 0.6rem 0.9rem;
  }

  #kontakt .btn {
    width: 100%;
    font-size: 1rem;
    padding: 0.6rem;
  }

  #kontakt .popup-content {
    font-size: 0.9rem;
  }

  #kontakt .popup-content .close {
    font-size: 1rem;
  }

  #kontakt .ratio {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  #kontakt iframe {
    width: 100%;
    height: 200px;
  }
}

/* ---------------------------------------------------------------- 481px – 768px: iPads, Tablets ---------------------------------------------------------------- */
@media (min-width: 481px) and (max-width: 768px) {
  /* ------------------------- RESET / OGÓLNE ------------------------- */
  html, body {
    margin: 0;
    padding: 0;
  }

  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  main {
    flex: 1;
  }

  /* ---------------------------- NAVBAR ---------------------------- */
 .nav-indicator {
    display: none;
  }

  /* ---------------------------- KONTAKT ---------------------------- */
  #kontakt {
    padding: 2rem 1rem;
    width: 100%;
    margin-top: 100px;
    margin-bottom: 2rem;
    box-shadow: none;
  }

  #kontakt h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  #kontakt input,
  #kontakt textarea,
  #kontakt select {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }

  #kontakt label {
    font-size: 1rem;
  }

  #kontakt .btn {
    font-size: 1rem;
    padding: 0.6rem;
    width: 100%;
  }

  #kontakt .ratio {
    aspect-ratio: 4 / 3;
  }

  #kontakt iframe {
    height: 250px;
    width: 100%;
  }

  #kontakt .popup-content {
    font-size: 0.95rem;
  }

  /* ---------------------------- STOPKA ---------------------------- */
  .custom-footer {
    margin-top: auto;
    padding-bottom: 1.5rem;
  }

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

  .footer-copy {
    font-size: 0.85rem;
    padding: 0 1rem;
  }
}

/* ---------------------------------------------------------------- 769px – 1024px: Small screens, laptops ---------------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1024px) {
  /* ---------------------------- NAVBAR ---------------------------- */
  .nav-indicator {
    display: none;
  }
 .navbar-brand img {
    height: 55px !important;
    max-height: 80px;
    width: auto;
  }
  /* ---------------------------- KONTAKT ---------------------------- */
  #kontakt {
    padding: 2.5rem 1.5rem;
    width: 95%;
    margin-top: 250px;
    margin-bottom: 5rem;
  }

  #kontakt h2 {
    font-size: 2rem;
  }

  #kontakt iframe {
    height: 300px;
  }

  #kontakt .btn {
    font-size: 1rem;
    padding: 0.7rem 1.4rem;
  }

 /* ---------------------------- STOPKA ---------------------------- */
  .custom-footer {
    padding: 2rem 1rem 3rem;
    margin-top: 115px;
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #f8f9fa;
    z-index: -1;
  }

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

  .footer-copy {
    font-size: 0.85rem;
    margin-bottom: 0;
  }
}

/* 1025px – 1200px: Desktops, large screens */
@media (min-width: 1025px) and (max-width: 1200px) {
  /* ---------------------------- NAVBAR ---------------------------- */
  .nav-indicator {
    display: none;
  }
  /* ---------------------------- KONTAKT ---------------------------- */
  #kontakt {
    padding: 3rem 2rem;
    width: 90%;
    margin-top: 140px;
    margin-bottom: 5rem;
  }

  #kontakt h2 {
    font-size: 2.2rem;
  }

  #kontakt input,
  #kontakt textarea,
  #kontakt select {
    font-size: 1rem;
  }

  #kontakt .btn {
    font-size: 1.05rem;
  }

  #kontakt iframe {
    height: 300px;
  }

  /* ---------------------------- STOPKA ---------------------------- */
  .footer-links {
    flex-wrap: wrap;
    gap: 1.2rem;
  }

  .footer-copy {
    font-size: 0.9rem;
}
}
