/*
Theme Name: BK Pilates
Theme URI: https://bkpilates.com/
Author: Your Name
Author URI:
Description: Theme for BK Pilates studios with MindBody integration for scheduling and bookings.
Version: 1.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bk-pilates
Tags: pilates, fitness, yoga, studio, wellness, health
*/

/* --------------------------------------------------------------
# Base Variables
-------------------------------------------------------------- */
:root {
    --primary-color: #000000;
    --secondary-color: #ddc1ac;
    --accent-color: #e3c0ac;
    --light-accent: #f9f1ea;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-bg: #1e1e1e;
    --font-main: 'TT Fors', sans-serif;
    --container-width: 1600px;
    --header-height: 76px;
}

/* --------------------------------------------------------------
# Helper Classes
-------------------------------------------------------------- */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-5 {
    margin-top: 50px;
}

.mb-5 {
    margin-bottom: 50px;
}

.py-5 {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* --------------------------------------------------------------
# Loading States
-------------------------------------------------------------- */
.loading {
    position: relative;
    min-height: 200px;
}

.loading:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
    z-index: 11;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --------------------------------------------------------------
# General Styles
-------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main), sans-serif;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2vw;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h1 {
    font-size: 64px;
}

h2 {
    font-size: 44px;
    text-transform: unset;
}

h3 {
    font-size: 35px;
}

h4 {
    font-size: 24px;
}

