:root {
  --dark-blue: #00407d;
  --light-blue: #58b1e4;
  --red-accent: #e32d22;
  --white: #ffffff;
  --gray: #f4f4f4;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
  background-color: var(--gray);
}

/* --- NAGŁÓWEK --- */
header {
  background-color: var(--dark-blue);
  color: white;
  padding: clamp(1rem, 5vw, 2.5rem) 1rem;
  text-align: center;
  border-bottom: 5px solid var(--red-accent);
}

.logo-wrapper {
  display: inline-block;
  width: 100%;
  max-width: 450px;
}

.header-logo {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: width 0.3s ease;
}

.header-subtitle {
  letter-spacing: 2px;
  font-weight: 300;
  margin-top: 15px;
  font-size: clamp(0.8rem, 3vw, 1.1rem);
  text-transform: uppercase;
}

/* --- ELEMENTY STRONY GŁÓWNEJ --- */
.location-bar {
  background: var(--light-blue);
  color: var(--dark-blue);
  font-weight: bold;
  padding: 12px;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.hero {
  background: linear-gradient(rgba(0, 64, 125, 0.85), rgba(0, 64, 125, 0.85)), 
              url('img/hero-bg.jpg') center/cover no-repeat;
  color: white;
  padding: 4rem 1rem;
  text-align: center;
}

.price-box {
  background-color: var(--red-accent);
  color: white;
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid white;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1rem;
}

.area-section {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.towns-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
}

.town-tag {
  background: var(--dark-blue);
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 500;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--light-blue);
}

.info-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.info-list li {
  margin-bottom: 12px;
  padding-left: 35px;
  position: relative;
  font-size: 1.1rem;
}

.info-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--light-blue);
}

/* --- KONTAKT --- */
.contact-box {
  background: var(--dark-blue);
  color: white;
  text-align: center;
  padding: 4rem 1rem;
  margin-top: 3rem;
}

.phone-btn {
  display: inline-block;
  background: var(--red-accent);
  color: white;
  padding: 1.2rem 2.5rem;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  margin: 1.5rem 0;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.phone-btn:hover {
  transform: scale(1.05);
  background: #ff3a2e;
}

/* --- GALERIA SLIDER --- */
.slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}

.slider {
  display: flex;
}

.slide {
  min-width: 100%;
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 64, 125, 0.7);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  transition: 0.3s;
  z-index: 10;
}

.prev:hover, .next:hover { background: var(--red-accent); }
.prev { left: 15px; }
.next { right: 15px; }

/* --- STYLE DLA POLITYKI PRYWATNOŚCI I RODO --- */
.policy-section {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--light-blue);
  text-align: left; /* Ważne: tekst prawny od lewej */
}

.policy-section h1 {
  font-size: 2rem;
  border-bottom: 2px solid var(--gray);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  color: var(--dark-blue);
}

.policy-section h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-blue);
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--dark-blue);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--red-accent);
}

/* --- STOPKA --- */
footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 3rem 1rem;
  text-align: center;
  font-size: 0.95rem;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 600px) {
  .slide img { height: 250px; }
  .logo-wrapper { max-width: 250px; }
  .policy-section { padding: 1.5rem; }
}

