/*
Theme Name:     DstDesign Theme
Theme URI:      https://dstdesign.pl
Description:    High Quality Wordpress Theme
Author:         Grzegorz Gensty - Dst Design
Author URI:     
Template:       Divi
Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

:root {
	--primary-color: #e43b3b;
	--beige: #E5DDD2;
	--background-light: #FCFBF9;
	--white: #fff;
}

/* ::selection styles */
::selection {
	background: var(--primary-color);
	color: var(--white);
}
.et_pb_sticky--top {
	box-shadow: 0 0 40px rgba(0,0,0,0.2);
}

.et_pb_row{
	width: 90% !important;
}
.custom-blog-img .custom-blog-icon {
  transform: translateX(100%);
transition: all .2s cubic-bezier(1,0,0,1);
}

.custom-blog-img:hover .custom-blog-icon {
  transform: translateX(0);
}
.custom-blog-item h3 {
transition: all .2s cubic-bezier(1,0,0,1);
}
.custom-blog-item:hover h3 {
	color: var(--primary-color) !important;
}

.et_pb_scroll_top.et-pb-icon {
	border-radius: 100px;
	right: 20px;
	bottom: 40px;
      background: #F0D8ED;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  background: #22222275;
  border: 1px solid #ffffff82;
}


.et_pb_scroll_top.et-pb-icon {
  color: --primary-color;
}


.navbar-menu.et_pb_menu .et-menu > li {
  padding-left: 1vw;
  padding-right: 1vw;
}


.navbar-menu.et_pb_menu .et-menu > li a::before {
  content: "";
  background: url("/wp-content/uploads/2025/12/nav-hover.png");
  background-repeat: no-repeat;
    width: 70px;
  background-size: contain;
  position: absolute;
  top: 0px;
  transform: translateY(-100%) scale(0);
  right: -20px;
  opacity: .08;
  transition: all .2s linear;
  height: 30px;
}

.navbar-menu.et_pb_menu .et-menu > li:hover a::before {
  transform: translateY(-100%) scale(1);
}




.custom-faq .et_pb_toggle_open {
  border-radius: 16px;
  border: 1px solid var(--beige) !important;
  background: var(--background-light);
  box-shadow: 0 2px 6px 0 rgba(137, 110, 137, 0.10);
}

.custom-faq .et_pb_toggle {
  border: 1px solid transparent;
  transition: all .2s linear;
}

.custom-faq .et_pb_toggle:hover {
  background: var(--background-light) !important;
}

.custom-faq .et_pb_toggle.et_pb_toggle_open .et_pb_toggle_title::before {
  font-family: "ETmodules" !important;
  content: '\4c' !important;
}




.sub-menu {
  border-radius: 10px;
  min-width: 400px;
  padding: 0 !important;
}

.sub-menu a {
  padding: 12px 30px !important;
  font-size: 16px !important;
  line-height: 1.2;
  font-weight: 500 !important;
  width: 100% !important;
  border-radius: 7px;
  display: block;
}

.sub-menu li {
  padding: 0 !important;
  width: 100% !important;
}


.sub-menu a:hover {
  color: var(--primary-color) !important;
}

.liquid-morph-svg {
	width: 100% !important;
	height: 100% !important;
}

.footer-menu .et-menu.nav {
	display: flex;
	flex-direction: column;
}



.footer-social-media .et_pb_social_media_follow_network a.icon {
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}




body #page-container .et_pb_section .et_pb_module.et_pb_button::after {
  font-size: 130% !important;
}

.custom-icon:hover .custom-icon-img::after {
	transform: scale(1.5);
}


.custom-oferta:hover .custom-offer-content::after {
  width: calc(100% - 20px);
}

.custom-oferta:hover .custom-offer-icon {
  transform: translateX(20px);
}

.custom-offer-icon {
  transition: all .2s cubic-bezier(1,0,0,1);
  transform: translateX(-20px);
}

.custom-blog-img a {
  display: block;
  position: relative;
  overflow: hidden;
}

.custom-blog-img a .et_pb_image_wrap {
  padding-top: 54%;
  display: block;
}

.custom-blog-img a .et_pb_image_wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.custom-post-header-img img {
  aspect-ratio: 16/7;
  object-fit: cover;
}

