html {
    background-color: #c2e7b1;
    color: black;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
}

header {
    padding: 20px 40px;
    background-color: #ECFAE5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.logo {
    text-decoration: none;
}

.logo h2 {
    display: flex;
    gap: 8px;
    font-size: 2rem;
    margin: 0;
}

.eko {
    color: rgb(41, 39, 39);
    font-weight: 700;
}

.rewolucja {
    color: #70c649;
    font-weight: 700;
}

/* Styl nawigacji */
.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-btn {
    padding: 10px 20px;
    background-color: white;
    color: #333;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background-color: #70c649;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.left-side {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-btn2 {
    padding: 10px 20px;
    background-color: white;
    color: #333;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-btn2:hover {
    background-color: #70c649;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Nagłówek pełna szerokość */
header {
    background-color: #ECFAE5;
    padding: 20px 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* Kontener z zawartością - wyśrodkowany i z przerwą po bokach */
.main-content {
    max-width: 1200px;        /* maksymalna szerokość pudełka */
    margin: 30px auto;        /* wyśrodkowanie i odstęp od headera i boków */
    padding: 40px 30px;
    background-color: #ECFAE5; /* takie samo tło jak header */
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.article-image {
    max-width: 100%;       /* obrazek dopasowuje się do szerokości kontenera */
    height: auto;          /* zachowuje proporcje */
    border-radius: 12px;   /* zaokrąglone rogi */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* delikatny cień */
    display: block;        /* żeby łatwiej kontrolować margines */
    margin: 20px auto;     /* odstęp nad i pod, wyśrodkowanie */
  }

  footer {
    background-color: #B0DB9C;
    padding: 20px 40px;
    text-align: center;
    color: #292727;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

footer a {
    color: #29652b;
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    margin: 8px 0;
}

.motto {
    font-style: italic;
    margin-top: 10px;
}

.eco-reasons, .gallery, .help {
    margin-top: 40px;
    background-color: #f4fdea;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.gallery-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px;
    scroll-snap-type: x mandatory;
  }
  
  .gallery-grid img {
    flex: 0 0 auto;
    width: 250px;
    height: auto;
    border-radius: 12px;
    scroll-snap-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .gallery-grid img:hover {
    transform: scale(1.05);
  }

  .lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
  }
  
  .lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
  }
  
  .lightbox .close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 36px;
    cursor: pointer;
    font-weight: bold;
  }

  .slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .slider-track img {
    min-width: 100%;
    cursor: pointer;
  }
  
  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 2;
  }
  .slider-container {
    max-width: 500px;  /* zmniejszona szerokość z 800px */
    margin: 20px auto; /* trochę odstępu */
  }
  
  .slider-track img {
    max-height: 300px; /* ograniczenie wysokości obrazków */
    object-fit: cover; /* by ładnie wypełniały ramkę */
    border-radius: 8px;
  }
  
  .slider-btn {
    font-size: 1.5rem; /* mniejsze strzałki */
    padding: 6px;
  }
  
  .slider-btn.prev { left: 0; }
  .slider-btn.next { right: 0; }
  
  /* LIGHTBOX */
  .lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
  }
  
  .lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
  }
  
  .lightbox-controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
  }
  
  .lightbox-controls button {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
  }
  
  .lightbox .close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 36px;
    cursor: pointer;
  }
  

