/* Основные стили и переменные */
:root {
    --primary-color: #6a8d73;
    --secondary-color: #f4ebd0;
    --accent-color: #b4a389;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --dark-bg: #333;
    --header-height: 80px;
    --mobile-header-height: 60px;
    --transition: all 0.3s ease;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Контейнер */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    position: relative;
    margin-bottom: 50px;
}

h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    background-color: var(--accent-color);
    color: white;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

/* Хедер */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: white;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    position: relative;
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a:hover:after {
    width: 100%;
}

/* Мобильное меню */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1010;
}

.mobile-menu-button span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 5px;
    transition: var(--transition);
}

.mobile-menu-button.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    text-align: center;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 10px;
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--primary-color);
}

/* Секции */
section {
    padding: 100px 0;
}

/* Главная секция */
.main-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/CfRx3U.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    margin-top: 0;
    padding: 0;
}

.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.main-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.slogan {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.main-content .btn {
    animation: fadeInUp 1s ease 0.4s both;
}

/* О нас */
.about-section {
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

/* Виды тренировок */
.trainings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.training-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.training-card:hover {
    transform: translateY(-10px);
}

.training-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.training-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.training-card p {
    padding: 0 20px 20px;
}

/* Форма записи */
.signup-section {
    background-color: var(--light-bg);
}

.signup-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.signup-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* Отзывы */
.reviews-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.review {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 20px 0;
}

.review-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Галерея */
.gallery-section {
    background-color: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* FAQ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-answer {
    background-color: white;
    padding: 20px;
    display: none;
}

.faq-item:target .faq-answer,
.faq-item:hover .faq-answer {
    display: block;
}

.faq-item:target .faq-question:after,
.faq-item:hover .faq-question:after {
    content: '-';
}

/* Контакты */
.contacts-section {
    background-color: var(--light-bg);
}

.contacts-content {
    display: flex;
    gap: 50px;
}

.contacts-info {
    flex: 1;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contacts-map {
    flex: 1;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Футер */
.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
}

.footer-links li {
    margin-right: 20px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Поп-ап о cookies */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 0;
    z-index: 1001;
}

.cookie-popup-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-popup-content p {
    margin: 0;
    padding-right: 20px;
}

.cookie-popup-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-popup-content .btn {
    white-space: nowrap;
}

/* Страница благодарности */
.thank-you-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--light-bg);
}

.thank-you-content {
    max-width: 600px;
    padding: 50px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.thank-you-content h1 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.thank-you-content p {
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto 20px;
}

.thank-you-animation {
    margin: 40px 0;
    height: 100px;
    position: relative;
    width: 100%;
}

.yoga-pose {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

.yoga-pose:before,
.yoga-pose:after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
}

.yoga-pose:before {
    width: 20px;
    height: 40px;
    border-radius: 20px;
    top: 30px;
    left: 15px;
    transform: rotate(45deg);
}

.yoga-pose:after {
    width: 20px;
    height: 40px;
    border-radius: 20px;
    top: 30px;
    right: 15px;
    transform: rotate(-45deg);
}

/* Страницы политик */
.policy-section {
    padding-top: 150px;
    padding-bottom: 50px;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.policy-content h2 {
    text-align: left;
    margin-top: 30px;
    margin-bottom: 20px;
}

.policy-content h2:after {
    left: 0;
    transform: none;
}

.policy-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Адаптивность */
@media (max-width: 1024px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .main-content h1 {
        font-size: 2.8rem;
    }
    
    .about-content,
    .contacts-content {
        flex-direction: column;
    }
    
    .contacts-map {
        height: 300px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-button {
        display: flex;
    }
    
    section {
        padding: 80px 0;
    }
    
    .main-content h1 {
        font-size: 2.2rem;
    }
    
    .slogan {
        font-size: 1.2rem;
    }
    
    .trainings-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    
    .cookie-popup-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-popup-content p {
        margin-bottom: 10px;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .main-content h1 {
        font-size: 1.8rem;
    }
    
    .trainings-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-content {
        padding: 20px;
    }
} 