/*
Theme Name: Pilates Boutique
Author: M. Schouten Internet Services
Author URI: https://www.ms-is.nl
Description: Pilates Boutique Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pilatesboutique
Tags:

*/
/* ============================================================================
   Global Styles
   ============================================================================ */

:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-light-gray: #f2f4fc;
  --color-dark-gray: #d9d9d9;
  --font-montserrat: "Montserrat", sans-serif;
  --font-inter: "Inter", sans-serif;
  --font-petit: "Petit Formal Script", cursive;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-inter), sans-serif;
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-montserrat), sans-serif;
  font-weight: 500;
  text-transform: uppercase;
}

p {
  margin: 0;
}

/* ============================================================================
   Header Styles
   ============================================================================ */

.pb-header {
  background-color: var(--color-black);
  height: 117px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 100;
}

.pb-header__container {
  width: 100%;
  max-width: 1440px;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.pb-header__menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  padding: 0;
  transition: opacity 0.3s ease;
}

.pb-header__menu-btn:hover {
  opacity: 0.7;
}

.pb-header__menu-btn:focus-visible {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 2px #fff;
  border-radius: 4px;
}

button.pb-flyout__close:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

.pb-flyout__link:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

.pb-header__menu-btn svg {
  width: 100%;
  height: 100%;
}

.pb-header__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 163px;
  height: 72px;
}

.pb-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Flyout menu styles */
.pb-flyout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease;
  z-index: 98;
}

.pb-flyout {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 320px;
  max-width: 85%;
  background: var(--color-white);
  transform: translateX(-110%);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2);
  transition: transform 260ms cubic-bezier(0.2, 0.9, 0.3, 1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
}

.pb-flyout__close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  align-self: flex-end;
  cursor: pointer;
}

.pb-flyout__list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.pb-flyout__link {
  color: var(--color-black);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}

/* Remove default browser focus outlines but keep an accessible keyboard focus state */
.pb-flyout__close:focus,
.pb-flyout__link:focus {
  outline: none;
}

.pb-flyout__close:focus-visible {
  outline: none;
}

.pb-flyout__link:focus-visible {
  outline: none;
}

/* Remove tap highlight on mobile for a cleaner look */
.pb-flyout__close,
.pb-flyout__link {
  -webkit-tap-highlight-color: transparent;
}

/* Open state */
.pb-flyout-open .pb-flyout-overlay {
  opacity: 1;
  visibility: visible;
}

.pb-flyout-open .pb-flyout {
  transform: translateX(0);
}

@media (max-width: 480px) {
  .pb-flyout {
    width: 100%;
  }
}

.pb-header__cta-btn {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  font-family: var(--font-inter);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-radius: 4px;
  text-decoration: none;
}

.pb-header__cta-btn:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.pb-hero {
  position: relative;
  height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pb-hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.pb-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.pb-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  padding: 0 20px;
  margin-bottom: 6rem;
}

.pb-hero__badge {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  font-family: var(--font-inter);
  display: inline-block;
  margin: 0 auto;
  text-transform: uppercase;
}

.pb-hero__title {
  font-size: 36px;
  color: var(--color-white);
  font-family: var(--font-montserrat);
  font-weight: 500;
  text-transform: uppercase;
}

.pb-hero__subtitle {
  font-size: 32px;
  color: var(--color-white);
  font-family: var(--font-inter);
  font-weight: 300;
  line-height: 1.4;
}

.pb-hero__subtitle-accent {
  font-family: var(--font-petit);
  font-size: 32px;
  font-style: italic;
}

/* Booking Widget */
.pb-booking-widget {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(217, 217, 217, 0.8);
  backdrop-filter: blur(2px);
  border-radius: 20px;
  padding: 17px 16px;
  width: 390px;
  display: flex;
  gap: 16px;
  z-index: 4;
}

.pb-booking-widget__left {
  flex-shrink: 0;
}

