/* top Img */
.topImg {
  margin-bottom: 0rem;
      padding-top: 0;
      min-height: 100vh;
      background-position: center;
      background-repeat: no-repeat;
      position: relative;
      background-size: cover;
      -webkit-box-shadow: 0px 0px 14px 1px rgba(0, 0, 0, 0.4);
      -moz-box-shadow: 0px 0px 14px 1px rgba(0, 0, 0, 0.4);
      box-shadow: 0px 0px 14px 1px rgba(0, 0, 0, 0.4);

}

.topInfoBox {
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

      .topImg:before {
          content: '';
          position: absolute;
          left: 0;
          top: 0;
          width: 100%;
          height: 100%;
          background: #ffffff;
          background: linear-gradient(180deg, rgb(255 255 255 / 75%) 0%, rgba(255, 255, 255, 0) 36%);
          z-index: 10;
      }
.topImg:after {
    width: 100%;
    height: 100%;
    content: '';
    background: #000;
    z-index: 9;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.topInfo {
  position: absolute;
      left: 0;
      top: 50%;
      z-index: 99;
      transform: translateY(-50%);
      color: #fff;
      text-align: left;
      width: 50%;
      max-width: 520px;
}

.topInfo h1{
  color: #f0a763;
}

.topInfo p {
    margin: 30px 0;
    color: #3b3b3b;
    opacity: 1;
    font-size: 21px;
  }
/* Header */

header {
  display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      padding: 13px 2rem;
      position: fixed;
      width: 100%;
      z-index: 999;
      height: 90px;

}
.header-inner{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 13px 2rem;
  position: fixed;
  width: 100%;
  z-index: 999;
}
.logo {
    height: 80px;
    transition-duration: 0.3s;
    z-index: 99999;
}
.logo img {
    width: auto;
    height: 100%;
    z-index: 99999;
}
nav {
  display: flex;
      align-items: center;
      flex-direction: row;
      width: 100%;
      justify-content: space-between;
      margin-right: 3rem;
}
.menu {
    list-style: none;
    display: flex;
    flex-direction: row;
    margin: 0;
    align-items: center;
    margin-left: 3rem;
}
.menu .menu-item {
  margin: 0 6px;
  line-height: 1;
height: 23px;
}

.menu .menu-item a {
    text-decoration: none;
    color: #f0a763;
    font-size: 23px;
    transition-duration: 0.3s;
}
.menu .menu-item a:hover {
    color: #CF3C3C;
}


.phone-button{
  text-decoration: none;
  color: #f0a763;
  font-size: 23px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  transition-duration: 0.3s;
}
.phone-button span{
  font-size: 30px;
    background: #f0a763;
    width: 40px;
    height: 40px;
    color: #fff;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    transition-duration: 0.3s;
}
.phone-button:hover{
  color: #CF3C3C;
}
.phone-button:hover span{
  background: #CF3C3C;
}
header.headerscroll {
    background: #fff;
    transition: 0.3s;
    -webkit-box-shadow: 0px 0px 14px 1px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 14px 1px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 14px 1px rgba(0, 0, 0, 0.4);
        height: 70px;
}
.headerscroll .logo{
      height: 50px;
}



/* Desktop menu widoczne tylko na desktop */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-nav {
    display: none; /* ukryte domyślnie */
}

/* hamburger ukryty na desktop */
.menu-toggle {
    display: none;
}

/* ===== MOBILE ===== */
@media (max-width:850px){
header{
  justify-content: space-between;
  top: 0;
  background: #fff;
        height: 70px;
        z-index: 999;
        -webkit-box-shadow: 0px 0px 14px 1px rgba(0, 0, 0, 0.4);
        -moz-box-shadow: 0px 0px 14px 1px rgba(0, 0, 0, 0.4);
        box-shadow: 0px 0px 14px 1px rgba(0, 0, 0, 0.4);
      }
.logo{
      height: 50px;
}

    .desktop-nav {
        display: none; /* desktop menu znika na mobile */
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;

        width: 100%;
        height: 100%;
        background: #ffffffcc;
        padding: 80px 30px;
        transition: 0.4s;
        z-index: 1000;
        margin-right: 0;
        padding-top: 30vh;
        margin-top: 70px;
    }

    .mobile-nav.active {
        right: 0;
    }

    .mobile-nav ul {
        flex-direction: column;
        gap: 20px;
    }
    .menu{
      margin-left: 0;
    padding-left: 0;
    }

    .menu-toggle {
        display: block;
        width: 35px;
        height: 25px;
        position: relative;
        border: none;
        background: none;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle span {
        position: absolute;
        width: 100%;
        height: 3px;
        background: #000;
        left: 0;
        transition: 0.3s;
    }

    .menu-toggle span:nth-child(1){top:0;}
    .menu-toggle span:nth-child(2){top:10px;}
    .menu-toggle span:nth-child(3){top:20px;}

    .menu-toggle.active span:nth-child(1){
        transform: rotate(45deg);
        top:10px;
    }

    .menu-toggle.active span:nth-child(2){
        opacity:0;
    }

    .menu-toggle.active span:nth-child(3){
        transform: rotate(-45deg);
        top:10px;
    }

    .menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 999;
        margin-top: 70px;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;

    }



/* section TopImg */

.topInfo {
    width: 100%;
    text-align: center;
}

.topInfo p {
    font-size: 1.2rem;
}

.wp-block-heading {
    text-align: center;
}

.wp-block-media-text{
  gap: 3rem;
}

.wp-block-post{
  text-align: center;}
  .wp-block-list {
      text-align: left;
  }
  .button-offer {
      margin: 0 auto;
  }
  .wp-block-buttons{
        justify-content: center !important;
  }

}
