/*
Theme Name: Moj Motyw Dziecko
Template: kadence
*/

/* Globalne style */
body, body *, 
h1, h2, h3, h4, h5, h6, 
p, a, span, div, input, button {
    font-family: "all-round-gothic", sans-serif !important; 
}


.hero-title,
.hero-words,
.hero-subtitle {
  text-align: left;
  color: white;
}

.hero-title {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.1;
}

.hero-words {
  font-size: 5rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 50px;
  line-height: 1.1;
}

.hero-subtitle {
  margin-top: 1px;
  font-size: 3rem;
  font-weight: 200;
}


/* Telefony: 0–768px */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
    transform: translateY(30px);
  }

  .hero-words {
    font-size: 3rem;
    transform: translateY(30px);
  }

  .hero-subtitle {
    font-size: 2rem;
    transform: translateY(-15px);
display: inline-block;
  }
}


/* Tablety: 769–1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title {
    font-size: 2.2rem;
    transform: translateY(20px);
  }

  .hero-words {
    font-size: 2.2rem;
    transform: translateY(20px);
  }

  .hero-subtitle {
    font-size: 1.3rem;
    transform: translateY(-20px);
  }
}



/*-------------------------------------------------
stylowanie strzalki ruchomej
--------------------------------------------------*/


.strzalka {
  width: 600px;
  height: 600px;
  position: absolute;
  margin-left: 15%;
  z-index: 10;
  margin-top: -120% ;
}

@media (max-width: 768px) {
  .strzalka {
    width: 300px ;
    height: 300px ;
    margin-top: -65% ;
    margin-left: -45% ;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .strzalka {
    width: 300px ;
    height: 300px ;
    margin-top: -160% ;
    margin-left: -30% ;
  }
}



/*-------------------------------------------------
--------------------------------------------------*/






/* Kółko--------------------------------- */
.white-circle {
  position: absolute;
  right: -200px;
  bottom: -150px;
  width: 650px;
  height: 650px;
  background: white;
  border-radius: 50%;
  z-index: -1;
  box-shadow: 30px 20px 60px rgba(0, 0, 0, 0.3);
}



@media (max-width: 1024px) {
  .white-circle {
    width: 250px;
    height: 250px;
    right: -180px;
    bottom: -150px;
  }
}

@media (max-width: 768px) {
  .white-circle {
    width: 350px;
    height: 350px;
    right: -80px;
    bottom: -30px;
  }
}






/*-------------------------------------------------
obrazek
--------------------------------------------------*/




.obrazek-z-czlowiekiem {
  position: relative;
bottom: 50px !important;
  z-index: 10; 
}


@media (min-width: 769px) and (max-width: 1024px) {
 .obrazek-z-czlowiekiem {
    width: 400px;
    right: -40px;
   transform: translateY(-8%);
  }
}


.parallax-circle {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.parallax-image {
  transition: transform 0.1s ease-out;
  will-change: transform;
}


/*-------------------------------------------------
--------------------------------------------------*/
/* Kolor aktywnego linku w menu */

body .main-navigation ul li.current-menu-item > a,
body .main-navigation ul li.current_page_item > a {
    color: rgb(244, 129, 32) !important;
    opacity: 1 !important;
}

/* Dla hover */
body .main-navigation ul li a:hover {
    color: rgb(244, 129, 32) !important;
}




/*-------------------------------------------------
blok z ofertami + animacja
--------------------------------------------------*/



.oferta-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.oferta-box:hover {
  background-color: #f48120;
  background-blend-mode: multiply;
}

/* Overlay z tytułem i strzałką */
.oferta-overlay {
  position: absolute;
  z-index: 2;
  padding: 20px;
  color: black;
  text-align: left;
  width: 100%;
  transition: color 0.3s ease;
}

.oferta-box:hover .oferta-overlay {
  color: white;
}

.oferta-title {
  font-size: 45px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #58595B; 
}

.oferta-strzalka {
  width: 40px;
  transition: filter 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}





.oferta-box:hover .oferta-title {
  color: white;
}


/* Domyślny kolor strzałki */
.oferta-strzalka .strzalka-path {
  fill: #f48120;
  transition: fill 0.3s ease;
  
}

/* Po najechaniu na cały box */
.oferta-box:hover .strzalka-path {
  fill: white;
}



/* Treść oferty – widoczna po kliknięciu */
.oferta-more {
  background-color: #f48120;
  color: white;
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  padding: 25px;
  font-size: 18px;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.oferta-box.open .oferta-more {
  display: block;
}

/* Animacja */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tła dla każdego boxa */
.bg-projekty {
  background-image: url('/wp-content/uploads/2025/05/oferta_01.png');
}
.bg-imprezy {
  background-image: url('/wp-content/uploads/2025/05/oferta_02.png');
}
.bg-rajdy {
  background-image: url('/wp-content/uploads/2025/05/oferta_03.png');
}

/* Responsywność */
@media (max-width: 768px) {
  .oferta-title {
    font-size: 24px;
  }
  .oferta-more {
    font-size: 20px;
  }
}





