/*
 Theme Name: BillDent2
 Theme URI: https://billdent2.pl
 Author: CyfroweNiebo.pl
 Author URI: https://
 Description: Motyw dla firmy Bill Dent 2.
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: BillDent2
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Myriad Pro Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Myriad Pro Regular'), url('/wp-content/themes/billdent2/assets/MYRIADPRO-REGULAR.woff') format('woff');
}

body {
    font-family: 'Myriad Pro Regular', sans-serif;
    line-height: 1.6;
	font-size: 17px;
    background-color: #f9f9f9;
    color: #333;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.row > * {
  padding-right: 15px;
  padding-left: 15px;
}
.col-md-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}
.col-md-3 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}
.col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
.img {
	width: 100%;
	height: auto;
	display: block;
}
.text-center {
	text-align: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}

.flex-center-vertical {
    align-items: center !important;
}
.content-page .is-layout-flex {
    align-items: center !important;
}
.py {
	padding-top: 50px;
	padding-bottom: 50px;
}
.pxy {
	padding: 70px;
}

.mb {
	margin-bottom: 20px;
}
.mb-1 {
	margin-bottom: 10px;
}
.mt-3 {
	margin-top: 30px !important;
}
.mt-5 {
	margin-top: 30px !important;
}
@media (min-width: 1400px) {
	.mt-5 {
		margin-top: 80px !important;
	}
}

.img-fluid {
    max-width: 100%;
    height: auto;
}
.green {
	color: #00ac0d;
}
p {
	display: block;
	width: 100%;
}

/* Górna belka kontaktowa */
.top-bar {
    background-color: #00ac0d;
    padding: 12px;
    color: white;
    text-align: right;
    font-size: 18px;
	font-weight: bold;
}

.top-bar a {
    color: white;
    text-decoration: none;
}

.top-bar a:hover {
    text-decoration: none;
}
.top-bar img {
	margin-left: 30px;
	position: relative;
	top: 2px;
	margin-right: 5px;
}
@media (max-width: 768px) {
	.top-bar {
		text-align: left;
		font-size: 15px;
	}
	.top-bar img {
		margin-left: 10px;
		max-height: 14px;
	}
}
.site-header {
	border-bottom: 5px solid #00ac0d;
}

nav.main-nav {
    background-color: #fff;
    padding: 10px 20px;
}

.menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li {
	padding: 15px 0;
}
.menu li a {
	color: #333;
}
.menu li.current_page_item a {
	color: #00ac0d;
	font-weight: bold !important;
}
.menu li.current-menu-parent a {
	color: #00ac0d;
	font-weight: bold !important;
}

.menu li a {
    text-decoration: none;
}

.menu-item-has-children {
    position: relative;
}

.menu ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #edf4ee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
    min-width: 200px;
    list-style: none;
    z-index: 1000;
	flex-direction: column;
}

.menu-item-has-children:hover .sub-menu {
    display: flex;
}

.sub-menu li {
    padding: 8px 20px;
    white-space: nowrap;
}

.sub-menu li:hover {
    background-color: #9fdca4;
}

.sub-menu a {
    text-decoration: none;
    display: block;
}

.menu li.current-menu-parent .sub-menu a {
	color: #333;
}

/* Animacja dropdownu */
.sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Strzałka przy elementach z submenu */
.menu-item-has-children > a::after {
    content: '▼';
    font-size: 15px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: top;
	color: #333;
}
.current-menu-parent > a::after {
	color: #00ac0d;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        text-align: center;
    }

    .menu ul {
        flex-direction: column;
        gap: 10px;
    }

    .menu-toggle {
        display: block;
    }

    .menu.show {
        display: flex;
    }
}

@media (max-width: 768px) {
	.site-header {
		position: relative;
	}

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
    }

    .menu {
        display: none; /* Domyślnie ukryte */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 0;
        margin: 0;
        width: 100%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        width: 100%;
        padding: 10px 20px;
        border-bottom: 1px solid #eee;
    }

    .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
        position: static;
        box-shadow: none;
        width: 100%;
        padding-left: 20px;
    }

    .menu-item-has-children > a::after {
        float: right;
        content: '+';
    }

    .menu-item-has-children.active > a::after {
        content: '-';
    }
}



.header-section {
	min-height: calc(70vh - 160px);
	display: flex;
  	flex-wrap: wrap;
	align-items: center;
	background-image: url('/wp-content/themes/billdent2/assets/glowna-banner.jpg'); 
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center;
}

.header-section h1 {
	margin-bottom: 30px;
	font-size: 42px;
}
.header-section p {
	font-size: 22px;
}

.header-section a {
	display: inline-block;
    background-color: #00ac0d;
    color: white;
    padding: 10px 40px;
    font-weight: 600;
    text-decoration: none;
	margin-top: 30px;
}

.header-section a:hover {
    background-color: #219653;
}

.home-content h2 {
	color: #00ac0d;
	line-height: 1.2;
	margin-top: 5px;
	margin-bottom: 10px;
}
.home-content p {
	line-height: 1.4;
	margin-bottom: 10px;
}

