/* 
* VitalFlow Yoga - Main Stylesheet
* Author: VitalFlow Yoga
* Version: 1.0
* Color scheme: 
* - Primary Background: #00f0ff (lазурный неон)
* - Secondary Accent: #f7c2c2 (пудрово-розовый)
* - Text Color: #1f1f1f (глубокий антрацит)
* - Accent/Buttons: #c5a3ff (лавандовый спектр)
* - Hover: #ffae72 (светло-оранжевый)
*/

/* =========== Base Styles =========== */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-v25-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-bg: #00f0ff;
    --secondary-accent: #f7c2c2;
    --text-color: #1f1f1f;
    --accent-color: #c5a3ff;
    --hover-color: #ffae72;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #e0e0e0;
    --dark-gray: #888888;
    --black: #000000;
    --shadow: rgba(0, 0, 0, 0.1);
    
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px var(--shadow);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-color);
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.6rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 8rem;
    height: 0.4rem;
    background: var(--accent-color);
    margin: 1.5rem auto 0;
    border-radius: 2rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--hover-color);
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

/* =========== Utility Classes =========== */
.button, 
.cta-button, 
.submit-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(197, 163, 255, 0.3);
}

.button:hover, 
.cta-button:hover, 
.submit-button:hover {
    background: var(--hover-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 174, 114, 0.4);
}

.button-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.button-outline:hover {
    background: var(--accent-color);
    color: var(--white);
}

.cta-button {
    font-size: 1.8rem;
    padding: 1.5rem 4rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #d9baff 100%);
}

/* =========== Header Styles =========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 18rem;
}

.logo img {
    width: 100%;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-menu li {
    margin-left: 3rem;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.5rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
}

.nav-cta:hover {
    background: var(--hover-color);
}

.nav-cta::after {
    display: none;
}

/* =========== Hero Section =========== */
.hero {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #a8fdff 100%);
    padding: 18rem 0 12rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.svg');
    background-size: cover;
    opacity: 0.1;
}