p {
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

main {
    position: relative;
}

.btn-primary {
    background-color: var(--btn-bg);
    color: var(--light-text);
    border: 2px solid var(--btn-bg);
}

.btn-primary:hover {
    opacity: 0.8;
}

.btn-secondary {
    background-color: transparent;
    color: var(--btn-bg);
    border: 2px solid var(--btn-bg);
}

.btn-secondary:hover {
    background-color: var(--btn-bg);
    color: var(--light-text);
}

/* --------------------------------------------------------------
# Hero Section
-------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    color: var(--light-text);
    display: flex;
    align-items: center;
}

.section-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.section-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

.section-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.content-wrapper {
    width: 100%;
    z-index: 1;
}

.hero-buttons .btn-primary {
    width: 300px;
    padding-block: 20px;
    border-radius: 100px;
}

.hero-buttons .btn-secondary {
    width: 146px;
    padding-block: 20px;
    border-radius: 100px;
}

/* --------------------------------------------------------------
# Marquee Section
-------------------------------------------------------------- */
.marquee {
    white-space: nowrap;
    overflow: hidden;
    padding: var(--marquee-padding, 36px) 0;
    background-color: var(--marquee-bg, #ddc1ac);
}

.marquee-content {
    display: inline-block;
    animation: marquee var(--marquee-speed, 30s) linear infinite;
    padding-left: 100%; /* Start the text from the right */
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.marquee h2 {
    display: inline-block;
    font-size: var(--marquee-font-size, 82px);
    font-weight: 500;
    margin: 0;
    line-height: 115px;
    padding-right: 50px;
    color: var(--marquee-text-color, #ffffff);
}

/* --------------------------------------------------------------
# About Section
-------------------------------------------------------------- */
.about-section {
    position: relative;
    background-color: #e2c7b6;
    color: var(--about-text, #333333);
    padding-top: var(--about-padding-top, 100px);
    padding-bottom: var(--about-padding-bottom, 100px);
    height: auto;
    overflow: hidden;
    z-index: 1;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 70px;
}

.founder .about-container {
    flex-wrap: nowrap;
}

.about-image {
    flex: 1 1 350px;
}

.about-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.about-content {
    flex: 1 1 500px;
}

.about-title {
    margin-bottom: 30px;
    font-weight: 700;
    color: inherit;
}

.about-text {
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 1.5em;
    line-height: 1.6;
}

.about-text h3,
.about-text h4 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: 600;
}

.about-text ul,
.about-text ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.about-text li {
    margin-bottom: 0.5em;
}

.about-text a {
    color: inherit;
    text-decoration: underline;
}

.about-text a:hover {
    opacity: 0.8;
}

/* --------------------------------------------------------------
# CTA Section
-------------------------------------------------------------- */
.cta-section {
    position: relative;
    padding: 100px 0;
    color: var(--cta-text-color, #ffffff);
    text-align: center;
    min-height: var(--cta-height, 100vh);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -77px;
    z-index: 5;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-subtitle {
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: unset;
}

.cta-title {
    font-size: 191px;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: normal;
}

.cta-text {
    margin-bottom: 40px;
}

.cta-text p {
    font-size: 22px;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 30px;
}

.cta-text h3,
.cta-text h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-text ul,
.cta-text ol {
    text-align: left;
    margin: 0 auto 1.5rem;
    max-width: 600px;
    padding-left: 2rem;
}

.cta-text li {
    margin-bottom: 0.5rem;
}

.cta-section .btn-primary {
    width: 300px;
    padding: 20px 35px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.32px;
    transition: all 0.3s ease;
    border-radius: 100px;
}

.cta-section .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------
# Levels Section
-------------------------------------------------------------- */
.levels-section {
    height: 80vh;
    padding: 0;
    overflow: hidden;
    margin: 0;
    position: relative;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: 100%;
    gap: 0;
}

.level-tile {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 32px;
    color: #e6e4e8;
    transition: all 0.3s ease;

}

.level-tile-1 .level-title {
    /*align-self: start;*/
}

.text-tile {
    color: #fff;
}

.level-tile:hover {
    transform: scale(1.02);
    z-index: 2;
}

.level-title {
    font-size: 35px;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    line-height: 1.2;
    z-index: 2;
    position: relative;
    text-align: left;
}

.level-description {
    font-size: 16px;
    font-weight: 300;
    position: relative;
    line-height: 1.8;
    z-index: 2;
    color: #625448;
    text-align: left;
}

.image-tile {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.image-tile img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.image-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.image-tile:hover::before {
    opacity: 1;
}

/* --------------------------------------------------------------
# Page Header & Content
-------------------------------------------------------------- */
.page-header {
    padding: 120px 0 60px;
    background-color: var(--light-accent);
    text-align: center;
}

.page-title {
    margin-bottom: 20px;
    font-weight: 700;
}

.page-description {
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--accent-color);
}

.breadcrumbs .current {
    font-weight: 600;
}

.breadcrumbs i {
    margin: 0 10px;
    font-size: 10px;
}

.page-content {
    margin-bottom: 50px;
}

.page-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-content ul,
.page-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-content ul li,
.page-content ol li {
    margin-bottom: 10px;
}

.page-content img {
    border-radius: 8px;
    margin: 20px 0;
}

.page-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.page-content table th,
.page-content table td {
    padding: 12px;
    border: 1px solid #eee;
}

.page-content table th {
    background-color: #f9f9f9;
    font-weight: 600;
}

/* --------------------------------------------------------------
# Schedule & Pricing Pages
-------------------------------------------------------------- */
.schedule-wrapper,
.pricing-wrapper {
    padding-bottom: 80px;
}

.camp-pilates-promo {
    margin: 50px 0;
    padding: 40px;
    background-color: var(--light-accent);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.camp-pilates-promo:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: var(--accent-color);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.promo-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.promo-content h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.promo-content p {
    max-width: 700px;
    margin: 0 auto 30px;
}

.promo-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --------------------------------------------------------------
# MindBody Integration
-------------------------------------------------------------- */
.mindbody-schedule-widget,
.mindbody-pricing-widget,
.mindbody-signup-widget {
    margin-bottom: 40px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.bw-widget-styles {
    border: none;
    width: 100%;
    min-height: 600px;
    transition: height 0.3s ease;
}

.schedule-additional-info {
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.schedule-legend {
    margin-top: 40px;
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.schedule-legend h3 {
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 700;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    flex: 1 1 300px;
    padding: 12px 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.legend-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.legend-name {
    font-weight: 600;
    margin-right: 10px;
}

.legend-desc {
    color: #666;
    font-size: 14px;
}

/* --------------------------------------------------------------
# Camp Pilates Special Section
-------------------------------------------------------------- */
.bk-camp-pilates {
    background-color: var(--secondary-color);
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bk-camp-pilates:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--accent-color);
    opacity: 0.1;
    border-radius: 50%;
}

.bk-camp-pilates:after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background-color: var(--accent-color);
    opacity: 0.1;
    border-radius: 50%;
}

.bk-camp-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--dark-bg);
    font-weight: 700;
}

.bk-camp-text {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.bk-camp-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.bk-camp-feature {
    flex: 0 0 280px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.bk-camp-feature:hover {
    transform: translateY(-10px);
}

.bk-camp-feature i {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.bk-camp-feature h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
}

/* --------------------------------------------------------------
# Blog & Archive Pages
-------------------------------------------------------------- */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.post-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-10px);
}

.post-thumbnail {
    height: 200px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

.post-content {
    padding: 20px;
}

.post-meta {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.post-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.post-excerpt {
    margin-bottom: 15px;
    font-size: 15px;
}

.post-footer {
    margin-top: 20px;
}

.read-more {
    font-weight: 600;
    color: var(--accent-color);
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 5px;
    background-color: #f5f5f5;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* --------------------------------------------------------------
# WordPress Core Styles
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* --------------------------------------------------------------
# 404 Page
-------------------------------------------------------------- */
.error-404 {
    text-align: center;
    padding: 100px 0;
}

.error-404 h1 {
    font-size: 120px;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 700;
}

.error-404 h2 {
    margin-bottom: 30px;
    font-weight: 700;
}

.error-404 p {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* --------------------------------------------------------------
# Animation Classes
-------------------------------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------
# About Page Styles
-------------------------------------------------------------- */
.about-hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    color: var(--light-text);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero-section .section-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.about-hero-section .section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    transition: transform 0.5s ease;
}

.about-hero-section:hover .about-hero-image {
    transform: scale(1.05);
}

.about-hero-section .section-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.about-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    padding: 0 20px;
}

.about-hero-title h1 {
    font-family: var(--font-main), sans-serif;
    font-size: 60px;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: unset;
    animation: fadeInDown 1s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero-text {
    max-width: 52%;
    font-size: 16px;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.6;
    animation: fadeIn 1.2s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.accent-text {
    color: var(--accent-color);
}

/* Founder Section */
.about-founder-section {
    position: relative;
    background-color: var(--about-bg, #e6bca9);
    color: var(--about-text, #333333);
    padding-top: 100px;
    padding-bottom: 100px;
    height: auto;
    overflow: hidden;
    z-index: 1;
}

.founder {
    color: var(--marquee-text-color, #ffffff);
}

.founder .about-text {
    font-weight: 300;
}

.about-quote {
    font-style: italic;
    margin-top: 30px;
}

/* Why Pilates Section */
.why-pilates-section {
    padding-top: 100px;
    background-color: var(--secondary-color);
}

.why-pilates-section .container {
    max-width: 1200px;
}

.why-pilates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    margin-bottom: 60px;
    color: #625448;
    font-size: 14px;
    font-weight: 300;
}

.pilates-title-block {
    grid-column: 1 / 2;
}

.pilates-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pilates-title .accent-text {
    color: var(--btn-bg);
    font-weight: 500;
    font-size: 44px
}

.pilates-content-block {
    grid-column: 2 / 3;
}

.pilates-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pilates-quote-block {
    grid-column: 3 / 4;
}

.pilates-quote {
    font-style: italic;
}


/* Pilates Image Section */
.pilates-image-section {
    position: relative;
    width: 100%;
    min-height: 700px;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pilates-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(0, 0, 0, 0.5);*/
    z-index: 1;
}

.pilates-image-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-self: end;
}

.why-wrapper {
    display: flex;
    max-width: fit-content;
    /*align-self: center;*/
    gap: 440px;
    /*margin-bottom: 40px;*/

    width: 1000px;
    align-self: end;
    margin-bottom: 70px;
}

.why-wrapper .footer-logo {
    display: none;
}

.why-wrapper .footer-logo img, .custom-logo-link img {
    max-width: 200px;
}

.why-wrapper .footer-logo {
    align-content: center;
}

.why-content {
    max-width: 440px;
}

.pilates-studio-info {
    color: #fff;
}

.one-th {
    max-width: 1200px;
}

.pilates-studio-info p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pilates-cta {
    position: relative;
    z-index: 2;
    text-align: center;
}

.pilates-cta .btn-primary {
    width: 300px;
    padding: 15px 35px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 100px;
    background-color: var(--btn-bg, #e0a36f);
    color: #fff;
    border: 2px solid var(--btn-bg);
    transition: all 0.3s ease;
}

.pilates-cta .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.slanted-transition {
    position: absolute;
    overflow: hidden;
    bottom: 0;
    width: 100%;
}

.slanted-transition svg {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

/* Button animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------
# Responsive Styles
-------------------------------------------------------------- */
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-copyright {
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 39px;
    }

    .hero-title {
        font-size: 50px;
    }

    .cta-title {
        font-size: 42px;
    }

    .marquee h2 {
        font-size: 42px;
    }

    .level-title {
        font-size: 28px;
    }

    .level-description {
        font-size: 16px;
    }

    .about-hero-title {
        font-size: 50px;
    }

    .why-wrapper {
        gap: 30px;
    }
}

@media (max-width: 1037px) {
    .levels-section {
        height: auto;
    }
}

@media (max-width: 991px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 29px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: 20px;
    }

    .site-logo img {
        max-height: 40px;
    }

    .about-section,
    .cta-section {
        padding: 70px 0;
    }

    .marquee h2 {
        font-size: 36px;
    }

    .cta-title {
        font-size: 36px;
    }

    .bw-widget-styles {
        min-height: 700px;
    }

    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        flex: 0 0 100%;
        order: 1;
    }

    .about-content {
        flex: 0 0 100%;
        order: 2;
    }

    .founder .about-image {
        flex: 1 1 350px;
    }

    .founder .about-content {
        flex: 1 1 500px;
    }

    .founder .about-container {
        flex-direction: row;
    }

    .about-hero-title {
        font-size: 42px;
    }

    .about-hero-text {
        font-size: 20px;
    }

    .why-pilates-grid {
        grid-template-columns: 1fr;
        grid-gap: 30px;
    }

    .pilates-title-block,
    .pilates-content-block,
    .pilates-quote-block {
        grid-column: 1 / 2;
    }

    .pilates-image-section {
        min-height: 400px;
    }

    .pilates-studio-info {
        padding: 30px 20px;
    }

    .pilates-studio-info p {
        font-size: 20px;
    }

    .level-title {
        font-size: 24px;
    }

    .level-description {
        font-size: 16px;
    }

    .level-tile {
        padding: 24px;
    }

    .levels-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }

    /* Swap display order of tiles */
    .level-tile-2 {
        order: 1;
    }

    .level-tile-5 {
        order: 1;
    }

    .level-tile-4 {
        order: 2;
    }


}

@media (max-width: 767px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 27px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .header-actions .btn {
        display: none;
    }

    .site-logo img {
        max-height: 30px;
    }

    .about-section,
    .cta-section {
        padding: 50px 0;
    }

    .founder .about-image {
        flex: 1 1 350px;
    }

    .founder .about-content {
        flex: 1 1 500px;
    }

    .founder .about-container {
        flex-direction: row;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    .schedule-wrapper,
    .pricing-wrapper {
        padding: 50px 0;
    }

    .marquee h2 {
        font-size: 28px;
    }

    .cta-title {
        font-size: 30px;
    }

    .cta-text {
        font-size: 18px;
    }

    .bw-widget-styles {
        min-height: 800px;
    }

    .level-description {
        max-width: unset;
        text-align: left;
    }

    .about-hero-title {
        font-size: 36px;
    }

    .about-hero-text {
        font-size: 18px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .marquee h2 {
        font-size: 24px;
    }

    .cta-title {
        font-size: 26px;
    }

    .cta-text {
        font-size: 16px;
    }

    .levels-grid {
        grid-template-rows: repeat(6, auto);
        grid-template-columns: unset;
    }

    .level-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .level-tile-4,
    .level-tile-6 {
        display: none;
    }

    .about-hero-title {
        font-size: 30px;
    }

    .about-hero-text {
        font-size: 16px;
    }

    .pilates-image-section {
        min-height: 350px;
    }

    .pilates-studio-info {
        padding: 20px 15px;
    }

    .pilates-studio-info p {
        font-size: 18px;
    }

    .pilates-cta .btn-primary {
        padding: 12px 25px;
        font-size: 16px;
    }

    .post-thumbnail {
        height: 180px;
    }

    .camp-pilates-promo {
        padding: 30px 20px;
    }

    .promo-actions {
        flex-direction: column;
    }

    .legend-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .legend-color {
        margin-bottom: 5px;
    }

    .legend-name {
        margin-bottom: 5px;
    }

    .founder .about-container {
        flex-wrap: wrap;
    }

    .founder .about-image img {
        max-width: 60%;
        margin: 0 auto;
    }

    .about-hero-title h1 {
        font-size: unset;
    }

    .about-hero-text {
        max-width: 100%;
    }

    .why-wrapper .footer-logo {
        display: none;
    }
}

/**
 * Pricing Page Styles for BK Pilates
 */

/* Variables */
:root {
    --primary-color: #000000;
    --secondary-color: #ddc1ac;
    --accent-color: #e0a36f;
    --light-text: #ffffff;
    --dark-text: #333333;
}

/* Hero Section */
.pricing-hero,
.try-section {
    position: relative;
    min-height: 80vh;
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
}

.hero-promo {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.accent-color {
    color: var(--accent-color);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}


/* Contact Form 7 specific styles */
.wpcf7-form.franchise-inquiry-form {
    margin-top: 25px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.wpcf7-form.franchise-inquiry-form .form-fields {
    margin-bottom: 20px;
}

.wpcf7-form.franchise-inquiry-form .name-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wpcf7-form.franchise-inquiry-form .field {
    margin-bottom: 15px;
}

.wpcf7-form.franchise-inquiry-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.wpcf7-form.franchise-inquiry-form input[type="text"],
.wpcf7-form.franchise-inquiry-form input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #fff;
    transition: all 0.3s ease;
    font-size: 14px;
}

.wpcf7-form.franchise-inquiry-form input[type="text"]:focus,
.wpcf7-form.franchise-inquiry-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color, #e0a36f);
    background-color: rgba(255, 255, 255, 0.2);
}

.wpcf7-form.franchise-inquiry-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.wpcf7-form.franchise-inquiry-form .form-submit {
    text-align: center;
    margin-top: 15px;
}

.wpcf7-form.franchise-inquiry-form .wpcf7-submit.btn.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    border: none;
    background-color: var(--accent-color, #e0a36f);
    color: #fff;
}

.wpcf7-form.franchise-inquiry-form .wpcf7-submit.btn.btn-primary:hover {
    background-color: #d19160;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(224, 163, 111, 0.3);
}

/* CF7 Response styling */
.wpcf7-response-output {
    margin: 1.5em 0 1em !important;
    padding: 10px 12px !important;
    border-radius: 5px !important;
    font-size: 13px;
    text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: rgba(76, 175, 80, 0.2) !important;
    border: 1px solid rgba(76, 175, 80, 0.5) !important;
    color: #4CAF50 !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    background-color: rgba(244, 67, 54, 0.2) !important;
    border: 1px solid rgba(244, 67, 54, 0.5) !important;
    color: #F44336 !important;
}

/* Validation errors */
.wpcf7-not-valid-tip {
    color: #ffeb3b !important;
    font-size: 12px !important;
    margin-top: 3px;
}

/* CF7 spinner */
.wpcf7-spinner {
    position: relative !important;
    display: block !important;
    margin: 8px auto 0 !important;
    transform: scale(0.8) !important;
}


@media (max-width: 576px) {
    .wpcf7-form.franchise-inquiry-form {
        max-width: 250px;
    }
}

.locations .hero-section {
    height: 85vh;
}

.locations .hero-content {
    max-width: 1152px;
}

.locations .hero-content p {
    max-width: 900px;
}


.locations .about-hero-section h2 {
    font-family: var(--font-main), sans-serif;
    font-size: 60px;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: unset;
    animation: fadeInDown 1s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


.locations .about-section.founder .one-th {
    max-width: 1400px;
}

.locations .about-section.founder .about-content {
    font-family: var(--font-main), sans-serif;
    font-weight: 500;
    color: #000;
}

.locations .about-section.founder .about-title {
    font-weight: 500;
    font-size: 64px;
    text-transform: uppercase;
}

.locations .about-section.founder .about-text {
    font-weight: 500;
    font-size: 16px;
}


@media (max-width: 991px) {
    .locations .about-section.founder .about-image {
        flex: 1 1 55%;
    }

    .locations .about-section.founder .about-title {
        font-size: 54px;
    }
}

@media (max-width: 767px) {
    .locations .about-section.founder .about-container {
        flex-direction: column;
    }

    .locations .about-section.founder .about-content,
    .locations .about-section.founder .about-image {
        flex: 1 1 auto;
        /*align-self: end;*/
        justify-items: center;
    }

    .locations .about-section.founder .about-image img {
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .locations .about-section.founder .about-title {
        font-size: 35px;
    }

    .locations .about-section.founder .about-text {
        font-weight: 300;
        /*font-size: 16px;*/
    }
}

.locations .about-section.founder .about-container {
    gap: 60px;
}

.locations .page-section .hero-content h2 {
    font-size: 166px;
}

.locations .page-section .hero-content .hero-title p {
    justify-self: center;
}

.locations .page-section .hero-content {
    width: unset;
}

.locations .try-section {
    min-height: unset;
}

.locations .page-section .hero-buttons {
    margin-top: unset;
}


.locations .schedule-section {
    padding: unset;
}

.locations .schedule-section h2 {
    font-size: 64px;
}

.locations .schedule-section .page-header {
    padding: 40px 0 60px;
}

.locations .schedule-section .schedule-wrapper, .pricing-wrapper {
    padding-bottom: 40px;
}

@media (max-width: 767px) {
    .locations .schedule-section .page-header {
        padding: 20px 0 0;
    }

    .locations .schedule-section .schedule-wrapper, .pricing-wrapper {
        padding-top: unset;
    }

    /*.schedule-wrapper, .pricing-wrapper {*/
    /*    padding: 50px 0;*/
    /*}*/
}

.locations .contact-locations-section {
    background-color: #e2c7b6;
    padding: 50px 0;
}

.locations .contact-locations-section .section-title {
    margin-bottom: unset;
    font-size: 64px;
}


.locations .faq-hero-section {
    position: relative;
    padding: 100px 0 100px;
}


.locations .blog-content .blog-title {
    font-weight: 700;
    font-size: 64px;
    color: #403c42;
}

.locations .blog-content .blog-description {
    font-weight: 500;
    font-size: 22px;
    color: #403c42;
}

.locations .images-grid-section {
    height: 80vh;
}


@media (max-width: 991px) {
    .locations .content-wrapper {
        margin-top: 0;
    }
    .locations .images-grid-section {
        height: 50vh;
    }
}

@media (max-width: 767px) {
    .locations .contact-locations-section .section-title,
    .locations .page-section .hero-content h2,
    .locations .schedule-section h2,
    .locations .faq-hero-section h2,
    .locations .marquee h2,
    .locations .about-section.founder h2.about-title {
        font-size: 44px;
    }

    .locations .faq-hero-section {
        position: relative;
        padding: 50px 0 50px;
    }

    .locations .marquee {
        padding: 0 0;
    }
}

@media (max-width: 576px) {

    .locations .about-hero-section {
        height: unset;
    }

    .locations .about-hero-section h2 {
        font-size: unset;
    }

    .locations .page-section {
        padding: 50px 0;
    }

    .locations .faq-hero-section .faq-hero-description {
        margin-bottom: 50px;
    }

    .locations .images-grid-section {
        height: 100vh;
        grid-template-columns: unset;
        grid-template-rows: unset;

    }
}