/* Custom CF7 Form Styles */
.cf7-wrap .cf7-input,
.cf7-wrap .cf7-textarea,
.cf7-wrap .cf7-file {
    appearance: none;
    background-color: rgba(34, 34, 34, 0.6);
    color: #fff;
    font-family: "Poppins";
    font-size: 14px;
    font-weight: 500;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 10px 15px;
    box-sizing: border-box;
    width: 100%;
    transition: all 0.3s ease;
}

.cf7-wrap .cf7-input:focus,
.cf7-wrap .cf7-textarea:focus,
.cf7-wrap .cf7-file:focus {
    outline: none;
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 0 0 3px rgba(186, 48, 48, 0.2);
}

.cf7-wrap .cf7-input::placeholder,
.cf7-wrap .cf7-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.cf7-wrap .cf7-textarea {
    border-radius: 25px;
    resize: vertical;
    min-height: 60px;
    max-height: 120px;
    height: 60px;
}

.cf7-wrap .cf7-file {
    cursor: pointer;
    padding: 12px 15px;
}

.cf7-wrap .cf7-submit {
    background-color: rgb(228, 59, 59);
    color: #fff;
    font-family: "Poppins";
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    border: none;
    padding: 12px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    width: auto;
}

.cf7-wrap .cf7-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(186, 48, 48, 0.4);
}

.cf7-wrap .wpcf7-form p {
    display: block;
    margin-bottom: 14px;
}

/* Stylowanie zgody RODO */
.cf7-wrap .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1;
}

.cf7-wrap .wpcf7-list-item-label {
    color: #fff;
    font-family: "Poppins";
    font-size: 13px;
    line-height: 1.4;
}

.cf7-wrap .wpcf7-list-item-label a {
    color: rgb(186, 48, 48);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.cf7-wrap .label-rzuty{
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    margin-top: -1rem !important;
    display: block;
}

.cf7-wrap .wpcf7-list-item-label a:hover {
    opacity: 0.8;
}

/* Response messages */
.cf7-wrap .wpcf7-response-output {
    border-radius: 10px;
    margin: 1rem 0 0;
    padding: 1rem;
    font-family: "Poppins";
    font-size: 14px;
    border: none;
}


.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450;
	background: #46b450;
	color: #fff;
	padding: 1rem;
	font-weight: bold;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900;
	background: #ffb900;
	color: #000;
	padding: 1rem;
	font-weight: 600;
	line-height: 1.2;
	font-size: 14px;
}


.cf7-wrap .wpcf7-not-valid-tip {
	color: #e43b3b;
	font-size: 12px;
	margin-top: 5px;
	display: block;
	font-family: "Poppins";
	line-height: 1;
	font-weight: bold;
}


/* dnd-upload-cf7.css | https://refit.dstdesign.website/wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/assets/css/dnd-upload-cf7.css?ver=1.3.9.3 */

.dnd-upload-status .dnd-upload-image {
  display: none;
}

.dnd-upload-status .dnd-upload-details .remove-file {
  /* top: 10px; */
  top: 20px;
  color: #e43b3b !important;
  background: #e43b3b !important;
  padding: 2px;
  border-radius: 30px;
}

.dnd-upload-status .dnd-upload-details .name span {
  line-height: 1;
  color: #fff;
}

.dnd-upload-status .dnd-upload-details .name em {
  /* color: #444242; */
  /* font-weight: 700; */
  color: #fff;
  font-weight: 300;
  line-height: 1;
  font-style: normal;
}

