/* Reset podstawowy */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f5f5f5;
  }
  
  /* Globalne układy */
  main {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
  }
  
  /* Sekcja tytułowa */
  .title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin-top: 80px;
  }
  
  .title h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
  }
  
  /* Animacje */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-in-out forwards;
  }
  
  .slide-in {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 1s ease-in-out forwards;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* Sekcja place */
  .place {
    display: flex;
    margin-top: 60px;
    padding: 20px;
    padding-right: 40px;
  }
  
  /* FORMULARZ KONTAKTOWY */
  
  /* Kontener całego formularza – centrowanie */
  .contact-form {
    display: flex;
    justify-content: center;
    padding: 20px;
    width: 100%;
    margin-right: 120px;
  }
  
  .text-map {
    padding: 20px;
    position: relative;
    left: -200px;
  }
  
  /* „Chmurka” formularza */
  .contact-cont {
    background-color: #d4ebf2;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 600px;
    height: 65%;
  }
  
  /* Nagłówek formularza */
  .contact-cont h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
  }
  
  /* Układ formularza – kolumna z odstępami */
  .contact-cont form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  /* Wiersze formularza */
  .contact-cont form p {
    display: flex;
    flex-direction: column;
    margin: 0;
  }
  
  /* Etykiety nad polami */
  .contact-cont form p label {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
    text-align: left;
  }
  
  /* Pola tekstowe oraz textarea */
  .contact-cont form p input,
  .contact-cont form p textarea {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Umożliwienie zmiany rozmiaru pola textarea */
  .contact-cont form p textarea {
    resize: vertical;
    min-height: 100px;
  }
  
  /* Przycisk wysyłania */
  .contact-cont form button[type="submit"] {
    margin: auto;
    margin-top: 40px;
    background: #4aa3df;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 30%;
  }
  
  .contact-cont form button[type="submit"]:hover {
    background: #357ab7;
  }
  
  /* DODATKOWA SEKCJA KONTAKTOWA – np. dane kontaktowe i mapa */
  
  /* Kontener z danymi kontaktowymi */
  .contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .normal {
    width: 80%;
  }
  
  /* Pojedyncza „chmurka” z danymi */
  .contact-box {
    background-color: #d4ebf2;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 18px;
    border-radius: 40px;
    padding: 10px;
    margin: 10px;
    flex: 1;
    min-width: 250px;
  }
  
  .contact-box h2 {
    color: #4aa3df;
  }
  
  /* Kontener mapy */
  .map-container {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
  }
  
  .map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 15px;
  }
  
  /* Dodatkowe drobne style */
  
  /* Linie dekoracyjne */
  .line_adaptacja {
    width: 100%;
    height: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }
  
  .line_30 {
    width: 25%;
    height: 4px;
    background-color: #4aa3df;
    margin-top: 20px;
  }
  
  .prowadz {
    background-color: #357ab7;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 40px;
    width: 30%;
    padding: 4px;
    cursor: pointer;
  }
  
  /* Media Queries - responsywność */
  
  /* Dla szerokości mniejszych niż 1480px - naprawa nachodzenia contact-form i text-map */
  @media (max-width: 1480px) {
    .text-map {
      left: 0;
    }
    .contact-form {
      margin-right: 0;
    }
  }
  
  /* Dla urządzeń mobilnych */
  @media (max-width: 768px) {
    .contact-form {
      padding: 20px;
    }
    .text-map {
      left: 0;
      padding: 20px;
    }
    .contact-cont form button[type="submit"] {
      width: 100%;
    }
    .line_30 {
      width: 50%;
    }
    .prowadz {
      width: 50%;
    }
    /* Sekcja place - ustawienie układu pionowego */
    .place {
      flex-direction: column;
      padding-right: 0;
    }
  }
  
  @media (max-width: 480px) {
    .title h1 {
      font-size: 2em;
    }
    .contact-cont {
      padding: 20px;
    }
    .contact-cont h2 {
      font-size: 20px;
    }
    .contact-cont form p label {
      font-size: 16px;
    }
    .contact-cont form p input,
    .contact-cont form p textarea {
      font-size: 14px;
    }
  }
  