*{
  box-sizing: border-box;
  scroll-behavior: smooth;
  
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #0f342f;;
  margin: 5px;
}
h1{
  font-size: 72px;
  font-weight: 600;

}
h2{
  font-size: 50px;
  font-weight: 600;

}
h3{
  font-size: 37px;
  font-weight: 500;
}
section {
  margin: 60px auto;
  max-width: 1400px;
  padding: 0 15px;
}
body, p, li, a {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  font-size: 25px;
  color: #0f342f;
}
a:hover {
  color: #0f342f;
}
img{
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 10px 15px rgba(0,0,0,0.25);
  transition: opacity 0.3s ease;
}
ul {
  list-style: none;
}

body{ 
  font-family: Arial, sans-serif;

 background-color: #Fffaf4;
 color: #0f342f;
  }
header {
    padding: 0px 0px 0px 0px;
    }

footer {
    padding: 0px 0px 0px 0px;
    }
.baner-bar {
 display: flex;
  justify-content: center;
  align-items: center;
}
.baner{
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 40%;
  height: auto;
  box-shadow: none;
}
.burger-toggle {
  display: none;
  cursor: pointer;
  gap:5px;

}

.burger {
  position: static;
  top: 0;
  z-index: 1001; /* Wyżej niż reszta treści */
  background-color: #Fffaf4; /* Musi mieć tło, żeby treść pod spodem nie prześwitywała */
  width: 100%;
}



.menu{
   width: 100%;
  max-width: 1000px;
  margin: 0 auto;
   position: sticky;
  top: 0;
  z-index: 1000;
  margin-top: 20px;
  box-sizing: border-box;
    background-color: #Fffaf4;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0px;
  }

.menu a {
    margin: 0px;
    text-decoration: none;
    color: #0f342f;
    font-weight: bold;
    cursor:pointer
  
}


.hero-content {
    text-align: center;
    width: 100%;
    
}
.hero-image {
 display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 60%;
  height: auto;
    
}
.about-top{
display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
}
.about-image {
  max-width: 400px;
}
.about-image img{


  border-radius: 8px;
}
.about-text{
  text-align: center;
}
.about-bottom{
  text-align: left;
  font-size: 1rem;
  color: #555;
}
.image-row {
  display: flex;         
  justify-content: center; 
  gap: 25px;               
  padding: 20px;
  width: 100%;
  max-width: 1200px;      
  margin: 0 auto;          
}
.image-item {
  flex: 1;                
  max-width: 400px;        
}
.image-item img {
  width: 100%;            
  height: auto;           
  display: block;
  border-radius: 8px;     
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.about-end{
display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
flex-direction: row-reverse;
}



.offer-text{
  text-align: center;
  padding: 5px 0px;
}
.flip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.flip-card {
  perspective: 1000px;
  aspect-ratio: 3 / 4;
  height: auto;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1.2s;
  transform-style: preserve-3d;
}
.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.how-i-work {
  text-align: center;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.step-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center; 
  gap: 60px;  
}
.step-item.reverse {
  direction: rtl;
}
.step-item.reverse > * {
  direction: ltr;
}
.step-image {
  max-width: 520px;
  min-width: 220px;
  margin: 0 auto;
}
.step-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.step-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.step-item.reverse .step-text {
  text-align: right;
}
.realizacje-h{
  text-align: center;
}
.realizacje {
  width: auto;
  text-align: right;
}
.realizacje a {
  text-decoration: none;
  color: #3d3d3d;
  cursor:pointer;
}
.button{
  display: inline-block;
  background-color: #Fffaf4;
  color: #2b2b2b;
  text-decoration: none;
  transition: background-color 0.3s ease;
  padding: 5px;
  border-radius: 15px;
  font-weight: 500;
  margin: 5px;
}

.button:hover {
   background-color: #Fffaf4;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
} 
.gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
}
.gallery img:hover{
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}


.contact {
  text-align: center;
}
.contact-list{
  text-align: left;
}
footer {
  background-color: #Fffaf4;
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}
footer p {
  margin: 10px;
}
.footer {
  text-decoration: none;
  background-color: #Fffaf4;
  color: #2b2b2b;
  justify-content: center;
  font-weight: bold;
  cursor:pointer;
  transition: background-color 0.3s ease;
  padding: 14px 32px;
  margin: 10px;
  border-radius: 15px;
  font-weight: 500;
}
.footer:hover {
   background-color: #Fffaf4;
   color:  #2b2b2b;
}
.instagram-link {
  color: #6F8F94;
  text-decoration: none;
  
}
.threads-link {
  color: #6F8F94;
  text-decoration: none;

}
.mail {
  color: #6F8F94;
  text-decoration: none;
 
}

