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

body {
  font-family: Helvetica;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  margin: 0 auto;
}

/* Main Content */
main {
  padding: 0.5rem;
}

main h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #0097E0;
}

main p {
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
  text-align: center;
}

/* Header */
.header {
  background: #F5F5F5;
  color: #000000;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo img {
  height: 50px;
}

 .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-weight: bold;
}

 .nav-links li a {
  color: #000000;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

 .nav-links li a:hover,
 .nav-links li a.active {
  color: #0097E0;
  font-weight: bold;
}

/* Hamburger menu */
.hamburger-menu {
  display: block;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  position: absolute;
  right: 20px;
  top: 15px;
}

.hamburger-menu span {
  display: block;
  width: 30px;
  height: 4px;
  margin: 5px;
  background: #0097E0;
  transition: 0.3s;
}

/* Responsive adjustments for the menu */
.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 0;
  width: 100%;
  background: white;
  text-align: center;
  padding: 15px 0;
  border-top: 2px solid #0097E0;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 99;
}

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

.nav-links li {
  padding: 10px 0;
}

.nav-links a {
  font-size: 1.2rem;
  display: block;
  padding: 10px;
}

/* Footer */
.main-footer {
  background: #0097E0;
  color: #fff;
  padding: 2rem 1.5rem;
  font-size: 1rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Footer Links */
.footer-links {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  text-align: left;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #515151;
  font-weight: bold;
}

.footer-column {
  min-width: 200px;
}
.footer-column h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #515151;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #f5f5f5;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #515151;
}

/* Contact Info */
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #0097E0;
}

.footer-contact p {
  margin: 5px 0;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #515151;
  font-weight: bold;
}

/* Bottom Footer */
.bottom-footer {
  width: 100%;
  height: 50px;
  background: #515151;
  color: #F5F5F5;
  text-align: center;
  font-size: 0.85rem;
  padding: 1rem 0;
  margin: 0;
  position: relative;
  left: 0;
}


/* Slider Section */
.slider {
  margin: 0.3rem auto;
  max-width: 100%;
}

.swiper {
  width: 100%;
  height: 800px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #0097E0;
}

.swiper-pagination-bullet {
  background: #0097E0;
}

.swiper-pagination-bullet-active {
  background: #ffd700;
}



/* Contact Page */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  gap: 30px;
}

.contact {
  padding: 2rem 1.5rem;
  text-align: center;
  background: #f9f9f9;
}

.contact h1 {
  color: #0097E0;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.contact p {
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 1rem;
}

.contact-details p {
  margin: 0.5rem 0;
  color: #333;
  font-size: 1rem;
}

