/*
Theme Name: Body Balans
Theme URI:  https://bodybalansmassage.nl/
Author:     Body Balans
Author URI: https://bodybalansmassage.nl/
Description: Custom theme dla Body Balans - HTML, CSS, JS, PHP, ACF
Version:    1.0
License:    GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: body-balans
Tags: custom, responsive, acf, cpt
*/

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "PlayfairDisplay";
  src: url("../fonts/PlayfairDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --colorTextPrimary: #5d4037;
  --colorTextSecondary: #6b705c;
  --colorTextSmall: rgba(44, 37, 32, 0.8);
  --bgColorPrimary: #f9f5f0;
  --bgColorSecondary: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
}
body {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
  background: var(--bgColorPrimary);
}
h1 {
  font-size: 72px;
  line-height: 84px;
  font-family: "PlayfairDisplay";
  font-weight: 400;
  color: var(--colorTextPrimary);
}
h2 {
  font-size: 48px;
  line-height: 60px;
  font-family: "PlayfairDisplay";
  font-weight: 400;
  color: var(--colorTextPrimary);
}
h3 {
  font-size: 24px;
  line-height: 30px !important;
  font-weight: 400;
  font-family: "PlayfairDisplay";
  color: var(--colorTextPrimary);
}
h4 {
  font-size: 14px;
  line-height: 14px !important;
  font-weight: 600;
  color: var(--colorTextSecondary);
  text-transform: uppercase;
}
p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: var(--colorTextSmall);
}
b {
  font-weight: 700;
}
.wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
img {
  width: auto;
  max-height: 100%;
  height: auto;
  max-width: 100%;
}

section {
  padding: 95px 16px;
}

.services {
  gap: 33px;
}