.dnd-upload-status {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.dnd-upload-status .dnd-upload-details .dnd-progress-bar span {
  padding: 4px;
}

.dnd-upload-status .dnd-upload-details .dnd-progress-bar {
  /* height: 14px; */
  height: 21px;
}

.dnd-upload-counter {
  display: none;
}


/* RWD */
@media (max-width: 1439px) {
	
	
	



}

@media (max-width: 980px) {

/* Animowany hamburger - tylko dla głównego menu nawigacji */
.navbar-menu .et_mobile_nav_menu .mobile_menu_bar {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border-bottom: 3px solid --primary-color;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

/* Górna kreska */
.navbar-menu .et_mobile_nav_menu .mobile_menu_bar::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    top: 10px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), top 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dolna kreska */
.navbar-menu .et_mobile_nav_menu .mobile_menu_bar::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 7px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Hamburger zmienia się w X przy otwarciu */
.navbar-menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar {
    background-color: transparent;
    border-color: transparent;
}

.navbar-menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
    top: 0;
    transform: translateY(12px) rotate(45deg);
}

.navbar-menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::after {
    transform: translateY(-10px) rotate(-45deg);
}

/* Menu mobilne - animacja rozwijania - tylko dla głównego menu */
.navbar-menu .et_mobile_nav_menu #mobile_menu1 {
    position: fixed;
    left: 0%;
    border-radius: -10px;
    width: 100%;
    display: none;
	overflow: scroll;
    padding-bottom: 100px;
    top: 90px;
    background: #222;
    height: calc(100vh - 51px);
  }

/* Menu otwarte - dodaj klasy bez transition delay */
.navbar-menu .et_mobile_nav_menu .mobile_nav.opened #mobile_menu1 {
    display: block;
    animation: menuSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Menu zamykane */
.navbar-menu .et_mobile_nav_menu .mobile_nav:not(.opened) #mobile_menu1 {
    animation: menuSlideOut 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes menuSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes menuSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}

