/* Reset + ciemny/jasny tryb */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
  }

  body, a, span, p, h1, h2, h3, h4, h5, h6, li, ul {
    font-family: 'Poppins', sans-serif;
  }
   
  :root {
    color-scheme: light dark;
  }

  html {
    scroll-behavior: smooth;
  }  
  
  body {
    background-image: url('tlo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* parallax dla całej strony */
    background-repeat: no-repeat;
      
  }
  
  @media (max-width: 768px) {
    body {
      background-image: none !important;
      background-color: #fdf6ee; /* kremowy */
    }
  
    .hero {
      background-image: none !important;
      background-color: #fdf6ee;
    }
  }

  @media (max-width: 768px) {
    h1, h2, h3 {
      font-size: 1.8rem !important;
    }
  
    p, li, .example, .ruff {
      font-size: 1rem !important;
    }
  
    .hero-overlay h1 {
      font-size: 2.2rem !important;
    }
  }
  
  #oferta ul{
    text-align: justify;
  }

   /* 🔹 Topbar */

  .top-contact-bar {
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    padding: 8px 20px;
    background-color: #2590ee;
    color: #ffffff;
    font-size: 1.2rem;
  }
  .about .container {
    font-size: 1.4rem;
  }

  .contact-container i {
    margin-right: 0.5rem;
  }  
  
  @media (max-width: 768px) {
    .top-contact-bar {
      flex-direction: column;
      align-items: flex-start;
      padding: 10px 15px;
      font-size: 0.7rem;
      text-align: left;
    }
  
    .top-contact-bar span,
    .top-contact-bar a {
      margin-bottom: 6px;
      display: block;
      width: 100%;
      font-family: 'Poppins', sans-serif;
      font-weight: 400;
    }
  }
  .contact-container {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .contact-left{
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
  }

 .contact-right {
    display: flex;
    gap: 55px;
    flex-wrap: wrap;
    margin-left: auto;
  }

  .contact-left span, .contact-left a {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
  }
  
  .contact-right a {
    font-size: 1.2rem;
  }
  
  a{
    text-decoration: none;
    color: white;
    font-family: 'Poppins', sans-serif;
  }

.contact-left span,
.contact-left a {
  display: inline-flex;
  align-items: center;
}

    .contact-left span,
    .contact-left a {
      display: flex;
      width: auto; /* lub max-content */
      margin-bottom: 6px;
    }


    @media (max-width: 768px) {
      .top-contact-bar {
        padding: 10px 15px;
        font-size: 0.85rem;
      }
    
      .contact-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
      }
    
      .contact-right {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        gap: 3px;
      }
    
      .contact-left {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
      }
    
      .contact-right span {
        font-size: 0.75rem;
        white-space: nowrap;
      }
    
      .contact-left a {
        font-size: 1.1rem;
      }    
    
      .contact-left a,
      .contact-right span,
      .contact-right a {
        display: flex;
        width: auto;
      }
      .contact-left {
        padding-left: 10px;
      }
       
        .contact-right span,
        .contact-right a {
          font-size: 0.75rem;
        }
      
    }
    
  /* 🔹 Navbar */
  .navbar {
    background-image: linear-gradient(#2590ee, #2f67e0, #085ed6);
    font-size: larger;
    color: white;
    padding: 0.8rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 999;
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.2rem;
    font-weight: bold;
    border: 0px;
    margin-left: 70px;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
  }
  
  nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
  }
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
  }
  
  @media (max-width: 768px) {
    .logo {
      margin-left: 0;
      margin-right: auto;
    }
  
    nav ul {
      width: 100%;
    }
  
    .nav-container nav {
      width: 100%;
    }
  }
  

  /* Ukryj menu na telefonach */
