/*
0. Podstawowe
1. Banner
2. Witaj
3. Atrkacje
4. Galeria
5. Rezerwacje
*/



/* 0. Podstawowe */

.full-page-div {
    width: 100%;
}

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

.single-div {
    margin: 10px auto; 
}

.single-div .featured-image {
    display: flex;
    justify-content: center; 
    align-items: center;
    margin-bottom: 20px;
}    

.single-div .featured-image .wp-post-image {
    margin: 0 auto;
    border-radius: 8px;
    text-align: center;
}

.t-iko {
    padding: 10px;
}

.start-div {
    padding: 20px 50px;
}

section[id] {
    position: relative;
}

section[id]::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background-color: #DBDBDB;
    pointer-events: none;
    display: none;
}

section#witaj::before,
section#atrakcje::before,
section#rezerwacje::before {
    display: block;
}

.przerwa {
    text-align: center;
    margin: 20px 0;
}


@media (max-width: 768px) {
    section#witaj::before,
    section#atrakcje::before,
    section#rezerwacje::before {
        display: none;
    }

    .start-div {
        padding: 15px;
    }

    .t-iko {
        padding: 8px;
        width: 35px;
    }
}  


/* 1. slider */

.mgk-slider,
.mgk-slider * {
  box-sizing: border-box;
}

.mgk-slide {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex !important;
  align-items: center;
}

.mgk-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  will-change: transform;
  z-index: 0;
}

.mgk-slide-bg--empty {
  background: #111;
}

.mgk-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.25) 55%,
    rgba(0,0,0,0.10) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.mgk-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 70px 6vw;
  display: flex;
  justify-content: flex-start;
}

.mgk-slide-box {
  max-width: 680px;
  color: #fff;
}

.mgk-slide-title {
  margin: 0 0 12px 0;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.mgk-slide-description {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.95;
}

.mgk-slide-description p:last-child {
  margin-bottom: 0;
}

/* Ken Burns na aktywnym slajdzie */
.mgk-slide.slick-active .mgk-slide-bg {
  animation: mgkKenBurns 8.8s ease-out forwards;
}

@keyframes mgkKenBurns {
  from { transform: scale(1) translate3d(0,0,0); }
  to   { transform: scale(1.08) translate3d(-2%, -2%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .mgk-slide.slick-active .mgk-slide-bg {
    animation: none !important;
    transform: none !important;
  }
}

/* Strzałki */
.slick-prev-main,
.slick-next-main {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.47);
  color: #fff;
  padding: 10px 11px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  z-index: 5;
  cursor: pointer;
  border: 0;
  line-height: 1;
}

.slick-prev-main { left: 40px; }
.slick-next-main { right: 40px; }

.slick-prev-main:hover,
.slick-next-main:hover {
  background: rgba(19, 62, 141, 0.15);
}

/* Mobile */
@media (max-width: 768px) {
  .mgk-slide { min-height: 420px; }
  .mgk-slide-inner { padding: 50px 20px; }
  .mgk-slide-box { max-width: 100%; }
  .slick-prev-main { left: 16px; }
  .slick-next-main { right: 16px; }
}





/* 2. Witaj */

section#witaj {
    margin: 50px auto 20px auto;
    position: relative;
}

section#witaj h2 {
    font-size: 52px;
}

/* mobile */
@media (max-width: 768px) {
    section#witaj {
        margin: 10px auto 10px auto;
    }
    section#witaj h2 {
        font-size: 40px;
        text-align: center;
        margin-top: 30px;
    }
    section#witaj p {
        text-align: center;
    }
}






/* 3. Atrakcje */

section#atrakcje {
    margin: 20px auto 50px auto;
    position: relative;
}

section#atrakcje h2 {
    font-size: 52px;
}

/* mobile */
@media (max-width: 768px) {
    section#atrakcje h2 {
        font-size: 40px;
        text-align: center;
        margin-top: 30px;
    }
     .atr-title {
        order: 1;
    }
    .atr-text {
        order: 2;
    }
    section#atrakcje p {
        text-align: center;
    }
}



/* 4. Galeria */

section#galeria {
    margin: 0 auto 20px auto;
    position: relative;
}

section#galeria h2 {
    font-size: 52px;
    text-align: center;
    margin-bottom: 40px;
}

.szlaczek {
    height: 41px;
    background: url('../img/pasek.png');
}




/* 5. Rezerwacje */

section#rezerwacje {
    margin: 20px auto 20px auto;
    position: relative;
}

section#rezerwacje h2 {
    font-size: 52px;

}

@media (max-width: 768px) {
    section#rezerwacje h2 {
        font-size: 40px;
        text-align: center;
        margin-top: 30px;
    }
    section#rezerwacje p {
        text-align: center;
    }
}








