:root {
  --green: #147d30;
  --dark: #000;
  --gray: #666;
  --font: 'Montserrat', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 1rem;
}

/* Topbar */
.topbar {
  background: var(--green);
  color: white;
  font-size: 0.9rem;
  text-align: center;
}
.topbar-inner {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid #ffcc00; 
  outline-offset: 2px;
}
/* Navigation */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-area img {
  height: 80px;
}
.logo-text h1 {
  font-size: 1.8rem;
  margin: 0;
  color: var(--green);
}
.logo-text p {
  font-size: 0.9rem;
}
.topbar-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.topbar-link:focus-visible {
  outline: 3px solid #ffcc00;
  outline-offset: 2px;
}

.hero-banner {
  background-image: url('assets/banner.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
justify-content: flex-start;
}
.icon-svg {
  width: 2rem;
  height: 2rem;
  color: white;
  margin-bottom: 0.5rem;
  filter: brightness(0) invert(1);
}
.icon-topbar {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  vertical-align: middle;
  filter: brightness(0) invert(1); 
}

.hero-overlay {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  border-radius: 12px;
  text-align: left;
}

.hero-overlay h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--green);
}

.hero-overlay p {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--green);
}

/* Responsywność */
@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 1.8rem;
  }
  .hero-overlay p {
    font-size: 1rem;
  }
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;   
  align-items: center;
  gap: 2rem;                  
}
.nav-links li a {
  text-decoration: none;
  font-weight: bold;
  color: var(--dark);
}
.nav-links li a.active {
  color: var(--green);
}


.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: bold;
}
.nav-links a.active {
  color: var(--green);
}

/* Grid Info Section */
.info-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0;
  text-align: center;
  flex-wrap: wrap;
}
.info-grid article {
  flex: 1 1 30%;
  min-width: 240px;
}

/* About */
.about {
  text-align: center;
  margin: 2rem 0;
}
.about h2 {
  font-weight: 400;
}
.about h3 {
  font-weight: bold;
}

/* Map */
.map-section {
  text-align: center;
  margin-top: 2rem;
}
.map-section h2, .map-section h3 {
  margin-bottom: 0.5rem;
}
.about p {
  text-align: justify;
}
a, button {
  min-height: 44px; 
  display: inline-flex;
  align-items: center;
}

.about {
  padding: 2rem 1rem;
}
.info-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.card {
  width: 250px;                 
  background-color: var(--green);
  color: #fff;
  border-radius: 12px;
  padding: 2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;       
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin: 0.5rem 0;
  font-size: 1.3rem;
}

.card p {
  margin: 0.5rem 0;
}

.card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.card a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: bold;
}


.card-1 { background-color: var(--green); }
.card-2 { background-color: var(--green); }
.card-3 { background-color: var(--green); }

/* MOBILE */
@media (max-width: 768px) {
  .info-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 400px;
  }
}
.map-section {
  text-align: center;
  margin-top: 3rem;
}

.map-wrapper {
  max-width: 800px; 
  margin: 0 auto;    
  border-radius: 8px;
  overflow: hidden;
}

.about-flex {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
}

.about-logo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: contain;
}

.about-text {
  flex: 1;
  min-width: 250px;
}

.about-text p {
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  background: #f2f2f2;
  color: #444;
}

/* Responsiveness */
@media (max-width: 768px) {
  .logo-area {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .nav-links {
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;       
    align-items: center;           
    text-align: center;
  }

  .nav-links {
    justify-content: center;       
    flex-direction: column;        
    gap: 1rem;
    margin-top: 1rem;
  }
}
@media (max-width: 600px) {
  .about-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text p {
    text-align: justify;
  }
}
@media (min-width: 769px) {
  .hero-overlay {
    max-width: 500px;         
    max-height: 280px;        
    padding: 2rem;
    margin-left: 3rem;
    margin-top: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;        
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}