.action-bar__text {
	margin: 0;
	display: inline-block;
}
h3.action-bar__text {
	font-size: 32px;
	font-weight: bold;
}
.btn-green {
	display: inline-block;
    background-color: #00ac0d;
    color: white;
    padding: 10px 40px;
    font-weight: 600;
    text-decoration: none;
	line-height: 2.2;
}
.action-bar .btn {
	margin-left: 15px;
}
.why h2 {
	font-size:38px;
}
.why .box {
	background: #fff;
	padding: 20px;
	margin-bottom: 20px;
}
.header-box {
	display: flex;
  	flex-wrap: wrap;
	margin: 10px 0;
}
.header-box img {
	display: inline-block;
	margin-right: 20px;
}
.header-box h3 {
	color: #00ac0d;
	font-size: 22px;
/* 	font-weight: normal; */
}

.product-content p {
	margin-bottom: 20px;
}

.product-gallery {
    width: 100%;
}

.main-image {
    width: 100%;
    margin-bottom: 20px;
	height: 500px;
	background: #fff;
}

.main-image img {
    width: 100%;
    height: 100%;
	object-fit: cover;
    display: block;
	margin: auto;
}

.thumbnails-wrapper {
    position: relative;
    padding: 0 30px;
}

.thumbnails-container {
    display: flex;
    gap: 10px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.thumbnail-item {
    flex: 0 0 calc(33.333% - 7px);
    cursor: pointer;
    border: 2px solid transparent;
	height: 150px;
	background: #fff;
}

.thumbnail-item.active {
    border-color: #ddd;
}

.thumb-img {
    width: auto;
    height: 100%;
    object-fit: cover;
    display: block;
	margin: auto;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.nav-btn.prev {
    left: 0;
}

.nav-btn.next {
    right: 0;
}

.foot {
	background: #333;
	color: #eee;
}
.foot a {
	color: #eee;
	text-decoration: none;
}
.foot h3 {
	font-size: 22px;
	margin-bottom: 20px;
}
.foot img {
	box-sizing: content-box;
}

.header-page {
	min-height: 250px;
	display: flex;
  	flex-wrap: wrap;
	align-items: center;
/* 	background-image: url('/wp-content/themes/billdent2/assets/glowna-banner.jpg');  */
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center;
}

.page-content ul {
    list-style: none;
    padding-left: 0;
}

.page-content ul li {
    position: relative;
    padding-left: 20px;
}

.page-content ul li::before {
    content: '▶';
    color: #00AC0D; 
    position: absolute;
    left: 0;
}

.box-platnosc {
	padding: 30px;
	background: #fff;
}
.box-platnosc h3 {
	color: #00AC0D; 
}

.where {
	background: #4cbf58;
}
.where h2 {
	margin: 40px 0;
	display: inline-block;
	color: #333;
}

.partners-title {
	background: #4cbf58;
	padding: 40px;
	color: #333;
	margin-bottom: 10px;
}

.additional-box {
	background: #eef1f1;
	padding: 30px 30px 0;
	width: 100%;
}
.additional-box h3 {
	margin-bottom: 15px;
}
.additional-box figure {
	border: 2px solid #00ac0d;
	background: #00ac0d; 
}

.additional-box figure.wp-block-image {
    display: inline-block;
    overflow: hidden;
}

.additional-box figure.wp-block-image img {
    transition: transform 1s ease, opacity 1s ease;
}

.additional-box figure.wp-block-image:hover img {
    transform: scale(1.1) rotate(5deg);
    opacity: 0.5;
}

.white-row {
	width: 100%;
	background: #fff;
	padding: 20px;
}

.white-row  ul {
    list-style: none;
    padding-left: 0;
}

.white-row  ul li {
    position: relative;
    padding-left: 30px;
}

.white-row  ul li::before {
    content: '▶';
    color: #00AC0D; 
    position: absolute;
    left: 0;
	top: -2px;
}
ul.away-order {
    list-style: none;
    padding-left: 20px;
}

ul.away-order li {
    position: relative;
    padding-left: 30px;
}

ul.away-order li::before {
    content: '▶';
    color: #00AC0D; 
    position: absolute;
    left: 0;
	top: -2px;
}

.partners-swiper {
    padding: 20px 40px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #000;
}

.swiper-slide {
    text-align: center;
}

.partner-logo {
    width: 100%;
    height: auto;
	border: 1px solid #00ac0d;
}

.colors {
	width: 100%;
}
.colors ul {
    list-style: none;
    padding-left: 10px;
	padding-top: 10px;
}

.colors ul li {
    position: relative;
    padding-left: 30px;
}

.colors ul li::before {
    content: '▶';
    color: #00AC0D; 
    position: absolute;
    left: 0;
	top: -2px;
}

/* Copyright */
footer {
	padding: 30px 0;
	background: #1a1a1a;
	color: #555555;
	border-bottom: 5px solid #00ac0d;
}

/*LightBox */
.additional-box .wp-block-image img {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.wp-block-image img:hover {
    opacity: 0.99;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    justify-content: center;
    align-items: center;
	opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
	transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