.hero h1 {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 5rem;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 2rem;
    max-width: 70rem;
    margin: 0 auto 4rem;
    color: var(--text-color);
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.hero .cta-button {
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

/* =========== Philosophy Section =========== */
.philosophy {
    padding: 10rem 0;
    background: var(--white);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.text-content {
    animation: fadeInLeft 1s ease;
}

.image-content {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transform: rotate(2deg);
    transition: var(--transition);
    animation: fadeInRight 1s ease;
}

.image-content:hover {
    transform: rotate(0);
}

.image-content img {
    transition: var(--transition);
}

.image-content:hover img {
    transform: scale(1.05);
}

/* =========== Training Types Section =========== */
.training-types {
    background: linear-gradient(to bottom, var(--light-gray) 0%, var(--white) 100%);
    padding: 10rem 0;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.type-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 2.5rem 2.5rem 1.5rem;
    background: var(--secondary-accent);
    position: relative;
}

.featured .card-header {
    background: var(--accent-color);
}

.featured .card-header h3 {
    color: var(--white);
}

.badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--hover-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
}

.card-body {
    padding: 2.5rem;
}

.card-body ul {
    list-style-type: none;
    margin: 2rem 0;
}

.card-body ul li {
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.card-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 2rem 0;
    text-align: center;
}

.featured .price {
    color: var(--hover-color);
}

.card-footer {
    padding: 0 2.5rem 2.5rem;
    text-align: center;
}

/* =========== Benefits Section =========== */
.benefits {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 10rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 5rem;
}

.benefit-item {
    text-align: center;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    background: var(--primary-bg);
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    background: var(--accent-color);
    transform: scale(1.1);
}

.benefit-icon img {
    width: 5rem;
    height: 5rem;
}

.benefit-item h3 {
    margin-bottom: 1.5rem;
}

/* =========== Testimonials Section =========== */
.testimonials {
    background: url('../img/GjOIbM.jpg') center/cover no-repeat;
    position: relative;
    padding: 12rem 0;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials h2 {
    color: var(--text-color);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 5rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem;
    width: calc(33.333% - 2rem);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 8rem;
    line-height: 1;
    color: var(--accent-color);
    opacity: 0.1;
    font-family: serif;
}

.quote {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.client {
    display: flex;
    align-items: center;
}

.client-image {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
    border: 3px solid var(--accent-color);
}

.client-info h4 {
    margin-bottom: 0.5rem;
}

.client-info p {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin: 0;
}

/* =========== FAQ Section =========== */
.faq {
    background: var(--light-gray);
    padding: 10rem 0;
}

.faq-container {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    overflow: hidden;
}

.faq-question {
    padding: 2rem 2.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 1px solid transparent;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.8rem;
}

.faq-toggle {
    width: 2rem;
    height: 2rem;
    position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--accent-color);
    transition: var(--transition);
}

.faq-toggle::before {
    width: 2rem;
    height: 0.2rem;
    top: 0.9rem;
}

.faq-toggle::after {
    width: 0.2rem;
    height: 2rem;
    left: 0.9rem;
    top: 0;
}

.faq-item:target .faq-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 2.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item:target .faq-answer {
    max-height: 50rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.faq-item:target .faq-question {
    border-bottom: 1px solid var(--gray);
}

/* =========== Booking Form Section =========== */
.booking-form {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #a8fdff 100%);
    padding: 10rem 0;
    position: relative;
}

.booking-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.svg');
    background-size: cover;
    opacity: 0.1;
}

.booking-form .container {
    position: relative;
    z-index: 1;
}

.form-intro {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto 5rem;
}

.contact-form {
    max-width: 70rem;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(197, 163, 255, 0.25);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    font-size: 1.4rem;
}

.submit-button {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.8rem;
    margin-top: 1.5rem;
}

/* =========== Contact Info Section =========== */
.contact-info {
    padding: 10rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.contact-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    background: var(--white);
}

.contact-icon {
    width: 7rem;
    height: 7rem;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background: var(--accent-color);
}

.contact-icon img {
    width: 3.5rem;
    height: 3.5rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-card p,
.contact-card a {
    color: var(--text-color);
}

.contact-card a:hover {
    color: var(--accent-color);
}

/* =========== Footer Styles =========== */
.site-footer {
    background: var(--text-color);
    color: var(--white);
    padding: 8rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-logo img {
    max-width: 18rem;
    margin-bottom: 2rem;
}

.footer-logo p {
    font-size: 1.4rem;
    opacity: 0.8;
}

.footer-links h3,
.footer-contact h3,
.footer-legal h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-links ul,
.footer-contact ul,
.footer-legal ul {
    list-style: none;
    margin: 0;
}

.footer-links li,
.footer-contact li,
.footer-legal li {
    margin-bottom: 1rem;
}

.footer-links a,
.footer-contact a,
.footer-legal a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 1.4rem;
    opacity: 0.6;
}

/* =========== Thank You & Error Pages =========== */
.thankyou-section,
.error-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15rem 0 10rem;
}

.thankyou-content,
.error-content {
    max-width: 70rem;
    margin: 0 auto;
}

.thankyou-icon,
.error-icon {
    width: 12rem;
    height: 12rem;
    margin: 0 auto 3rem;
}

.thankyou-buttons,
.error-buttons {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* =========== Policy Pages =========== */
.policy-section {
    padding: 15rem 0 10rem;
}

.policy-content {
    max-width: 80rem;
    margin: 0 auto;
}

.policy-date {
    color: var(--dark-gray);
    margin-bottom: 4rem;
    font-style: italic;
}

.policy-text h2 {
    text-align: left;
    margin-top: 4rem;
}

.policy-text h2::after {
    margin-left: 0;
}

.policy-text h3 {
    margin-top: 3rem;
}

/* =========== Cookie Popup =========== */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 40rem;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius);
    padding: 2rem;
    z-index: 9999;
    display: none;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.cookie-form {
    display: flex;
    justify-content: flex-end;
}

.cookie-button {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.cookie-button:hover {
    background: var(--hover-color);
}

/* =========== Animations =========== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
} 