/* 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;
}

/* Technologie */
.technology-header {
  max-width: 900px;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
  text-align: center;
}

.technology-header > span {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--dark-gray);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.technology-header h1 {
  margin-bottom: 1rem;
  color: #2c3e50;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.technology-header p {
  max-width: 680px;
  margin: 0 auto;
  color: #666;
  font-size: 1.05rem;
}

.technology-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.technology-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  background: #fff;
  border: 1px solid #e8e8e6;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.technology-card--reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.technology-card--reverse .technology-image {
  order: 2;
}

.technology-card--reverse .technology-content {
  order: 1;
}

.technology-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    
}

.technology-image::after {
  content: "";
  position: absolute;
  inset: 14px;
  
  pointer-events: none;
}

.technology-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
}



.technology-content {
  min-width: 0;
}

.technology-number {
  display: block;
  margin-bottom: 0.8rem;
  color: #999;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.technology-content h2 {
  margin: 0 0 0.9rem;
  color: #2c3e50;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  font-weight: 400;
}

.technology-content h3 {
  margin: 0 0 1.3rem;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 500;
}

.technology-intro {
  margin-bottom: 1.2rem;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.8;
}

.technology-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.55s ease, opacity 0.35s ease;
}

.technology-details h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
}

.technology-details p {
  margin-bottom: 1rem;
  color: #555;
  font-size: 1rem;
  line-height: 1.75;
}

.technology-details strong,
.technology-details b {
  color: #333;
}

.technology-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid #999;
  background: transparent;
  color: #333;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.technology-toggle:hover {
  color: #777;
}

.technology-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border: 1px solid #999;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.technology-card.is-open .technology-details {
  max-height: 1400px;
  opacity: 1;
}

.technology-card.is-open .technology-arrow {
  transform: rotate(45deg);
}

/* Mniejszy ekran */
@media (max-width: 900px) {
  .technology-card,
  .technology-card--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .technology-card--reverse .technology-image,
  .technology-card--reverse .technology-content {
    order: initial;
  }

  .technology-image img {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .technology-header {
    margin: 1rem auto 2.5rem;
  }

  .technology-header h1 {
    font-size: 2.4rem;
  }

  .technology-header p {
    font-size: 0.95rem;
  }

  .technology-list {
    gap: 2.5rem;
  }

  .technology-card,
  .technology-card--reverse {
    padding: 1.25rem;
    gap: 1.5rem;
  }

  .technology-image img {
    height: 300px;
  }

  .technology-content h2 {
    font-size: 2rem;
  }

  .technology-content h3 {
    font-size: 0.98rem;
  }

  .technology-intro,
  .technology-details p {
    font-size: 0.95rem;
  }

  .technology-image::after {
    inset: 8px;
  }
}

/* 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%;
  }
}