/* === SEKCJA KONTAKTOWA === */
.contact-section {
  background-color: #111;
  color: #fff;
  padding: 60px 20px;
  font-family: sans-serif;
  position: relative;
}

.contact-main-title {
  text-align: center;
  margin-bottom: 40px;
}

/* === KONTAINER === */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

/* === LEWA I PRAWA KOLUMNA === */
.contact-left {
  flex: 2;
  min-width: 0;
}

.contact-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-right h2 {
  text-align: left;
  margin-bottom: 20px;
}

.contact-right p {
  font-size: 18px;
  line-height: 1.6;
}

/* === OGÓLNE LABEL / INPUT === */
.contact-form label {
  display: block;
  color: #d69a2d;
  font-weight: bold;
  margin: 20px 0 5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 12px;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #444;
  font-size: 16px;
  border-radius: 4px;
  margin-bottom: 16px;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d69a2d;
  outline: none;
}

/* === WIADOMOŚĆ WRAPPER === */
.contact-form .message-wrapper {
  position: relative;
  margin-top: 20px;
}

.contact-form .message-wrapper textarea {
  height: 140px;
  resize: none;
}

/* === PRZYCISK WYŚLIJ === */
.contact-form .submit-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: #d69a2d;
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  z-index: 10;
}

.contact-form .submit-btn i {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

/* === CHECKBOX === */
.contact-form .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #d69a2d;
  font-size: 14px;
}

.contact-form input[type="checkbox"].checkbox-input {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  background: #1a1a1a;
  border: 1px solid #444;
  accent-color: #d69a2d;
}

/* === DODATKOWE STYLOWANIE === */
.contact-form {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 8px;
  background: #111;
}

/* === DEKORACJE === */
.decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.decorations::before,
.decorations::after {
  content: '';
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
}
.decorations::before {
  background-image: url('images/decor/tatar-wolowy.png');
  width: 300px;
  height: 500px;
  bottom: 0px;
  transform: rotate(180deg);
}
.decorations::after {
  background-image: url('images/decor/nacho.png');
  width: 250px;
  height: 250px;
  bottom: 150px;
  right: 400px;
}

/* === RESPONSYWNE === */

@media (max-width: 1710px) {
  .decorations::before {
    width: 180px;
    height: 400px;
    bottom: 0px;
  }

  .decorations::after {
    width: 180px;
    height: 180px;
    bottom: 40px;
    right: 50px;
  }

}

@media (max-width: 1480px) {
  .decorations::before {
    width: 125px;
    height: 400px;
    bottom: 0px;
  }
  .decorations::before {
    display: none;
  }
}

@media (max-width: 1300px) {
  .decorations::before {
    width: 80px;
    height: 400px;
    bottom: 0px;
  }
  .decorations::before {
    display: none;
  }
}

@media (max-width: 1024px) {
  .contact-container {
    flex-direction: column;
  }
  .contact-right {
    margin-top: 40px;
    justify-content: flex-start;
  }
  .decorations::before {
    display: none;
  }
  .decorations::after {
    width: 100px;
    height: 100px;
    bottom: 110px;
    right: 10px;
  }
}

/* === PRYWATNOŚĆ === */
.privacy-info a.open-privacy-modal {
  display: inline-block;
  margin-top: 10px;
  color: #d69a2d;
  text-decoration: underline;
  cursor: pointer;
  font-size: 17px;
  font-weight: bold;
  padding-left: 50px;
  padding-top: -50px;
}
.privacy-info a.open-privacy-modal:hover {
  color: #f0b84a;
}

/* === MODAL === */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal.hidden {
  display: none;
}
.modal-content {
  background: white;
  padding: 30px;
  max-width: 500px;
  border-radius: 8px;
  text-align: center;
  color: #000;
}
.modal-content button {
  margin-top: 20px;
  background: #d69a2d;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}
