/*
Theme Name: Kadence Child
Template: kadence
*/

/* Dodaj swoje style poniżej */



/* NOWA STRONA CSS */


.h1-seo {
    font-weight: var(--e-global-typography-accent-font-weight);
    text-shadow: 
        -7px -5px 23px rgba(0, 0, 0, 0.95),
        -10px -8px 30px rgba(0, 0, 0, 0.7),
        -3px -2px 10px rgba(0, 0, 0, 1);
    color: var(--e-global-color-accent);
}

/*menu na hp na nowa strone*/
.hp-menu li.menu-item .kb-nav-link-content {
    position: relative;
    display: inline-block;
}

.hp-menu li.menu-item .kb-nav-link-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #7b6859;
    transition: width 0.4s ease;
}

.hp-menu li.menu-item .kb-nav-link-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 1px;
    background-color: #7b6859;
    transition: width 0.4s ease;
}

.hp-menu li.menu-item:hover .kb-nav-link-content::before,
.hp-menu li.menu-item:hover .kb-nav-link-content::after {
    width: 55% !important;
}


/* Wersja dla komputera */
#mouse-desktop span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 50px;
  margin-left: -15px;
  border: 0.25px solid #2B2336;
  border-radius: 50px;
  box-sizing: border-box;
  backdrop-filter: blur(30px);
  animation: moveUpDown 2s ease-in-out infinite;
  display: block;
  transition: border-color 0.3s ease;
}
#mouse-desktop span::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: #2B2336;
  border-radius: 50%;
  animation: moveDot 2s ease-in-out infinite;
  transition: background-color 0.3s ease;
}
#mouse-desktop span:hover {
  border-color: #7b6859;
  box-shadow: 0 0 0 3px rgba(123, 104, 89, 0.2);
  animation: moveUpDown 2s ease-in-out infinite, pulse 2.5s ease-in-out infinite;
}

#mouse-desktop span:hover::before {
  background-color: #7b6859;
  animation: moveDot 2s ease-in-out infinite, glow 2.5s ease-in-out infinite;
}

/* Wersja dla telefonu (z oryginalnym ujemnym margin-top) */
#mouse-mobile span {
  position: absolute;
  top: -27px; /* Pozostaje oryginalny ujemny margin */
  left: 50%;
  width: 30px;
  height: 50px;
  margin-left: -15px;
  border: 1px solid #fff;
  border-radius: 50px;
  box-sizing: border-box;
  backdrop-filter: blur(30px);
  animation: moveUpDown 2s ease-in-out infinite;
  display: block;
}

#mouse-mobile span::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: #fff;
  border-radius: 50%;
  animation: moveDot 2s ease-in-out infinite;
}

/* Animacje (bez zmian) */
@keyframes moveUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@keyframes moveDot {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* Media queries do kontrolowania widoczności */
@media (max-width: 1024px) {
  #mouse-desktop {
    display: none;
  }
  #mouse-mobile {
    display: block;
  }
}

@media (min-width: 1025px) {
  #mouse-mobile {
    display: none;
  }
  #mouse-desktop {
    display: block;
  }
}

@media (min-width: 500px) and (max-width: 767px) {
  .kadence-column4075_1f42e0-b4 > .kt-inside-inner-col {
    padding-bottom: 100px !important;
  }
}

#mouse-desktop,
#mouse-desktop span,
#mouse-mobile,
#mouse-mobile span,
.mouse {
  cursor: pointer;
}



/* Animowana myszka - scroll indicator */
.mouse-container {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 1px solid #7B6859;
    border-radius: 15px;
    position: relative;
    display: flex;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.mouse:hover {
    opacity: 0.7;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: #7B6859;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    animation: scroll-wheel 2s ease-out infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}


/*Poprawa Hero na mobile horyzontalnie
@media (max-width: 1024px) and (orientation: landscape) {
  .animated-row,
  .hero-row {
    transform: none !important;
    padding-top: 100px; 
  }
}
*/
/* Iphone w Menu oraz Porfoliio z animacja */
/* === BAZOWE STYLE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 50px auto;
    background: url('https://fabrykaabstrakcji.pl/wp-content/uploads/2025/06/Iphone-Pro-Template-Mocup.png') no-repeat center/contain;
    cursor: grab;
    user-select: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    z-index: 1;
}
.phone-mockup:active {
    cursor: grabbing;
}
.phone-mockup .screen {
    position: absolute;
    top: 63.5px;
    left: 32px;
    width: 206px;
    height: 492px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    background: #000;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 25px;
    transform: perspective(800px) rotateY(-27deg) rotateX(0.5deg);
    z-index: 2;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.phone-mockup .screen::-webkit-scrollbar {
    display: none;
}
.phone-mockup .screen img {
    width: 100%;
    display: block;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    image-rendering: auto;
    -webkit-user-drag: none;
    user-select: none;
}
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Button fake*/
.fake-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: transparent;
  color: #000;
  border: 1px solid #7B6859;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 11px;
  cursor: default;
  transition: all 0.3s ease;
  width: fit-content;
}
.fake-button:hover {
  background: transparent;
  box-shadow: none;
}

/* Strona Bloga */
.blog .entry.content-bg.loop-entry {
    transition: transform 0.5s ease, filter 0.3s ease;
}

.blog .entry.content-bg.loop-entry img {
    border-radius: 0 0 12px 12px;
}

.blog .entry.content-bg.loop-entry:hover {
    transform: scale(0.99);
    filter: drop-shadow(0 0 0.55rem #7b6859);

}



/* NOWA STRONA CSS */