.pb-booking-widget__calendar-icon {
  background-color: var(--color-white);
  border-radius: 15px;
  width: 90px;
  height: 97px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pb-booking-widget__calendar-icon svg {
  width: 72px;
  height: 72px;
}

.pb-booking-widget__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pb-booking-widget__header {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pb-booking-widget__label {
  font-size: 18px;
  font-weight: bold;
  font-family: var(--font-inter);
  color: var(--color-black);
}

.pb-booking-widget__date {
  font-size: 18px;
  font-family: var(--font-inter);
  color: var(--color-black);
}

.pb-booking-widget__cta {
  background-color: var(--color-black);
  color: var(--color-white);
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  font-family: var(--font-inter);
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-align: center;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pb-booking-widget__cta:hover {
  background-color: var(--color-dark-gray);
  color: var(--color-black);
}

/* ============================================================================
   Main Content Sections
   ============================================================================ */

.pb-main {
  position: relative;
}

/* Intro Section */
.pb-intro {
  padding: 150px 150px 105px 150px;
  border-bottom: 1px solid var(--color-black);
  background-color: var(--color-white);
  text-align: center;
}

.pb-intro__text {
  font-size: 32px;
  font-weight: 300;
  font-family: var(--font-inter);
  line-height: 1.4;
  max-width: 1140px;
  margin: 0 auto;
}

/* De Boutique Section */
.pb-boutique {
  padding: 117px 0;
  text-align: center;
  background-color: var(--color-white);
}

.pb-boutique__title {
  font-size: 36px;
  font-weight: 500;
  font-family: var(--font-montserrat);
  text-transform: uppercase;
}

/* Services Section */
.pb-services {
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: var(--color-white);
}

.pb-service {
  display: flex;
  align-items: stretch;
  min-height: 530px;
}

.pb-service__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
  background: var(--color-white);
  color: var(--color-black);
  order: 1;
}

.pb-service__image {
  flex: 1;
  min-height: 530px;
  background-size: cover;
  background-position: center;
  order: 2;
}

/* Reverse order for alternating layout (image comes first visually) */
.pb-service--reverse .pb-service__text {
  order: 2;
}

.pb-service--reverse .pb-service__image {
  order: 1;
}

.pb-service__title {
  font-size: 24px;
  font-weight: 500;
  font-family: var(--font-montserrat);
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 12px;
}

.pb-service__description {
  font-size: 18px;
  font-weight: 300;
  font-family: var(--font-inter);
  color: var(--color-black);
  line-height: 1.5;
}

/* CTA Section */
.pb-cta-section {
  background-color: var(--color-white);
  padding: 117px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.pb-cta-buttons {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
}

.pb-cta-btn {
  background-color: var(--color-black);
  color: var(--color-white);
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: bold;
  font-family: var(--font-inter);
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  min-width: 270px;
}

.pb-cta-btn:hover {
  background-color: var(--color-dark-gray);
  color: var(--color-black);
}

/* ============================================================================
   Footer Styles
   ============================================================================ */

/* Page content section */
.pb-page {
  padding: 80px 0;
  background-color: var(--color-white);
  color: var(--color-black);
}

.pb-page p {
  padding-bottom: 25px;
}

.pb-page h1 {
  padding-bottom: 25px;
}

.pb-page h2 {
  padding-bottom: 25px;
}

.pb-page ul {
  padding-left: 20px;
  padding-bottom: 25px;
}

.pb-page a {
  color: #000;
}

.pb-page__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.pb-page__title {
  font-family: var(--font-montserrat);
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 20px;
  text-align: center;
}

.pb-page__content {
  font-family: var(--font-inter);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-black);
}

@media (max-width: 768px) {
  .pb-page {
    padding: 40px 0;
  }

  .pb-page__title {
    font-size: 24px;
    text-align: left;
  }

  .pb-page__content {
    font-size: 16px;
  }
}

.pb-footer {
  background-color: var(--color-black);
  padding: 60px 0;
  text-align: center;
}

.pb-footer__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.pb-footer__logo {
  width: 163px;
  height: 72px;
}

.pb-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pb-footer__tagline {
  color: var(--color-white);
  font-size: 16px;
  font-weight: bold;
  font-family: var(--font-inter);
  text-transform: uppercase;
  align-self: flex-end;
}

.pb-footer__bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 20px 0;
  border-top: 1px solid var(--color-light-gray);
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.pb-footer__links {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.pb-footer__link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 14px;
  font-family: var(--font-inter);
  transition: opacity 0.3s ease;
}

.pb-footer__link:hover {
  opacity: 0.7;
}

.pb-footer__copyright {
  color: var(--color-white);
  font-size: 12px;
  font-family: var(--font-inter);
  opacity: 0.7;
}

/* ============================================================================
   Responsive Design
   ============================================================================ */

@media (max-width: 1024px) {
  .pb-header__container {
    padding: 0 40px;
  }

  .pb-hero__content {
    margin-bottom: 9rem;
  }

  .pb-booking-widget {
    bottom: 125px;
  }

  .pb-intro {
    padding: 80px 60px;
  }

  .pb-intro__text {
    font-size: 24px;
    padding: 0 20px;
  }

  .pb-service {
    flex-direction: column;
    min-height: auto;
  }

  .pb-service__text {
    order: 1 !important;
    padding: 30px 20px;
    text-align: center;
  }

  .pb-service__image {
    order: 2 !important;
    min-height: 300px;
  }

  .pb-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .pb-cta-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .pb-header__cta-btn {
    display: none;
  }

  .pb-header {
    height: 100px;
  }

  .pb-header__container {
    padding: 0 20px;
  }

  /* .pb-header__cta-btn {
    font-size: 12px;
    padding: 8px 15px;
  } */

  .pb-hero {
    height: 500px;
  }

  .pb-hero__title {
    font-size: 28px;
  }

  .pb-hero__subtitle {
    font-size: 24px;
  }

  .pb-booking-widget {
    bottom: 25px;
  }

  /* .pb-booking-widget {
    width: 90%;
    max-width: 350px;
    flex-direction: column;
    bottom: -90px;
  } */

  .pb-intro {
    padding: 80px 40px 60px;
  }

  .pb-intro__text {
    font-size: 20px;
    line-height: 1.5;
  }

  .pb-boutique {
    padding: 40px 0;
  }

  .pb-boutique__title {
    font-size: 28px;
    padding: 40px 20px;
  }

  .pb-service__image {
    min-height: 250px;
  }

  .pb-service__text {
    padding: 24px 16px;
  }

  .pb-service__title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .pb-service__description {
    font-size: 16px;
  }

  .pb-cta-section {
    padding: 80px 0;
  }

  .pb-cta-buttons {
    gap: 15px;
  }

  .pb-cta-btn {
    font-size: 14px;
    padding: 12px 30px;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .pb-hero {
    height: 400px;
  }

  .pb-hero__title {
    font-size: 24px;
  }

  .pb-hero__content {
    gap: 10px;
  }

  .pb-hero__subtitle {
    font-size: 20px;
  }

  .pb-hero__subtitle-accent {
    font-size: 22px;
  }

  .pb-booking-widget {
    width: 95%;
    max-width: 100%;
  }

  .pb-intro {
    padding: 60px 20px 40px;
  }

  .pb-intro__text {
    font-size: 18px;
  }

  /* On small screens overlay text on image */
  .pb-service {
    display: block;
  }

  .pb-service > .pb-service__image {
    position: relative;
    height: 220px;
  }

  /* .pb-service > .pb-service__text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    color: var(--color-white);
  } */

  .pb-footer {
    padding: 40px 20px;
  }
}