.contact-details a {
  color: #0097E0;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Map */
.map-container {
  height: 560px;
  min-width: 0;
  flex: 1;
  margin: 1.5rem auto;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form-section {
  flex: 1;
  min-width: 0;
  max-width: 500px;
  margin: 3rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.contact-form-section:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-form-section h2 {
  color: #0097E0;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.3s ease;
  background: #f8f8f8;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0097E0;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 151, 224, 0.2);
  outline: none;
}

.form-group textarea {
  height: 150px;
  resize: block !important;
  overflow-y: auto;
}

.btn-submit {
  background: #0097E0;
  color: #fff;
  font-size: 1rem;
  padding: 0.9rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: bold;
}

.btn-submit:hover {
  background: #007AB8;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 151, 224, 0.2);
}

.success-message {
  color: green;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: bold;
}


/* Gallery Section */
.gallery {
  padding: 3rem 1.5rem;
  text-align: center;
  background-color: #fff;
}

.gallery h2 {
  font-size: 2rem;
  color: #0097E0;
  margin-bottom: 1rem;
}

.gallery-description {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  justify-items: center;
}

.gallery-grid a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-grid a:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Features Section */
.features-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.feature-box {
  text-decoration: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 30%;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.feature-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  margin-bottom: 15px;
}

.feature-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.feature-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feature-text h3 {
  color: #007BFF;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.feature-text p {
  color: #333;
  font-size: 1rem;
}

/* Subpages */
.text-image-section {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 40px;
}

.text-content {
  font-size: 1.2rem;
  color: #333;
}

.image-content img {
  width: 100%;
  border-radius: 10px;
}

.klimatyzacja-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

.klimatyzacja-page-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0097E0;
}

.text-image-section, .video-text-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.text-box {
  flex: 1;
  max-width: 600px;
}

.text-box img {
  width: 100%;
  margin-top: 15px;
  border-radius: 8px;
}

.image-box, .video-box {
  flex: 1;
  max-width: 500px;
}

.image-box img, .video-box iframe {
  width: 100%;
}

.text-list-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-list-container {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.text-list-container h2 {
  color: #0097E0;
  font-size: 24px;
  margin-bottom: 15px;
}

.text-list-container ul {
  list-style-type: none;
  padding: 0;
}

.text-list-container ul li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

.text-list-container ul li::before {
  content: "•";
  color: #0097E0;
  font-size: 24px;
  position: absolute;
  left: 0;
  top: 2px;
}

/* Text & Image Mainpage */
.info-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.info-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-text {
  flex: 1;
}

.info-text h2 {
  font-size: 2rem;
  color: #0097E0;
  margin-bottom: 10px;
}

.info-text p {
  font-size: 1.1rem;
  color: #333;
}

.info-image {
  flex: 1;
  text-align: center;
}

.info-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-section img:hover {

  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}


/* Solution Section */
.solutions-section {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
}

.solutions-section h3 {
  font-size: 14px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.solutions-section h2 {
  font-size: 34px;
  font-weight: bold;
  color: #0097E0;
  margin-bottom: 25px;
}

.solutions-section p {
  font-size: 18px;
  color: #333;
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.solution-tag {
  background: #ffffff;
  color: #000000;
  padding: 10px 18px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-tag::before {
  content: "●";
  color: rgb(0, 0, 0);
  font-size: 12px;
}

.solution-tag:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.simple-text-box {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.simple-text-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.simple-text-content h2 {
  font-size: 2rem;
  color: #0097e0;
  margin-bottom: 1rem;
}

.simple-text-content p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

.text-image-right-box {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-image-right-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.text-image-right-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.text-side {
  flex: 1;
}

.text-side h2 {
  font-size: 2rem;
  color: #0097e0;
  margin-bottom: 1rem;
}

.text-side p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

.image-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-side img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-side img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.text-list-box {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-list-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.text-list-content h2 {
  font-size: 2rem;
  color: #0097E0;
  margin-bottom: 1rem;
  text-align: center;
}

.text-list-content p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 2rem;
}

.styled-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.styled-list li {
  position: relative;
  padding: 15px 20px 15px 50px;
  margin-bottom: 15px;
  background: #f5f5f5;
  border-radius: 10px;
  font-size: 1.05rem;
  color: #333;
  transition: background 0.3s ease, transform 0.2s ease;
  border-left: 4px solid #0097E0;
}

.styled-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #0097E0;
  border-radius: 50%;
}

.styled-list li:hover {
  background: #e9f6fc;
  transform: translateX(5px);
}

/* Responsive Adjustments */

@media (max-width: 900px) {
  .text-image-right-content {
    flex-direction: column;
    text-align: center;
  }

  .image-side img {
    max-width: 100%;
  }
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: #0097E0;
  margin: 40px auto 10px;
  line-height: 1.3;
  width: 100%;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0097E0;
  margin: 0.5rem auto 0 auto;
  border-radius: 2px;
}

.subsection-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 400;
  color: #444;
  margin-bottom: 30px;
  width: 100%;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {

    .fade-in-section {
    transform: translateY(20px);
  }

  .section-title {
    font-size: 1.6rem;
  }

  .subsection-title {
    font-size: 1rem;
  }

  .text-list-content h2 {
    font-size: 1.6rem;
  }

  .text-list-content p {
    font-size: 1rem;
  }

  .styled-list li {
    font-size: 1rem;
    padding: 12px 15px 12px 45px;
  }

  .styled-list li::before {
    left: 15px;
    width: 10px;
    height: 10px;
  }

  .features-section {
    grid-template-columns: 1fr;
  }

  .feature img {
    max-width: 150px;
  }

  .text-image-section {
      grid-template-columns: 1fr;
      text-align: center;
  }

  .image-content img {
      max-width: 200px;
      margin: 0 auto;
  }

  .contact-form {
    width: 90%;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  footer {
    flex-direction: column;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 15px;
  }

  .footer-contact {
    text-align: center;
    margin-top: 1rem;
  }

  .footer-links {
    text-align: center;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .swiper {
    height: 200px;
  }

  main h2 {
    font-size: 1.5rem;
  }

  main p {
    font-size: 0.9rem;
  }

  .columns {
    flex-direction: column;
    gap: 1rem;
  }

  .column {
    flex: 1 1 100%;
  }

  .text-image-section, .video-text-section {
    flex-direction: column;
    text-align: center;
  }

  .text-box, .image-box, .video-box {
    max-width: 100%;
  }

  .text-box img {
    max-width: 80%;
    margin: 0 auto;
  }

  .info-container {
    flex-direction: column;
    text-align: center;
  }

  .solutions-section {
    padding: 40px 15px;
  }

  .solutions-section h2 {
    font-size: 28px;
  }

  .solutions-section p {
    font-size: 16px;
    max-width: 100%;
    padding: 0 10px;
  }

  .solution-tags {
    max-width: 100%;
  }

  .solution-tag {
    font-size: 14px;
    padding: 8px 15px;
  }

  .text-list-section {
    padding: 15px;
  }

  .text-list-container {
    padding: 15px;
  }

  .text-list-container h2 {
    font-size: 22px;
  }

  .text-list-container ul li {
    font-size: 16px;
  }

    .simple-text-box {
    padding: 30px 15px;
  }

  .simple-text-content h2 {
    font-size: 1.6rem;
  }

  .simple-text-content p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .contact-form-section {
    width: 90%;
    padding: 1.5rem;
  }
}
  
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 768px) {
  .nav-links {
      display: flex; /* Zmieniamy na wersję desktop */
      flex-direction: row;
      position: static;
      width: auto;
      padding: 0;
      background: none;
      box-shadow: none;
      border-top: none;
  }

  .hamburger-menu {
      display: none; /* Ukrywamy ikonę hamburgera na dużych ekranach */
  }
}