/* ZMIENNE */
:root {
  --primary-color: #2E7D32;
  --primary-light: #60ad5e;
  --primary-dark: #005005;
  --secondary-color: #00796B;
  --secondary-light: #48a999;
  --secondary-dark: #004c40;
  --accent-color: #FFC107;
  --text-dark: #263238;
  --text-light: #ECEFF1;
  --background-light: #FFFFFF;
  --background-alt: #F5F7FA;
  --border-color: #E0E0E0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --success-color: #4CAF50;
  --error-color: #F44336;
  --warning-color: #FF9800;
  --info-color: #2196F3;
  
  --header-height: 80px;
  --footer-height: 350px;
  --container-width: 1200px;
  --border-radius: 8px;
  --transition-speed: 0.3s;
  --box-shadow: 0 4px 6px var(--shadow-color);
}

/* RESET I PODSTAWOWE STYLE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
}

/* TYPOGRAFIA */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  transition: color var(--transition-speed) ease;
}

h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
  color: var(--primary-color);
}

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

h5 {
  font-size: 1.8rem;
}

h6 {
  font-size: 1.6rem;
}

p {
  margin-bottom: 1.5rem;
}

/* KONTENERY */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* PRZYCISKI */
.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1.4rem;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.btn-secondary {
  background-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.btn-tertiary:hover {
  background-color: var(--background-alt);
  color: var(--text-dark);
}

/* NAWIGACJA */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-light);
  box-shadow: 0 2px 10px var(--shadow-color);
  z-index: 1000;
  transition: all var(--transition-speed) ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav ul li a {
  position: relative;
  padding: 0.8rem 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1.4rem;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
  font-weight: 700;
}

/* HERO SECTION */
.hero {
  height: 80vh;
  min-height: 600px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  margin-top: var(--header-height);
  text-align: center;
  color: var(--text-light);
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero p {
  font-size: 2rem;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

/* FEATURED POSTS */
.featured-posts {
  padding: 8rem 0;
  background-color: var(--background-light);
}

.featured-posts h2,
.related-posts h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
}

.post-grid-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.post-card {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.post-grid-full .post-card {
  display: flex;
  flex-direction: row;
}

.post-grid-full .post-image {
  flex: 0 0 35%;
}

.post-grid-full .post-content {
  flex: 1;
  padding: 2rem;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow-color);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 2rem;
}

.post-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #666;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
}

.read-more:hover {
  color: var(--primary-dark);
}

.view-all {
  text-align: center;
  margin-top: 4rem;
}

/* ECO BENEFITS */
.eco-benefits {
  padding: 8rem 0;
  background-color: var(--background-alt);
}

.eco-benefits h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
}

