*{
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
}
html {
  scroll-behavior: smooth;
}
body{
    background-color: #eee;
}

/* --- PERSONALIZACJA SCROLLBARA --- */
        /* Dla Chrome, Safari i nowszych Edge */
        ::-webkit-scrollbar {
            width: 12px;
        }
        ::-webkit-scrollbar-track {
            background: #1d2739; /* Ciemnoniebieski tło paska */
        }
        ::-webkit-scrollbar-thumb {
            background: #ff0000; /* Czerwony suwak */
            border-radius: 6px;
            border: 3px solid #1d2739; /* Odstęp od krawędzi */
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #cc0000; /* Ciemniejszy czerwony przy najechaniu */
        }
        /* Dla Firefox */
        * {
            scrollbar-width: thin;
            scrollbar-color: #ff0000 #1d2739;
        }

        /* --- BAZA I RESET --- */
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: 'Inter', sans-serif; line-height: 1.6; color: #1d2739; overflow-x: hidden; }
        html { scroll-behavior: smooth; }
        section { scroll-margin-top: 100px; }
/* --- HEADER --- */
.site-header {
  background-color: #ffffff; /* Czysta biel dla kontrastu */
  padding: 15px 0;
  box-shadow: 0 2px 15px rgba(29, 39, 57, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: 'Inter', sans-serif;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1d2739;
  letter-spacing: -1px;
  
}
.logo img {
  height: 80px; 
}

.logo span {
  color: #4353ff; /* Akcent niebieski */
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #5a6270;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #1d2739;
}

.btn-contact {
  background-color: #1d2739;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-contact:hover {
  background-color: #4353ff;
  transform: translateY(-2px);
}

/* --- POPRAWKA KART (Rozwiązanie problemu wyjeżdżania przycisków) --- */
.card-offer {
  box-sizing: border-box; /* Kluczowe: padding nie powiększa elementu */
  background-color: #f7f8fa;
  padding: 40px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.03);
}

.card-button {
  box-sizing: border-box; /* Kluczowe: przycisk nie wyjeżdża */
  width: 100%;
  background-color: #1d2739;
  color: #ffffff;
  text-decoration: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  display: block;
  transition: all 0.3s ease;
}

/* Responsywność dla Headera */
@media (max-width: 768px) {
  .main-nav {
    display: none; /* Na mobile warto dodać menu burger */
  }
}
/* --- Styl przycisku Hamburgera --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #1d2739;
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* --- Responsywność (max-width: 768px) --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Animacja hamburgera w "X" */
  .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%; /* Ukryte poza ekranem */
    width: 70%;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -10px 0 20px rgba(0,0,0,0.1);
    transition: 0.4s right ease;
    padding: 100px 40px;
    z-index: 1000;
  }

  .main-nav.is-active {
    right: 0; /* Wysunięcie menu */
  }

  .nav-list {
    flex-direction: column;
    gap: 30px;
  }

  .header-action {
    display: none; /* Ukrywamy oryginalny przycisk w headerze */
  }

  .mobile-only {
    display: block;
    margin-top: 20px;
  }
}

@media (min-width: 769px) {
  .mobile-only { display: none; }
}
@media (max-width: 768px) {
  .menu-toggle {
    display: flex !important; /* Wymuszamy widoczność hamburgera */
    z-index: 1100;
  }

  .main-nav {
    display: flex; /* Zmienione z none, sterujemy pozycją */
    position: fixed;
    top: 0;
    right: -100%; 
    width: 80%;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    transition: 0.4s ease-in-out;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }

  /* Klasa dodawana przez JS */
  .main-nav.is-active {
    right: 0 !important;
  }
}

.main-footer {
  background-color: #1d2739; /* Twój kolor specjalny */
  color: #f7f8fa; /* Marmurowa biel tekstu */
  padding: 60px 20px 20px 20px;
  font-family: 'Inter', sans-serif;
}
.footer-logo img{
    height: 100px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

/* Dekoracyjna linia pod tytułem */
.footer-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: #4353ff; /* Niebieski akcent */
  margin-top: 8px;
  border-radius: 2px;
}

.footer-info, .work-hours {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #c9ced6; /* Delikatnie przygaszony tekst */
}

.footer-info a {
  color: #f7f8fa;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-info a:hover {
  color: #4353ff;
}

.location-item {
  margin-bottom: 20px;
}

.location-label {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #4353ff;
  margin-bottom: 4px;
}

.map-link {
  display: inline-block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s;
}

.map-link:hover {
  opacity: 0.8;
}

.work-hours {
  list-style: none;
  padding: 0;
}

.work-hours li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
  color: #5a6270;
}

/* Responsywność */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-title::after {
    margin: 8px auto 0 auto;
  }
  
  .work-hours li {
    flex-direction: column;
    gap: 4px;
  }
}
