/* Reset i bazowe */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff;
    color: #222;
  }
  
  a {
    text-decoration: none;
    color: white;
  }
  
  /* Hero banner */
  .hero {
    height: 60vh;
    background: url('../img/banner.jpg') no-repeat center center/cover;
    position: relative;
  }
  
  .overlay {
    background: rgba(0, 0, 0, 0.6);
    height: 100%;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo img {
    max-height: 60px;
    max-width: 60px;  
      border-radius: 50%; 
      object-fit: cover; 
    
    
  }
  
  
  nav ul {
    display: flex;
    gap: 20px;
  }
  
  nav a {
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  nav a:hover,
  nav a.active {
    color: #ffd700;
  }
  
  .hero-text {
    text-align: center;
    color: white;
    margin-top: auto;
  }
  
  .hero-text h1 {
    font-size: 48px;
    animation: fadeIn 1s ease-out;
  }
  
  /* Sekcja O nas */
  .about-section {
    padding: 80px 20px;
  }
  
  .container {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .container h2 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    color: #333;
  }
  
  .container p,
  .container ul {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  ul.reveal-list {
    list-style: none;
    padding-left: 0;
  }
  
  ul.reveal-list li {
    background: #f8f8f8;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #ffd700;
    border-radius: 8px;
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.6s ease;
  }
  
  /* Animacje */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 30px 20px;
  }
  
  /* Responsive */
  @media (max-width: 900px) {
    .hero-text h1 {
      font-size: 32px;
    }
  
    nav ul {
      flex-direction: column;
      gap: 10px;
    }
  }
  .team-gallery {
    margin-top: 60px;
  }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  .gallery-grid img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  .gallery-grid img:hover {
    transform: scale(1.03);
  }
  
  .reviews-slider {
    margin-top: 80px;
    text-align: center;
  }
  .slider {
    position: relative;
    height: 80px;
    overflow: hidden;
  }
  .slide {
    font-style: italic;
    font-size: 18px;
    opacity: 0;
    position: absolute;
    width: 100%;
    transition: opacity 0.6s ease;
  }
  
  .timeline {
    margin-top: 80px;
  }
  .timeline-container {
    border-left: 4px solid #ffd700;
    padding-left: 20px;
    margin-top: 20px;
  }
  .timeline-item {
    margin-bottom: 20px;
    position: relative;
  }
  .timeline-item::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 3px;
    width: 12px;
    height: 12px;
    background: #ffd700;
    border-radius: 50%;
  }
  
  .counters {
    margin: 80px auto;
    text-align: center;
  }
  .counter-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 30px;
  }
  .count {
    font-size: 48px;
    color: #ffd700;
    font-weight: bold;
  }
 
  /* === Uniwersalne style nawigacji === */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo img {
  max-height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding-left: 0;
  margin: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: red;
}

/* === Responsive: mobilna wersja === */
@media (max-width: 900px) {
  .top-bar {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}


.why-us {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-item {
  background: #f4f4f4;
  padding: 30px 20px;
  border-radius: 20px;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
  background: #e0e0e0;
  transform: translateY(-5px);
}



.feature-item:hover .feature-icon {
  background: #999;
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
}

.feature-item p {
  font-size: 16px;
  color: #555;
}