@media (max-width: 600px) {
  body{ 
    font-family: Arial, sans-serif;
    margin: 0px 10px 0px 10px;
  }
   .flip-grid {
    grid-template-columns: 1fr;
  }
  .baner{
    max-width: 60%;
  }
  .menu { 
    gap: 10px;
    justify-content: center;
   }
  .menu a { 
    font-size: 12px; 
  }
  .about-image img{
    max-width: 100%; /* Wykorzystuje całą szerokość ekranu */
   }  
   .gallery {
      grid-template-columns:repeat(2, 1fr);
     }
     .slider {
    flex-direction: column;
    gap: 15px;
  }

  .side-image {
    display: none;
  }
  .main-image {
    width: 100%;
    height: 260px;
  }
  .lang-menu{
    width: 25px;
  }
  .selected-lang img {
  width: 25px;
  height: auto;
}

.lang-menu ul li img {
  width: 25px;
}
.about-top,
.about-end{
  flex-direction: column;
  gap: 25px;
  text-align: center;
}

.about-image{
  max-width: 90%;
  margin: 0 auto;
}
}






@media (min-width: 600px) and (max-width: 1199px) {
  body{ 
    font-family: Arial, sans-serif;
    margin: 0px 15px 0px 15px;
  }
  .flip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
   .baner{
    max-width: 70%;
   }
    .menu a { 
      font-size: 18px;
     }
     .instagram-link {
      font-size: 18px;
     }
     .threads-link {
      font-size: 18px;
     }

    } 
     
     .gallery {
      grid-template-columns:repeat(2, 1fr); 
    }

  

      .main-image {
    width:  500px;
    height: auto;
  }

  .side-image {
    display: none;
  }
  .lang-menu{
    width: 25px;
  }
  .selected-lang img {
  width: 25px;
  height: auto;
}

.lang-menu ul li img {
  width: 25px;
}



.lang-menu {
  width: 30px;
  position: relative;
}

.selected-lang {
  padding: 5px;
  cursor: pointer;
  background: #F4F8F6;
  display: flex;
  justify-content: center;
}

.selected-lang img {
  width: 30px;
  height: auto;
}

.lang-menu ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  border: 1px solid #ccc;
  background: #F4F8F6;
  position: absolute;
  width: 30px;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lang-menu ul li a {
  display: flex;
  justify-content: center;
  padding: 5px;
}

.lang-menu ul li a:hover {
  background: #F4F8F6;
}

.lang-menu ul li img {
  width: 30px;
}

.lang-menu:hover ul {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}




/* Контейнер */
.slider {
  position: relative;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

/*  Центральное фото */
 .main-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 15px 25px rgba(0,0,0,0.25);
  transition: opacity 0.3s ease;
}

.fade {
  opacity: 0;
}

/* Боковые фото */
.side-image {
  max-width: 220px;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.6;
  filter: grayscale(20%);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Кнопки */
.arrow {
  position: absolute;
  font-size: 42px;
  background: #F4F8F6;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
}
.arrow.left {
  left: 20px;
}

.arrow.right {
  right: 20px;
}
.arrow:hover {
  transform: scale(1.2);
  color: #b89b6a;
}
.tekst1{ 
  margin-top: 0px;

}









@media (max-width: 600px) {
  .menu {
    display: none; /* Domyślnie ukryte */
    flex-direction: column;
    width: 100%;
    background-color: #Fffaf4;
    position: fixed; /* Zmieniamy na fixed, żeby menu było zawsze pod ręką */
    top: 0;
    left: 0;
    height: 100vh; /* Zajmuje cały ekran po otwarciu */
    justify-content: center;
    z-index: 999;
  }
h1{
  font-size: 40px;
}
h2{
  font-size: 28px;

}
h3{
  font-size: 22px;
}
p{
  font-size: 18px;
}
  .menu.active {
    display: flex; /* Pokazuje menu po kliknięciu */
  }
  .burger{
    display: static;
    height: 0;
    padding: 0;
    margin: 0;
  }
  .burger-toggle {
    display: block;
    position: fixed; /* Ikonka zawsze na górze */
    top: 20px;
    right: 20px;
    z-index: 1000; /* Musi być nad menu */
    font-size: 30px;
    cursor: pointer;
  }

  .menu a {
    font-size: 22px;
    padding: 20px;
    border: none;
    text-align: center;
  }
  .mail {
      text-align: center;
    font-size: 18px;
  }
}




@media (max-width: 1000px) {
  .step-item {
    display: flex;      /* Wymusza układ kolumnowy */
    flex-direction: column; /* Obrazek nad tekstem */
    text-align: center;            /* Tekst na środku */
    gap: 20px;                     /* Mniejszy odstęp na mobile */
  }

  .step-image {
    width: 100% ;        /* Obrazek zajmuje szerokość kontenera */
    order: -1;                     /* Opcjonalnie: upewnia się, że obrazek jest pierwszy */
  }

  .step-text {
    width: 100% ;
    text-align: center; /* Tekst na środku */
    align-items: center;
  }
}
@media (max-width: 900px) {
  .about-image{
  max-width: 100%
     }
     .about-top,
.about-end{
  flex-direction: column;
  text-align: center;
}
}
