:root {
  --main-color: #2c3e50;
  --accent-color: #34495e;
  --text-color: #212529;
  --light-bg: #f8f9fa;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-color);
  background: var(--light-bg);
}

/* HERO / HEADER */
header {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Tło slidera */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Ciemna nakładka na tło */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.7); /* Ciemny odcień niebieskiego */
  z-index: -1;
}

/* 🔝 Sticky navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: var(--transition);
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--main-color);
}

.logo a {
  display: flex;
}

.menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
}

.menu a:hover {
  color: var(--main-color);
}

/* Przycisk Hamburger (ukryty na desktopie) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--main-color);
  border-radius: 3px;
  transition: var(--transition);
}

.hero {
  /* zostaw miejsce na sticky navbar */
  margin-top: 72px;
  padding: 0 20px;
  max-width: 1100px;
  color: #fff; /* Biały tekst na ciemnym tle */
}

.hero h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin-bottom: 20px;
  color: #f8f9fa;
}

.btn {
  background: var(--main-color);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(44, 62, 80, 0.15);
}

.btn:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
}

/* === WAŻNE: animacje tylko dla .fade-section (nie dla wszystkich sekcji) === */
.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Standardowe sekcje bez ukrywania */
section:not(.fade-section) {
  padding: 60px 10%;
  text-align: center;
}

/* ogólne dla sekcji które mogłyby mieć */
section.section, section#services, section#about, section#projects, section#contact {
  padding: 80px 10%;
  text-align: center;
}

/* --- Prosta sekcja usług (bez komplikacji) --- */
.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--main-color);
  margin-bottom: 24px;
}

.services-simple {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 0 10px;
}

.services-group {
  flex: 1 1 420px;
  min-width: 280px;
  text-align: left;
}

.group-title {
  font-size: 1.25rem;
  color: var(--main-color);
  margin-bottom: 12px;
  font-weight: 700;
}

.group-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.group-list li {
  background: linear-gradient(180deg, #fbfff4 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(37, 43, 66, 0.05);
}

.group-list strong {
  display: block;
  font-size: 1rem;
  color: #222;
  margin-bottom: 6px;
}

.item-desc {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Galeria */
.gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.gallery img {
  width: 300px;
  border-radius: 10px;
  transition: var(--transition);
}

.gallery img:hover { transform: scale(1.05); }

/* Formularz */
/* ZAKOMENTOWANE - STARY FORMULARZ
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 0 5px rgba(55, 71, 79, 0.2);
}
*/

/* === NOWOCZESNE KAFELKI KONTAKTOWE (BEZ FORMULARZA) === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
  justify-content: center;
}

.contact-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(44, 62, 80, 0.12);
  border-color: var(--main-color);
}

.contact-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: var(--light-bg);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-card:hover .card-icon {
  background: var(--main-color);
  color: #fff;
}

.contact-card h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--main-color);
}

.contact-card span {
  font-size: 0.95rem;
  color: #64748b;
}

.contact-card.highlight {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid var(--main-color);
}

/* Mapa */
.map-container {
  width: 100%;
  height: 400px;
  margin: 30px 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
footer {
  background: var(--main-color);
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
}

footer a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Responsywność */
@media (max-width: 900px) {
  .navbar { padding: 12px 20px; }
  
  .menu-toggle { display: flex; }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 30px 0;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: var(--transition);
  }

  .menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .services-simple { gap: 20px; }
  section.section, section#services, section#about, section#projects, section#contact { padding: 60px 6%; }
}

@media (max-width: 600px) {
  .services-simple { flex-direction: column; }
  .hero h1 { font-size: 1.6rem; }
}
/* 🌟 Nowoczesna sekcja usług z animacjami */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
  justify-items: center;
}

.service-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(55, 71, 79, 0.05), transparent 60%);
  transform: scale(0);
  transition: transform 0.6s ease;
  z-index: 0;
}

.service-card:hover::before {
  transform: scale(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.icon {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 14px;
  transition: transform 0.4s ease;
}

.service-card:hover .icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--main-color);
  z-index: 1;
  position: relative;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  z-index: 1;
  position: relative;
}

/* 🌿 Usługi — pionowy układ z animacjami */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.service-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  padding: 25px 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(55, 71, 79, 0.05), transparent 60%);
  transform: scale(0);
  transition: transform 0.6s ease;
  z-index: 0;
}

.service-item:hover::before {
  transform: scale(1);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.icon {
  font-size: 2rem;
  color: var(--main-color);
  margin-right: 18px;
  flex-shrink: 0;
  transition: transform 0.4s ease;
  z-index: 1;
}

.service-item:hover .icon {
  transform: scale(1.1);
}

.service-content {
  text-align: left;
  z-index: 1;
  position: relative;
}

.service-content h3 {
  font-size: 1.2rem;
  color: var(--main-color);
  margin-bottom: 8px;
}

.service-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Mobilne dostosowanie */
@media (max-width: 700px) {
  .service-item {
    flex-direction: column;
    text-align: center;
  }

  .icon {
    margin: 0 0 10px 0;
  }

  .service-content {
    text-align: center;
  }
}
/* ZAKOMENTOWANE - STARY STATUS
.form-status {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #2c3e50;
}
*/
