:root {
      --primary-color: #002C60;
      --secondary-color: #FF8C00;
      --bg-color: #ffffff;
      --text-color: #333333;
      --light-color: #ffffff;
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
	  max-width: 100vw;
    }
	html, body {
      max-width: 100%;
      overflow-x: hidden;
    }
    body {
      font-family: 'Open Sans', sans-serif;
      color: var(--text-color);
      background: var(--bg-color);
      line-height: 1.6;
    }
	h1, h2, h3, h4, h5 {
      font-family: 'Poppins', sans-serif;
      font-weight: 700;
    }
    /* Navbar */
.navbar {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-center {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.nav-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding: 8px 12px;
  font-size: 0.95em;
  transition: all 0.3s ease;
  border-radius: 5px;
  display: inline-block;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0%;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 100%;
  left: 50%;
}

.nav-links a.active {
  color: var(--secondary-color);
  font-weight: 700;
}
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.hero-logo {
  max-height: 60px;
}
    .lang-switch button {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9em;
  text-transform: uppercase;
}

.lang-switch button:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
  transform: scale(1.05);
}

.lang-switch button.active {
  background-color: var(--secondary-color);
  color: var(--light-color);
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.2);
}
    .hamburger span {
      display: block;
      width: 25px;
      height: 3px;
      margin: 5px;
      background: var(--light-color);
      transition: transform 0.3s;
    }
    .hamburger.open span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
    .hamburger.open span:nth-child(2) {
      opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }
    /* Hero section */
	body.noscroll {
      overflow: hidden !important;
    }
    #hero {
      background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('modern_1.jpg') center center no-repeat;
      background-size: cover;
      @media (max-width: 767px) {
      #hero {
        background-attachment: scroll;
      }
    }
      color: var(--light-color);
      text-align: center;
	  height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    #hero .hero-content {
      padding: 100px 20px 150px 20px; /* space for nav and some top/bottom padding */
    }
	.hero-content p {
      font-size: 1.3em;
	  font-weight: 400;
      margin-bottom: 25px;
      text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    }
	.hero-logo {
      max-width: 250px;
    }
    .hero-content h1 {
      font-size: 3em;
      margin-bottom: 15px;
      text-shadow: 0 2px 5px rgba(0,0,0,0.7);
    }
    .hero-content .cta {
      display: inline-block;
      background: var(--secondary-color);
      color: var(--light-color);
      text-decoration: none;
      padding: 15px 30px;
      font-weight: bold;
      border-radius: 5px;
      transition: background 0.3s;
    }
    .hero-content .cta:hover {
      background: #e67600; /* slightly darker orange */
    }
    /* Sections */
    section {
      padding: 60px 20px;
    }
    section h2 {
      font-size: 2em;
      margin-bottom: 20px;
      text-align: center;
      color: var(--primary-color);
    }
    /* About section */
    #about p {
      max-width: 800px;
      margin: 0 auto;
      font-size: 1.1em;
	  text-align: center;
    }
.about-wrapper {
  max-width: 1000px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 20px;
}

.about-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.about-icon {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color); /* żółte tło */
  color: #fff; /* biała ikona */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.about-block:hover .about-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background-color: var(--secondary-color);
  color: white;
}

.about-text h3 {
  margin: 0 0 8px;
  font-size: 1.3em;
  color: var(--primary-color);
}

.about-text p {
  margin: 0;
  color: #555;
  font-size: 1em;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .about-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-icon {
    margin-bottom: 15px;
  }
}
    /* Services section */
	#services{
		background: #E5E5E5;
	}
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
    }
    .service-item {
      background: #f9f9f9;
      padding: 20px;
      text-align: center;
      border-radius: 5px;
      transition: transform 0.3s;
    }
    .service-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .service-item:hover i {
      transform: scale(1.2) rotate(5deg);
      transition: transform 0.3s ease;
    }
    .service-item i {
      font-size: 40px;
      color: var(--secondary-color);
      margin-bottom: 15px;
	  transition: transform 0.3s ease;
    }
    .service-item h3 {
      font-size: 1.3em;
      margin-bottom: 10px;
      color: var(--primary-color);
    }
    .service-item p {
      font-size: 0.95em;
    }
	
    /* Gallery section */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.gallery-pair {
  display: flex;
  gap: 10px;
  cursor: pointer;
}
.gallery-pair img {
  width: 230px;
  border-radius: 5px;
}
#lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
}
.lightbox-content {
  display: flex;
  gap: 20px;
}
.lightbox-content img {
  max-width: 45vw;
  max-height: 80vh;
  border: 3px solid #fff;
  border-radius: 8px;
}
#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
}
#lightbox-prev { left: 30px; }
#lightbox-next { right: 30px; }

    /* Contact section */
	#contact-section {
  background-color: #f2f2f2;
  padding: 60px 20px;
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch; /* domyślne, ale dodajmy dla pewności */
}

