/* Общие стили и сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #4a4a4a;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #8e44ad;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #8e44ad;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #7d32a1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(142, 68, 173, 0.3);
}

/* Шапка */
.header {
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8e44ad;
}

.nav__list {
    display: flex;
}

.nav__item {
    margin-left: 1.5rem;
}

.nav__link {
    font-weight: 600;
    position: relative;
}

.nav__link::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #8e44ad;
    transition: width 0.3s ease;
}

.nav__link:hover {
    color: #8e44ad;
}

.nav__link:hover::after {
    width: 100%;
}

.phone__link {
    font-weight: 600;
    color: #8e44ad;
}

/* Герой-блок */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/Z3CkRc.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.hero__inner {
    width: 100%;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease-out;
}

.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease-out 0.2s both;
}

.hero__btn {
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

/* О нас */
.about {
    padding: 100px 0;
}

.about__inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about__image {
    flex: 0 0 50%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about__content {
    flex: 0 0 50%;
}

.about__content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Преимущества */
.benefits {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.benefits__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.benefit-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-card__title {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #8e44ad;
}

/* Галерея */
.gallery {
    padding: 100px 0;
}

.gallery__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery__item {
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    position: relative;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery__item:hover img {
    transform: scale(1.1);
}

/* Видео-блок */
.video-block {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.video-block__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-block__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Программы тренировок */
.programs {
    padding: 100px 0;
}

.programs__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-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, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.program-card__image {
    height: 200px;
    overflow: hidden;
}

.program-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-card__image img {
    transform: scale(1.1);
}

.program-card__title {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: #8e44ad;
}

.program-card__text {
    padding: 0 20px 20px;
}

.program-card__btn {
    display: block;
    margin: 0 20px 20px;
}

/* Форма бронирования */
.booking {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.booking__inner {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.booking-form__group {
    margin-bottom: 20px;
}

.booking-form__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.booking-form__input,
.booking-form__select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.booking-form__input:focus,
.booking-form__select:focus {
    outline: none;
    border-color: #8e44ad;
}

.booking-form__btn {
    width: 100%;
    margin-top: 20px;
}

.booking-form__error {
    background-color: #ffebee;
    border: 1px solid #f44336;
    color: #d32f2f;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    text-align: center;
}

/* Отзывы */
.testimonials {
    padding: 100px 0;
}

.testimonials__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-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;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card__image {
    height: 200px;
    overflow: hidden;
}

.testimonial-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__content {
    padding: 20px;
}

.testimonial-card__name {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.testimonial-card__rating {
    color: #ffc107;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* FAQ */
.faq {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.faq__inner {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-item__question {
    padding: 20px;
    font-weight: 600;
    color: #8e44ad;
    cursor: pointer;
    position: relative;
}

.faq-item__question::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item__answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-item:hover .faq-item__answer {
    display: block;
}

.faq-item:hover .faq-item__question::after {
    transform: translateY(-50%) rotate(45deg);
}

/* Тарифы */
.prices {
    padding: 100px 0;
}

.prices__inner {
    max-width: 900px;
    margin: 0 auto;
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.prices-table th,
.prices-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.prices-table th {
    background-color: #8e44ad;
    color: #fff;
    font-weight: 600;
}

.prices-table tr:last-child td {
    border-bottom: none;
}

.prices-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.prices__note {
    text-align: center;
    font-style: italic;
    color: #777;
}

/* Контакты */
.contacts {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contacts__item-title {
    font-size: 1.2rem;
    color: #8e44ad;
    margin-bottom: 10px;
}

.contacts__map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Подвал */
.footer {
    background-color: #333;
    color: #fff;
    padding: 80px 0 30px;
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.footer__logo {
    margin-bottom: 20px;
}

.footer__text {
    color: #bbb;
    margin-bottom: 20px;
}

.footer__title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer__nav li,
.footer__contacts li {
    margin-bottom: 10px;
}

.footer__nav a:hover {
    color: #8e44ad;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #bbb;
}

/* Поп-ап согласия на cookies */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    z-index: 9999;
    animation: slideUp 0.5s ease;
}

.cookie-consent__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-consent__text {
    margin-right: 20px;
}

.cookie-consent__text a {
    color: #8e44ad;
    text-decoration: underline;
}

.cookie-consent__btn {
    flex-shrink: 0;
}

/* Страница "Спасибо" */
.thanks {
    padding: 150px 0 100px;
    text-align: center;
}

.thanks__inner {
    max-width: 600px;
    margin: 0 auto;
}

.thanks__title {
    font-size: 2.5rem;
    color: #8e44ad;
    margin-bottom: 20px;
}

.thanks__text {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.thanks__image {
    margin: 30px auto;
    max-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thanks__btn {
    display: inline-block;
    margin-top: 20px;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 1200px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero__title {
        font-size: 3rem;
    }
    
    .programs__inner,
    .benefits__inner,
    .testimonials__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about__inner {
        flex-direction: column;
    }
    
    .about__image,
    .about__content {
        flex: 0 0 100%;
    }
    
    .contacts__inner {
        grid-template-columns: 1fr;
    }
    
    .footer__inner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery__inner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cookie-consent__inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent__text {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .header {
        padding: 15px 0;
        position: relative;
    }
    
    .nav {
        display: none;
    }
    
    .programs__inner,
    .benefits__inner,
    .testimonials__inner {
        grid-template-columns: 1fr;
    }
    
    .booking__inner {
        padding: 30px 20px;
    }
    
    .prices-table th,
    .prices-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .gallery__inner {
        grid-template-columns: 1fr;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
    }
    
    .prices-table {
        font-size: 0.8rem;
    }
    
    .prices-table th,
    .prices-table td {
        padding: 8px;
    }
}

/* Стили для страниц с политиками */
.policy {
    padding: 150px 0 100px;
}

.policy__inner {
    max-width: 800px;
    margin: 0 auto;
}

.policy__title {
    font-size: 2.5rem;
    color: #4a4a4a;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.policy__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #8e44ad;
}

.policy__content {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy__content h2 {
    color: #8e44ad;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.policy__content h3 {
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.policy__content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.policy__content ul, 
.policy__content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.policy__content ul li, 
.policy__content ol li {
    margin-bottom: 10px;
    list-style: disc;
}

.policy__content a {
    color: #8e44ad;
    text-decoration: underline;
}

.policy__content a:hover {
    color: #7d32a1;
}

@media (max-width: 768px) {
    .policy {
        padding: 120px 0 70px;
    }
    
    .policy__title {
        font-size: 2rem;
    }
    
    .policy__content {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .policy__title {
        font-size: 1.8rem;
    }
    
    .policy__content h2 {
        font-size: 1.3rem;
    }
} 