/* --- DESKTOP STYLES (Restored 1:1 from backup index.html) --- */
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #111;
}

.kontakt-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #d4af37, #f7e27c, #b8860b);
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  z-index: 999;
}

.slideshow {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-section {
  padding: 80px 20px;
}

.contact-form-container {
  max-width: 650px;
  margin: auto;
  padding: 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.form-header h1 {
  text-align: center;
  color: #b8860b;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f9f9f9;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 13px;
  align-items: center;
  /* Wyśrodkowanie tekstu względem checkboxa */
}

.checkbox-group label {
  margin-bottom: 0;
  /* Usunięcie domyślnego marginesu etykiety */
  cursor: pointer;
}

.submit-button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #d4af37, #f7e27c, #b8860b);
  font-weight: bold;
  cursor: pointer;
}

.privacy-note {
  text-align: center;
  font-size: 13px;
  margin-top: 15px;
}

/* --- MOBILE NAV STRIP (Hidden on Desktop) --- */
.mobile-nav-header {
  display: none;
}

/* --- MEDIA QUERIES (MOBILE OPTIMIZATIONS) --- */
@media (max-width: 768px) {

  /* 1. Mobile Header Background */
  .mobile-nav-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
  }

  /* 2. Contact Button Positioning on Header */
  .kontakt-btn {
    top: 10px;
    right: 20px;
    padding: 10px 20px;
    font-size: 13px;
    background: linear-gradient(135deg, #d4af37, #f7e27c, #b8860b);
    z-index: 1001;
    /* Above header */
    box-shadow: none;
  }

  /* 3. Slideshow Auto-Height */
  .slideshow {
    height: auto;
    min-height: 200px;
    margin-top: 60px;
    /* Offset for header */
    background: #fff;
    display: grid;
  }

  .slide {
    position: relative;
    grid-area: 1 / 1;
    display: block;
    width: 100%;
    height: auto;
  }

  .slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    /* No cropping */
  }

  /* 4. Form Padding & Touch Optimizations */
  .form-section {
    padding: 20px 20px 30px 20px;
    /* "Light" spacing */
  }

  .contact-form-container {
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  }

  /* Fix input overflow & zoom on mobile (16px prevents iOS zoom) */
  input,
  textarea {
    box-sizing: border-box;
    max-width: 100%;
    font-size: 16px;
  }

  .form-header h1 {
    font-size: 1.4em;
  }

  /* Active States for better mobile feel (Restored) */
  .kontakt-btn:active,
  .submit-button:active {
    transform: scale(0.96);
    opacity: 0.9;
  }


}