/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

a {
  text-decoration: none;
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background: #222;
  color: #fff;
  padding: 8px 0;
  font-size: 0.9rem;
}

.contact-info {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

/* Header */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.flex-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
}

.flex-header .logo-link {
  display: flex;
  align-items: center;
  height: 100%; /* Utrzymuje pełną wysokość rodzica dla wyśrodkowania */
}

.flex-header .logo-link img {
  height: auto;
  max-height: 75px; /* Kontroluje optymalny rozmiar logo */
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  font-weight: 500;
  color: #e67e22;
}

.btn {
  display: inline-block;
  background: #e67e22;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: 0.3s;
}

.btn:hover {
  background: #d35400;
}

/* Services */
.services {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #e67e22;
  margin: 15px auto;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.service-card {
  background: #ffffff;
  border: 1px solid #eef2f3;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  flex: 1 1 280px;
  max-width: 380px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #bbb;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

footer h3 {
  color: #fff;
  margin-bottom: 20px;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #bbb;
  text-decoration: none;
}

.bottom-footer {
  background: #111;
  text-align: center;
  padding: 20px 0;
  font-size: 0.8rem;
}



/* Oferta */
.services-section {
  padding: 50px 20px;
}

.services-section h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 2.5rem;
}

.services-section .section-desc {
  text-align: center;
  color: #7f8c8d;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.services-item {
  background: #ffffff;
  border: 1px solid #eef2f3;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.services-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #f39c12;
}

.services-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: inline-block;
}

.services-item h3 {
  margin: 0 0 12px 0;
  font-size: 1.3rem;
  color: #2c3e50;
}

.services-item p {
  margin: 0;
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-top: -10px;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.services-more {
  text-align: center;
  margin-top: 40px;
}

.btn-primary {
  display: inline-block;
  background-color: #f39c12;
  color: #fff;
  padding: 12px 30px;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #d35400;
}

.services-icon img {
  width: 40px; /* Dostosuj szerokość do wysokości pozostałych ikonek */
  height: 40px; /* Dopasuj wysokość */
  object-fit: contain;
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
  .flex-header {
    flex-direction: column;
    gap: 15px;
  }
  .hero {
    height: 60vh; /* Na komórkach nieco niższa, by nie zasłaniać całego małego ekranu */
  }
  .hero-content h2 {
    font-size: 2rem;
  }
}