/* Animacja pojedynczych elementów menu (fade-in z opóźnieniem) */
.navbar-menu .et_mobile_nav_menu .et_mobile_menu > li {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-menu .et_mobile_nav_menu .mobile_nav.opened .et_mobile_menu > li {
    opacity: 1;
    transform: translateX(0);
}

/* Kaskadowe opóźnienia dla głównych elementów menu */
.navbar-menu .et_mobile_nav_menu .mobile_nav.opened .et_mobile_menu > li:nth-child(1) { transition-delay: 0.1s; }
.navbar-menu .et_mobile_nav_menu .mobile_nav.opened .et_mobile_menu > li:nth-child(2) { transition-delay: 0.15s; }
.navbar-menu .et_mobile_nav_menu .mobile_nav.opened .et_mobile_menu > li:nth-child(3) { transition-delay: 0.2s; }
.navbar-menu .et_mobile_nav_menu .mobile_nav.opened .et_mobile_menu > li:nth-child(4) { transition-delay: 0.25s; }
.navbar-menu .et_mobile_nav_menu .mobile_nav.opened .et_mobile_menu > li:nth-child(5) { transition-delay: 0.3s; }
.navbar-menu .et_mobile_nav_menu .mobile_nav.opened .et_mobile_menu > li:nth-child(6) { transition-delay: 0.35s; }
.navbar-menu .et_mobile_nav_menu .mobile_nav.opened .et_mobile_menu > li:nth-child(7) { transition-delay: 0.4s; }

/* Ukryte sub-menu (dopóki JS nie doda klas) - tylko dla navbar-menu */
.navbar-menu .et_mobile_menu ul.sub-menu {
    display: none;
    padding-left: 15px;
}

/* Po kliknięciu — pokazujemy sub-menu */
.navbar-menu .et_mobile_menu ul.sub-menu.icon-switch {
    display: block;
    animation: slideDown 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

.sub-menu {
  border-radius: 10px;
  min-width: auto;
  padding: 0 !important;
}

/* Podstawowy wygląd pierwszego poziomu */
.navbar-menu .et_mobile_menu li.menu-item-has-children > a {
    position: relative;
    padding-right: 40px;
}

/* Ikona po prawej (plus) */
.navbar-menu .et_mobile_menu li.menu-item-has-children > a:after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    line-height: 1;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Po kliknięciu zmienia się na minus */
.navbar-menu .et_mobile_menu li.menu-item-has-children > a.icon-switch:after {
    content: "-";
    transform: translateY(-50%) rotate(180deg);
}

/* Animacja pojawiania się elementów w sub-menu */
.navbar-menu .et_mobile_menu ul.sub-menu li > a {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), 
                transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Po kliknięciu nadajesz reveal-items — JS robi robotę */
.navbar-menu .et_mobile_menu .reveal-items a {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Opóźnienia dla kolejnych elementów (efekt kaskadowy) */
.navbar-menu .et_mobile_menu ul.sub-menu.icon-switch li:nth-child(1) > a {
    transition-delay: 0.05s;
}
.navbar-menu .et_mobile_menu ul.sub-menu.icon-switch li:nth-child(2) > a {
    transition-delay: 0.1s;
}
.navbar-menu .et_mobile_menu ul.sub-menu.icon-switch li:nth-child(3) > a {
    transition-delay: 0.15s;
}
.navbar-menu .et_mobile_menu ul.sub-menu.icon-switch li:nth-child(4) > a {
    transition-delay: 0.2s;
}
.navbar-menu .et_mobile_menu ul.sub-menu.icon-switch li:nth-child(5) > a {
    transition-delay: 0.25s;
}
.navbar-menu .et_mobile_menu ul.sub-menu.icon-switch li:nth-child(6) > a {
    transition-delay: 0.3s;
}
.navbar-menu .et_mobile_menu ul.sub-menu.icon-switch li:nth-child(7) > a {
    transition-delay: 0.35s;
}
.navbar-menu .et_mobile_menu ul.sub-menu.icon-switch li:nth-child(8) > a {
    transition-delay: 0.4s;
}

/* Body scroll lock przy otwartym menu */
html.no-scroll,
body.no-scroll {
    overflow: hidden;
    height: 100%;
}
.navbar-menu .second-level {
	display: none;
}
.navbar-menu .icon-switch .second-level{
    display: block;
}
.et_pb_column.et_pb_column_empty {
	display: block;
}

.footer-menu.et_pb_menu .et_pb_menu__menu {
	display: block !important;
}
.footer-menu.et_pb_menu .et_mobile_nav_menu {
	display: none !important;
}
}

@media (max-width: 767px) {
	
	
}



/* ============================================
   HERO SLIDER - Swiper Synchronized
   ============================================ */

/* Główny wrapper slidera */
.slider-hero-wrapper {
    position: relative;
    overflow: visible;
}

/* Wrapper obrazków - musi mieć strukturę Swiper */
.slider-img.swiper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-img .swiper-wrapper {
    display: flex;
    position: relative;
    width: 100%;
    align-items: stretch;
}

.slider-img .swiper-slide {
    flex-shrink: 0;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    display: block;
    height: 100% !important;
}

.slider-img .swiper-slide .hero-slider-img {
    width: 100%;
    display: block;
}

.slider-img .swiper-slide img {
    width: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    display: block;
    height: 100% !important;
}

.slider-img .swiper-slide > span {
  height: 100%;
}


/* Wrapper napisów - musi mieć strukturę Swiper */
.slider-caption.swiper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-caption .swiper-wrapper {
    display: flex;
    position: relative;
    width: 100%;
}

.slider-caption .swiper-slide {
    flex-shrink: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* Nawigacja - przyciski prev/next */
.nav-prev.hero,
.nav-next.hero {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-prev.hero {
    left: 30px;
}

.nav-next.hero {
    right: 30px;
}

.nav-prev.hero:hover,
.nav-next.hero:hover {
    background: #fff;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.nav-prev.hero svg,
.nav-next.hero svg {
    width: 24px;
    height: 24px;
    color: #000;
}

/* Paginacja - numerki */
.swiper-pagination.hero {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 30px;
}

.swiper-pagination.hero .swiper-pagination-bullet {
    width: auto;
    height: auto;
    background: transparent;
    opacity: 1;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    border-radius: 0;
    margin: 0 !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.swiper-pagination.hero .swiper-pagination-bullet-active {
    opacity: 1;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 991px) {
    .nav-prev.hero,
    .nav-next.hero {
        width: 50px;
        height: 50px;
    }
    
    .nav-prev.hero {
        left: 20px;
    }
    
    .nav-next.hero {
        right: 20px;
    }
    
    .swiper-pagination.hero .swiper-pagination-bullet {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .nav-prev.hero,
    .nav-next.hero {
        width: 40px;
        height: 40px;
    }
    
    .nav-prev.hero {
        left: 10px;
    }
    
    .nav-next.hero {
        right: 10px;
    }
    
    .nav-prev.hero svg,
    .nav-next.hero svg {
        width: 20px;
        height: 20px;
    }
    
    .swiper-pagination.hero {
        gap: 10px;
        margin-top: 20px;
    }
    
    .swiper-pagination.hero .swiper-pagination-bullet {
        font-size: 14px;
    }
}