.contact-header {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #002C60;
  border-left: 4px solid var(--secondary-color);
  padding-left: 12px;
}

.contact-box {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  flex: 1;
}

.contact-box form {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.contact-box button.btn {
  padding: 12px;
  background-color: #002C60;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.contact-box button.btn:hover {
  background-color: #004080;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: #002C60;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}
.icon-circle i {
  transition: transform 0.3s ease;
}
.icon-circle {
  transition: transform 0.3s ease;
}

.info-item:hover .icon-circle {
  transform: scale(1.15);
}
.info-item:hover .icon-circle i {
  transform: scale(1.2) rotate(5deg);
}

.info-item:hover {
  transform: translateY(-3px);
}

.icon-circle {
  width: 40px;
  height: 40px;
  background-color: #002C60; /* ciemnoniebieskie tło */
  color: #fff;               /* biała ikona */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  flex-shrink: 0;
}


.contact-info p {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.contact-info i {
  color: var(--secondary-color);
}
.contact-lead {
    text-align: center;
    font-size: 1.15em;
    margin: 10px auto 30px auto;
    color: var(--text-color);
    max-width: 700px;
    }

@media (min-width: 768px) {
  .contact-wrapper {
    flex-direction: row;
	align-items: flex-start;
  }
}
    .form-group {
      margin-bottom: 15px;
      display: flex;
      flex-direction: column;
    }
    .form-group label {
      margin-bottom: 5px;
      font-weight: bold;
    }
    .form-group input,
    .form-group textarea {
      padding: 10px;
      font-size: 1em;
      border: 1px solid #ccc;
      border-radius: 3px;
    }
    .form-group textarea {
      resize: vertical;
      min-height: 100px;
    }
    .btn {
      background: var(--primary-color);
      color: var(--light-color);
      border: none;
      padding: 10px 20px;
      font-size: 1em;
      font-weight: bold;
      border-radius: 3px;
      cursor: pointer;
      margin-top: 5px;
      transition: background 0.3s;
    }
    .btn:hover {
      background: #001b40; /* darker primary */
    }
    .form-message {
      margin-top: 10px;
      font-weight: bold;
    }
    .form-message.success {
      color: green;
    }
    .form-message.error {
      color: red;
    }
    /* Footer */
    .footer {
  background-color: #002C60;
  color: #ffffff;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
  margin-left: 20px;
}

.hamburger span {
  background-color: var(--primary-color);
  height: 3px;
  width: 100%;
  margin: 3px 0;
  transition: 0.3s ease;
}

.footer-copy {
  opacity: 0.8;
}
    /* Responsive adjustments */
    @media (min-width: 768px) {
      .nav-links {
        display: flex;
      }
      .hamburger {
        display: none;
      }
      #hero .hero-content {
        padding: 150px 20px;
      }
      #contact-form {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
      }
      .form-group {
        flex: 1 1 48%;
      }
      .form-group.full-width {
        flex: 1 1 100%;
      }
      /* Ensure message textarea spans full width in grid */
      #message {
        min-height: 150px;
      }
    }
@media (max-width: 767px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 44, 96, 0.95);
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    padding: 1rem 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .nav-links a {
    color: white;
    font-size: 1.1em;
  }

  .nav-links a:hover {
    color: var(--secondary-color);
  }

  .hamburger {
    display: flex;
  }
}
	
	@media (min-width: 768px) {
  .nav-center {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
  }

  .hamburger {
    display: none !important;
  }
}
#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 1000;
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  padding: 10px 14px;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  text-align: center;
}

#scrollToTopBtn i {
  pointer-events: none;
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollToTopBtn:hover {
  background-color: var(--secondary-color);
  color: var(--light-color);
  transform: scale(1.05);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.3);
  outline: none;
  transition: all 0.3s ease;
}
/* --- GALERIA RESPONSYWNA --- */
@media (max-width: 768px) {
  .gallery-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .gallery-pair {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .gallery-pair img {
    width: 90%;
    max-width: 400px;
  }
}
/* --- LIGHTBOX: widok mobilny (ulepszony) --- */
@media (max-width: 768px) {
  .lightbox-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
  }

  .lightbox-content img {
    width: auto;
    max-width: 90vw;
    max-height: 45vh; /* dwa zdjęcia mieszczą się w ekranie */
    object-fit: contain;
  }

  /* Strzałki – wyśrodkowane pionowo po bokach */
  #lightbox-prev,
  #lightbox-next {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    user-select: none;
    z-index: 10000;
  }

  #lightbox-prev {
    left: 20px;
  }

  #lightbox-next {
    right: 20px;
  }

  /* X w prawym górnym rogu */
  #lightbox-close {
    top: 10px;
    right: 20px;
    font-size: 2.5rem;
  }
}
