/* Reset i podstawy */
:root {
  --primary-color: #BEBEBE;
  --text-color: #333;
  --light-gray: #f5f5f4;
  --medium-gray: #e0e0e0;
  --dark-gray: #555;
  --white: #fff;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto Mono', monospace;
  background-color: var(--light-gray);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Nawigacja */
.sticky-nav {
  position: sticky;
  top: 0;
  background-color: var(--primary-color);
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  transition: var(--transition);
}

.sticky-nav ul {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.sticky-nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 0.5rem;
  transition: var(--transition);
}

.sticky-nav ul li a:hover {
  color: #E5E5E5;
  transform: translateY(-2px);
}
.obraz {
  margin: 3rem 0;
  text-align: center;
}

.obraz img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Sekcje zespołu */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 4rem;
  gap: 2rem;
}

.section-text {
  flex: 1 1 50%;
  min-width: 300px;
  padding: 1rem;
}

.section-text h2 {
  margin-bottom: 1.5rem;
  color: #2c3e50;
  font-size: 2rem;
  line-height: 1.3;
}

.section-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.section-image {
  flex: 1 1 40%;
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  
}

.section-image img {
  width: 80%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.section-image:hover img {
  transform: scale(1.03);
}

/* Alternatywne układy sekcji */
.right-image {
  flex-direction: row;
}

.left-image {
  flex-direction: row-reverse;
}

/* Mapa */
.mapka {
  text-align: center;
  margin: 3rem 0;
}

.mapa {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mapa iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Stopka */
footer {
  background-color: var(--light-gray);
  color: var(--text-color);
  padding: 3rem 0 0;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-column {
  margin-bottom: 2rem;
}

.footer-column h3 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--dark-gray);
}

.contact-info {
  list-style: none;
}

.contact-info li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  background-color: var(--medium-gray);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 5px;
  transition: var(--transition);
  font-weight: bold;
}

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.social-links a.facebook:hover {
  background-color: #3b5998;
  color: var(--white);
}

.social-links a.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
}

.copyright {
  border-top: 1px solid #ddd;
  padding: 1.5rem 0;
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* Media Queries */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .section-text h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .sticky-nav {
    flex-direction: column;
    padding: 1rem;
  }
  
  .sticky-nav ul {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .sticky-nav ul li a {
    font-size: 1rem;
  }
  
  .logo img {
    width: 70px;
    height: 70px;
  }
  
  .section {
    flex-direction: column;
    margin-bottom: 3rem;
  }
  
  .right-image, .left-image {
    flex-direction: column;
  }
  
  .section-text, .section-image {
    min-width: 100%;
  }
  
  .section-image img {
    max-width: 100%;
  }
  
  .mapa iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .sticky-nav ul li a {
    font-size: 0.9rem;
    padding: 0.3rem;
  }
  
  .logo img {
    width: 60px;
    height: 60px;
  }
  
  .section-text h2 {
    font-size: 1.6rem;
  }
  
  .section-text p {
    font-size: 1rem;
  }
  
  .mapa iframe {
    height: 300px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .social-links a {
    padding: 0.7rem 1rem;
    width: 100%;
  }
}