.benefit-card {
  background-color: var(--background-light);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform var(--transition-speed) ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(46, 125, 50, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.benefit-card h3 {
  margin-bottom: 1.5rem;
}

/* NEWSLETTER */
.newsletter {
  padding: 8rem 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.newsletter h2,
.newsletter p {
  color: var(--text-light);
}

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter p {
  margin-bottom: 3rem;
  font-size: 1.8rem;
}

.newsletter-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 1.2rem;
  border: none;
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
}

.newsletter-form button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* FOOTER */
footer {
  background-color: #1A1A1A;
  color: var(--text-light);
  padding: 6rem 0 3rem;
}

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

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-links h3 {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.footer-links ul li {
  margin-bottom: 1rem;
}

.footer-links ul li a {
  color: #CCC;
  transition: color var(--transition-speed) ease;
}

.footer-links ul li a:hover {
  color: var(--primary-light);
}

.footer-contact p {
  margin-bottom: 1rem;
}

.footer-contact strong {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  color: var(--text-light);
  transition: all var(--transition-speed) ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.copyright {
  font-size: 1.4rem;
  color: #999;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: var(--text-light);
  padding: 2rem;
  z-index: 1000;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-more {
  color: var(--accent-color);
  text-decoration: underline;
  font-size: 1.4rem;
}

/* PAGE BANNER */
.page-banner {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('images/2.jpg');
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  margin-top: var(--header-height);
}

.page-banner h1 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* BLOG PAGE */
.blog-posts {
  padding: 8rem 0;
}

/* SINGLE POST */
.post-single {
  padding: 8rem 0;
  margin-top: var(--header-height);
}

.post-header {
  text-align: center;
  margin-bottom: 4rem;
}

.post-subtitle {
  font-size: 2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

.post-featured-image {
  margin-bottom: 4rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-featured-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
}

.post-content h2 {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.post-content h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.post-content ul, 
.post-content ol {
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.post-content ul li, 
.post-content ol li {
  margin-bottom: 1rem;
  list-style-type: disc;
}

.post-content ol li {
  list-style-type: decimal;
}

.post-footer {
  max-width: 800px;
  margin: 4rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tag {
  padding: 0.5rem 1rem;
  background-color: #f0f0f0;
  border-radius: 20px;
  font-size: 1.2rem;
}

.post-share p {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.social-share {
  display: flex;
  gap: 1rem;
}

.social-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #f0f0f0;
  border-radius: 50%;
  color: var(--text-dark);
  transition: all var(--transition-speed) ease;
}

.social-share a:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.related-posts {
  padding: 6rem 0;
  background-color: var(--background-alt);
}

/* ABOUT PAGE */
.about-intro {
  padding: 8rem 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.value-card {
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  transition: transform var(--transition-speed) ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(46, 125, 50, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.team-section {
  padding: 8rem 0;
  background-color: var(--background-alt);
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  font-size: 1.8rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 4rem;
}

.team-member {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform var(--transition-speed) ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-member h3 {
  margin: 2rem 0 0.5rem;
}

.team-member p {
  padding: 0 2rem;
  margin-bottom: 1rem;
}

.team-member p:nth-of-type(1) {
  color: var(--primary-color);
  font-weight: 600;
}

.team-member .social-links {
  padding: 1rem 0 2rem;
  justify-content: center;
}

.achievements {
  padding: 8rem 0;
}

.achievements h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 3rem;
}

.achievement-card {
  text-align: center;
  padding: 3rem;
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  transition: transform var(--transition-speed) ease;
}

.achievement-card:hover {
  transform: translateY(-5px);
}

.achievement-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.testimonials {
  padding: 8rem 0;
  background-color: var(--background-alt);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonial {
  background-color: var(--background-light);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 5rem;
  position: absolute;
  top: -2rem;
  left: -1rem;
  color: rgba(46, 125, 50, 0.1);
}

.author-name {
  font-weight: 700;
}

.author-position {
  color: #666;
}

.partners {
  padding: 8rem 0;
}

.partners h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 4rem;
  align-items: center;
}

.partner img {
  max-width: 150px;
  height: auto;
  margin: 0 auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-speed) ease;
}

.partner:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.cta-section {
  padding: 8rem 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.cta-section h2,
.cta-section p {
  color: var(--text-light);
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 3rem;
  font-size: 1.8rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.cta-section .btn:hover {
  background-color: var(--background-light);
}

/* CONTACT PAGE */
.contact-section {
  padding: 8rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 6rem;
}

.contact-info h2 {
  margin-bottom: 2rem;
}

.contact-details {
  margin: 4rem 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.contact-item .icon {
  margin-right: 1.5rem;
  color: var(--primary-color);
}

.contact-item h3 {
  margin-bottom: 0.5rem;
}

.social-connect h3 {
  margin-bottom: 1.5rem;
}

.contact-form-container h2 {
  margin-bottom: 3rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: border-color var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.consent-group {
  display: flex;
  align-items: flex-start;
}

.consent-group input {
  width: auto;
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.map-section {
  padding: 8rem 0;
  background-color: var(--background-alt);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.faq-section {
  padding: 8rem 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  padding: 2rem;
  background-color: var(--background-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.8rem;
}

.faq-toggle {
  font-size: 2.4rem;
  font-weight: 700;
  transition: transform var(--transition-speed) ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
}

.faq-item.active .faq-answer {
  padding: 2rem;
  max-height: 500px;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.modal.active {
  display: block;
  opacity: 1;
}

.modal-content {
  background-color: var(--background-light);
  margin: 10% auto;
  padding: 0;
  width: 90%;
  max-width: 500px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(-50px);
  opacity: 0;
  transition: all var(--transition-speed) ease;
}

.modal.active .modal-content {
  transform: translateY(0);
  opacity: 1;
}

.close {
  position: absolute;
  right: 2rem;
  top: 2rem;
  font-size: 3rem;
  font-weight: 700;
  color: #999;
  cursor: pointer;
  transition: color var(--transition-speed) ease;
}

.close:hover {
  color: var(--text-dark);
}

.modal-body {
  padding: 4rem;
  text-align: center;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(46, 125, 50, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--success-color);
}

/* MEDIA QUERIES */
@media (max-width: 992px) {
  html {
    font-size: 58%;
  }
  
  .hero h1 {
    font-size: 4.2rem;
  }
  
  .post-grid-full .post-card {
    flex-direction: column;
  }
  
  .post-grid-full .post-image {
    flex: auto;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    height: auto;
    padding: 2rem;
  }
  
  .logo {
    margin-bottom: 2rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    margin-top: 120px;
    height: 70vh;
  }
  
  .hero h1 {
    font-size: 3.6rem;
  }
  
  .hero p {
    font-size: 1.8rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  h1 {
    font-size: 3.2rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
  
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .modal-content {
    width: 95%;
    margin: 15% auto;
  }
  
  .modal-body {
    padding: 3rem 2rem;
  }
}