@media (max-width: 768px) {
    nav ul {
      display: none;
      flex-direction: column;
      background-color: #085ed6;
      position: absolute;
      top: 100%;
      right: 0;
      width: 100%;
      padding: 1rem;
    }
  
    nav ul.show {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
      font-size: 1.5rem;
      background: none;
      border: none;
      color: white;
      cursor: pointer;
    }
  }
  
  /* Domyślnie chowaj przycisk burgera na desktopie */
  .menu-toggle {
    display: none;
  }
 
  /* 🔹 Hamburger */
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: white;
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    nav ul {
      display: none;
      flex-direction: column;
      margin-top: 1rem;
      background-color: #0077cc;
      padding: 1rem;
      border-radius: 0.4rem;
    }
  
    nav ul.show {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
    }
  }
  
  /* 🔹 Hero z efektem parallax */
  .hero {
    background-image: url('images/tlo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }

  .hero-overlay {
    background-color: transparent;
    color: #000;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 1200px;
    width: 100%;
  }
  
  .hero-overlay h1 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
    color: #003366;
  }
  
  .why-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    justify-content: center;
  }
  
  .why-box {
    flex: 1 1 300px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .why-box:hover {
    transform: translateY(-5px);
  }
  
  .why-box h3 {
    margin-top: 1rem;
    font-size: 2.6rem;
    color: #000;
    color: #003366;
  }
  
  .why-box p {
    margin-top: 0.8rem;
    font-size: 1.6rem;
  }
  
  .icon {
    font-size: 2.5rem;
  }

/*  Sekcja z pojedynczym zdjęciem */
.photo-section {
    text-align: center;
    padding: 3rem 1rem;
  }
  
  .centered-photo {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .background-video {
    width: 50%;
    align-items: center;
    object-fit: cover;
    top: 0;
    left: 0;
    padding-bottom: 0;
    z-index: -1;
  }
  
  @media (max-width: 768px) {
    .background-video  {
      align-items: flex-start;
      text-align: center;
      width: 90%;
    }
  }

/* Sekcje ogólne */
section {
    padding: 4rem 1.5rem;
    color: #000;
  }
  
p{
  font-size: 1.4rem;
}

.ruff {
  font-size: 1.3rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

  .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    font-size: 1.6rem;
  }
  
  .about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .about-text {
    flex: 1 1 40%;
  }
  
  .about-img {
    flex: 1 1 40%;
    max-width: 40%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
  }
  
  .about-img img {
    border-radius: 8px;
    display: block;
  }

  .about-text,
  .about-img {
  flex: 1 1 50%;
  min-width: 300px;
}

.btn-scroll {
  display: inline-block;
  background-image: linear-gradient(135deg, #ff6a00, #ee0979);
  background-color:  #ee0979;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn-scroll:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ee0979, #ff6a00);
}

.button-location{
  margin-left: auto;
  width: 80%;
  margin-top: 0;
}

  h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #003366;
  }

  @media (max-width: 768px) {
    .oferta-container {
      flex-direction: column;
      text-align: center;
    }
  }
  
  @media (max-width: 768px) {
    .container {
      width: 90%;
      padding: 0 1rem;
      text-align: center;
      align-items: center;
    }
  }


  @media (max-width: 768px) {
    .about-img img {
      width: 100%;
      margin-left: 50%;
      text-align: center;
      align-items: center;
    }
  }

  /* 🔸 Oferta */

/* 🔹 Sekcja "W naszej ofercie" */

.offer-section {
  padding: 100px 10% 100px 10%;
  display: flex;
  justify-content: center;
  background-color: white;
  scroll-margin-top: 80px;
}

.offer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.offer-text {
  flex: 1 1 500px;
  color: #1a1a1a;
  font-size: 1.2rem;
  line-height: 1.6;
}


.offer-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.offer-text ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.offer-text li {
  margin-bottom: 1rem;
  line-height: 1.6;
  word-wrap: break-word;
  text-align: left;
  hyphens: auto;
  max-width: 100%;
}

.offer-image {
  flex: 1 1 400px;
  text-align: center;
}

.offer-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* 🔸 Przycisk pod tekstem */
.btn-scroll {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 2.2rem;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 50px; /* bardziej owalny */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-scroll:hover {
  background-color: #0056b3;
  transform: scale(1.03);
}


.btn-scroll:hover {
  background-color: #0056b3;
}

/* 🔻 RWD: Mobilne urządzenia */
@media (max-width: 768px) {
  .offer-section {
    padding: 70px 5%;
  }

  .offer-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-text {
    font-size: 1rem;
  }

  .offer-text h2 {
    font-size: 1.8rem;
  }

  .btn-scroll {
    width: 100%;
    text-align: center;
  }
}


.offer-section {
  padding: 4rem 2rem;
  background-color: transparent;
}
  
.offer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
  
.offer-text {
  flex: 1;
  min-width: 300px;
  list-style-position: inside; 
  text-align: center !important; 
}
  
.offer-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}
  
.offer-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.example {
  font-size: 1.3rem;
}

h3{
  text-align: center;
  font-size: 2rem;
}

/* 📱 Mobile: kolumnowo */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about-text,
  .about-img {
    flex: 1 1 100%;
  }

  .about-img {
    margin-top: 2rem;
  }
}

  /* 🔸 Galeria */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }
  
  /* 🔸 Stopka */
  .footer {
    background-image: linear-gradient(#2590ee, #2f67e0, #085ed6);
    text-align: wrap;
    color: white;
    font-size: 1.8rem !important;
    padding: 2rem 1rem 1rem;
    margin-top: 4rem;
  }
  
  .footer a {
    color: #99ccff;
    font-size: 1.2rem;
    text-decoration: none;
  }
  .footer a:hover {
    text-decoration: underline;
  }
  
  .footer-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    font-size: 1.8rem;
    gap: 2rem;
  }
  
  .footer-col {
    flex: 1 1 30%;
    min-width: 30%;
    text-align: center;
  }
  
  .footer-col h3,
  .footer-col h4 {
    margin-top: 0;
  }
  
  .footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
  }
  
  @media (max-width: 768px) {
    .footer-grid {
      flex-direction: column;
      align-items: flex-start;
      font-size: 1.6rem;
    }
  
    .footer-col {
      flex: 1 1 100%;
      width: 100%;
      font-size: 1.6rem;
    }
  }
  
  /*------------------------------------------------------------------------------------------------------------------------------------------------------------*/

 /* ONAS.html */
 .about{
  text-align: justify;
 }

 .containeer{
  width: 100%;
  margin-top: 5%;
 }

/* OFERTA.html */
.oferta-ul {
  width: fit-content; /* szerokość dostosowana do zawartości */
  margin: 0 auto;     /* wyśrodkowanie bloku */
  text-align: center; /* tekst w środku */
  padding-left: 0;    /* usuń domyślne wcięcie list */
}
.oferta-ul ul {
  list-style-position: inside; /* wypunktowanie bliżej tekstu */
  padding-left: 0;
  margin: 0;
}

.justowanietime{
  text-align: justify !important;
  font-size: 2rem;
}

.offer-text p{
  text-align: center;
}

 /* GALERIA.html */
 #galeria {
  padding: 50px 20px;
  background-color: transparent;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.gallery a:hover img {
  transform: scale(1.05);
}

 /* KONTAKT.html */
 #kontakt {
  padding: 60px 20px;
  background-color: transparent;
  text-align: center;
}

.contact-section-container {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 40px 0;
}

.contact-box {
  flex: 1 1 200px;
  margin: 10px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-box h3 {
  margin-bottom: 10px;
  color: #333;
}

.contact-box p a {
  text-decoration: none;
  color: #007bff;
}

.map-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: none;
  border-radius: 10px;
}