.service-item {
  flex-grow: 1;
  width: 28%;
  max-width: calc(100% / 3 - 22px);
  -webkit-box-shadow: 8px 4px 20px 0px rgba(93, 64, 55, 0.2);
  -moz-box-shadow: 8px 4px 20px 0px rgba(93, 64, 55, 0.2);
  box-shadow: 8px 4px 20px 0px rgba(93, 64, 55, 0.2);
  border-radius: 16px;
  background: #fff;

  transition: 0.3s;
}
.service-item:hover {
  -webkit-box-shadow: 8px 4px 30px 0px rgba(93, 64, 55, 0.2);
  -moz-box-shadow: 8px 4px 30px 0px rgba(93, 64, 55, 0.2);
  box-shadow: 8px 4px 30px 0px rgba(93, 64, 55, 0.2);
}
.service-item h3 {
  transition: 0.3s;
}
.service-item:hover h3 {
  color: var(--colorTextSecondary);
}
.service-image {
  width: 100%;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  height: 227px;
}
.service-image img {
  border-radius: 16px 16px 0 0;
  transition: 0.3s;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-item:hover .service-image img {
  transform: scale(1.05);
}
.service-content {
  padding: 30px;
  flex-grow: 1;
}
.service-item a {
  text-decoration: none;
  display: flex;
}
.service-item p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.service-content a:first-child {
  flex-grow: 1;
}
.service-item .divider {
  width: 100%;
  height: 1px;
  background: rgba(74, 59, 50, 0.2);
}
.service-cta {
  width: 100%;
}
.service-cta p {
  gap: 8px;
  transition: 0.3s;
  overflow: visible;
  display: flex;
}
.service-cta p:hover {
  color: var(--colorTextSecondary);
}
.service-cta p img {
  transition: 0.3s;
}
.service-cta p:hover img {
  transform: translateX(5px);
}
.service-cta a:last-child {
  background: #6b705c;
  font-family: "Poppins", sans-serif;
  border-radius: 50px;
  height: 40px;
  gap: 8px;
  font-size: 14px;
  line-height: 14px !important;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  padding: 0 30px;
  border: unset;
  transition: 0.3s;
  -webkit-box-shadow: 8px 4px 20px 0px rgba(93, 64, 55, 0.2);
  -moz-box-shadow: 8px 4px 20px 0px rgba(93, 64, 55, 0.2);
  box-shadow: 8px 4px 20px 0px rgba(93, 64, 55, 0.2);
}
.service-cta a:last-child:hover {
  background: var(--colorTextPrimary);
}
.small-divider {
  width: 100%;
  max-width: 96px;
  margin-left: auto;
  margin-right: auto;
  height: 4px;
  background: #e8e0d5;
}
.opinion-wrapper {
  width: 100%;
  background: var(--bgColorSecondary);
  padding: 40px;
  border: 1px solid var(--bgColorPrimary);
  border-radius: 24px;
  -webkit-box-shadow: 8px 4px 20px 0px rgba(93, 64, 55, 0.2);
  -moz-box-shadow: 8px 4px 20px 0px rgba(93, 64, 55, 0.2);
  box-shadow: 8px 4px 20px 0px rgba(93, 64, 55, 0.2);
}
.salonized-reviews {
  width: 100%;
}
.opinion iframe {
  max-width: 100% !important;
}
.hero-section {
  width: 100%;
  background: #6b705c;
  padding: 0;
  height: 380px;
}
.hero-section-img {
  width: 100%;
  height: 100%;
}
.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-section-content {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.hero-section-content a,
.top-hero-cta a:first-child {
  width: 100%;
  max-width: 213px;
  margin: 0 auto;
  padding: 16px;
  background: #fff;
  border-radius: 50px;
  font-size: 18px;
  line-height: 18px;
  font-weight: 600;
  color: #6b705c;
  text-decoration: none;
  -webkit-box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}
.hero-section-content a:hover,
.top-hero-cta a:first-child:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.9);
}
.header-hero {
  background: var(--bgColorSecondary);
}
.header-hero h2 {
  color: var(--colorTextPrimary);
}
.header-hero h2 span {
  color: var(--colorTextSecondary);
}
.header-hero h4 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bgColorSecondary);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(230, 220, 195, 0.5);
  -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
}
.breadcrumbs {
  bottom: 20px;
  left: 50%;
  width: 100%;
  gap: 3px;
  transform: translate(-50%);
}
.breadcrumbs a {
  text-decoration: none;
  color: var(--colorTextPrimary);
  font-size: 14px;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs span {
  color: var(--colorTextSmall);
  font-size: 14px;
}
section.single-service .wrapper {
  max-width: 832px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  padding: 48px;
  border-radius: 16px;
  -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
}
.single-service-title {
  gap: 16px;
}
.single-service-title h2 {
  font-size: 30px;
}
form {
  display: flex;
  flex-flow: column;
  width: 100%;
  gap: 24px;
}
form div {
  display: flex;
  gap: 20px;
  width: 100%;
}
form div p {
  flex-grow: 1;
  width: 38%;
}
form label {
  font-size: 14px;
  font-weight: 700;
  color: var(--colorTextPrimary);
  width: 100%;
}
form label input,
form label textarea {
  height: 58px;
  background: var(--bgColorSecondary);
  padding: 20px;
  border: 1px solid var(--colorTextPrimary);
  border-radius: 12px;
  width: 100%;
  font-size: 16px;
  color: var(--colorTextSmall);
  font-family: "Poppins";
}
form label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
}
form input[type="submit"] {
  width: 100%;
  max-width: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6b705c;
  color: #fff;
  padding: 16px 24px;
  border-radius: 50px;
  font-family: "Poppins";
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  transition: 0.3s;
  border: unset;
  cursor: pointer;
  -webkit-box-shadow: 8px 4px 20px 0px rgba(93, 64, 55, 0.2);
  -moz-box-shadow: 8px 4px 20px 0px rgba(93, 64, 55, 0.2);
  box-shadow: 8px 4px 20px 0px rgba(93, 64, 55, 0.2);
}
form input[type="submit"]:hover {
  background: var(--colorTextPrimary);
}
form label textarea {
  height: 154px;
  resize: unset;
}
form label input::placeholder {
  color: rgba(44, 37, 32, 0.4);
}
span.wpcf7-list-item-label {
  font-weight: 400;
}
span.wpcf7-form-control-wrap {
  display: block;
  height: 100%;
  margin-top: 8px;
}
.wpcf7-list-item label {
  display: flex;
  gap: 8px;
}
.wpcf7-list-item label a {
  color: var(--colorTextSmall);
}
.wpcf7-spinner {
  display: none;
}
@media (max-width: 1100px) {
  .service-content {
    padding: 20px;
  }
}
@media (max-width: 800px) {
  .services {
    gap: 20px;
  }
  .service-item {
    width: 38%;
    max-width: calc(50% - 10px);
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 32px;
    line-height: 40px;
  }
  section {
    padding: 16px;
  }
  .small-divider {
    height: 2px;
  }
  .service-cta {
    flex-flow: column-reverse;
    justify-content: center;
  }
  .service-cta a:last-child {
    width: 100%;
  }
  .opinion-wrapper {
    padding: 0;
  }
  .hero-section {
    height: 200px;
  }
  .hero-section-content a,
  .top-hero-cta a:first-child,
  .top-hero-cta a:last-child {
    max-width: 140px !important;
    font-size: 14px !important;
    line-height: 14px !important;
  }
  .service-image {
    height: 200px;
  }
  .header-hero {
    padding-bottom: 80px;
  }
  .breadcrumbs {
    bottom: 16px;
  }
  .single-service-title h2 {
    font-size: 24px;
  }
  section.single-service .wrapper {
    padding: 16px;
  }
}
@media (max-width: 450px) {
  .service-item {
    width: 100%;
    max-width: 100%;
  }
}
