/* 
* Lumi Yoga Space - Основные стили 
*/

/* ======= Базовые стили ======= */
:root {
    --primary-color: #7c9a92;
    --secondary-color: #e0e8e5;
    --accent-color: #f5b553;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-text: #222222;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 6px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--dark-text);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* ======= Header ======= */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.header__logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.header__logo span {
    color: var(--accent-color);
}

.header__menu {
    display: flex;
    align-items: center;
}

.header__nav {
    display: flex;
}

.header__nav-item {
    margin-left: 30px;
}

.header__nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.header__nav-link:hover {
    color: var(--primary-color);
}

.header__nav-link:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.header__nav-link:hover:after {
    width: 100%;
}

.header__phone {
    margin-left: 40px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.header__phone::before {
    content: '';
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    background-color: var(--accent-color);
    mask-image: url('../img/Qnmk7e.jpg');
    mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-image: url('../img/Qnmk7e.jpg');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
}

.header__burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* ======= Герой-блок ======= */
.hero {
    padding: 150px 0;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/Q2WXia.jpg') no-repeat center/cover;
    color: #fff;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light-text);
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======= О нас ======= */
.about {
    background-color: var(--light-bg);
}

.about__content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about__image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.about__text {
    flex: 1;
}

.about__text p:last-child {
    margin-bottom: 0;
}

/* ======= Преимущества ======= */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px var(--shadow-color);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.benefit-card__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    border-radius: 50%;
    padding: 15px;
}

.benefit-card h3 {
    margin-bottom: 15px;
}

.benefit-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ======= Программы тренировок ======= */
.programs {
    background-color: var(--light-bg);
}

.programs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.program-card__image {
    height: 200px;
    overflow: hidden;
}

.program-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-card__image img {
    transform: scale(1.1);
}

.program-card h3 {
    padding: 20px 20px 10px;
}

.program-card p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ======= Расписание ======= */
.schedule__table-wrapper {
    overflow-x: auto;
}

.schedule__table {
    width: 100%;
    border-collapse: collapse;
}

.schedule__table th,
.schedule__table td {
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.schedule__table th {
    background-color: var(--primary-color);
    color: var(--light-text);
    font-weight: 500;
}

.schedule__table tbody tr:nth-child(even) {
    background-color: var(--light-bg);
}

.schedule__table tbody tr:hover {
    background-color: var(--secondary-color);
}

/* ======= Форма быстрого заказа ======= */
.booking {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/RHrSer.jpg') no-repeat center/cover;
    color: #fff;
}

.booking h2,
.booking h2:after {
    color: var(--light-text);
    background-color: var(--light-text);
}

.booking__form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.booking__form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    transition: var(--transition);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="tel"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.2);
}

.form-group input[type="checkbox"] {
    margin-right: 10px;
}

.form-group select {
    appearance: none;
    background-image: url('../img/sibHN9.jpg');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

.form-group select option {
    background-color: #444;
    color: #fff;
}

.booking__form .btn {
    width: 100%;
    margin-top: 10px;
}

/* ======= Наши тренеры ======= */
.teachers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.teacher-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: var(--transition);
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.teacher-card__image {
    height: 300px;
    overflow: hidden;
}

.teacher-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.teacher-card:hover .teacher-card__image img {
    transform: scale(1.1);
}

.teacher-card h3 {
    padding: 20px 20px 5px;
    margin-bottom: 5px;
}

.teacher-card__specialization {
    padding: 0 20px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.teacher-card p:last-child {
    padding: 10px 20px 20px;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ======= Галерея ======= */
.gallery {
    background-color: var(--light-bg);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery__item {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: var(--transition);
}

.gallery__item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery__item:hover img {
    transform: scale(1.1);
}

/* ======= Отзывы клиентов ======= */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-color);
    display: flex;
    flex-direction: column;
}

.testimonial-card__image {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 30px auto 20px;
    border: 3px solid var(--primary-color);
}

.testimonial-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__content {
    padding: 0 30px 30px;
    text-align: center;
}

.testimonial-card__content p:first-child {
    position: relative;
    font-style: italic;
}

.testimonial-card__content p:first-child:before,
.testimonial-card__content p:first-child:after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.testimonial-card__author {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 0;
}

/* ======= FAQ ======= */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.faq__item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq__item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq__item p {
    margin-bottom: 0;
}

/* ======= Цены и абонементы ======= */
.pricing {
    background-color: var(--light-bg);
}

.pricing__table-wrapper {
    overflow-x: auto;
}

.pricing__table {
    width: 100%;
    border-collapse: collapse;
}

.pricing__table th,
.pricing__table td {
    padding: 15px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.pricing__table th {
    background-color: var(--primary-color);
    color: var(--light-text);
    font-weight: 500;
}

.pricing__table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.5);
}

.pricing__table tbody tr:hover {
    background-color: var(--secondary-color);
}

.pricing__table td:last-child {
    font-weight: 600;
    color: var(--primary-color);
}

.pricing__note {
    margin-top: 20px;
    font-size: 0.9rem;
    text-align: center;
}

/* ======= Контакты ======= */
.contacts__content {
    display: flex;
    gap: 50px;
}

.contacts__info {
    flex: 1;
}

.contacts__map {
    flex: 2;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.contacts__map iframe {
    display: block;
}

.contacts__item {
    margin-bottom: 40px;
}

.contacts__item:last-child {
    margin-bottom: 0;
}

.contacts__item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contacts__item p {
    margin-bottom: 5px;
}

/* ======= Footer ======= */
.footer {
    background-color: #333;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer__content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__column {
    flex: 1;
    min-width: 200px;
}

.footer__logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: block;
}

.footer__logo span {
    color: var(--accent-color);
}

.footer__text {
    margin-bottom: 20px;
}

.footer__heading {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--accent-color);
}

.footer__schedule-item {
    margin-bottom: 10px;
    display: flex;
}

.footer__schedule-day {
    min-width: 100px;
    font-weight: 500;
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

.footer__policy-links {
    margin-top: 10px;
}

.footer__policy-links a {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer__policy-links a:hover {
    color: var(--accent-color);
}

/* ======= Cookie Popup ======= */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px var(--shadow-color);
    z-index: 9999;
}

.cookie-popup__text {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.cookie-popup__buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-popup__button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.9rem;
}

.cookie-popup__button--accept {
    background-color: var(--primary-color);
    color: #fff;
}

.cookie-popup__button--accept:hover {
    background-color: var(--accent-color);
}

/* ======= Thanks Page ======= */
.thanks {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 50px 20px;
    text-align: center;
}

.thanks__icon {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.thanks h1 {
    margin-bottom: 20px;
}

.thanks p {
    max-width: 600px;
    margin-bottom: 30px;
}

/* ======= Policy Pages ======= */
.policy {
    max-width: 800px;
    margin: 100px auto 50px;
    padding: 0 20px;
}

.policy h1 {
    margin-bottom: 30px;
}

.policy h2 {
    font-size: 1.5rem;
    text-align: left;
    margin: 40px 0 20px;
}

.policy h2:after {
    margin: 15px 0 0;
}

.policy p, .policy ul, .policy ol {
    margin-bottom: 20px;
}

.policy ul, .policy ol {
    padding-left: 20px;
}

.policy ul li, .policy ol li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.policy ol li {
    list-style-type: decimal;
}

/* ======= Media Queries ======= */
@media (max-width: 1024px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about__content {
        flex-direction: column;
    }
    
    .about__image, .about__text {
        width: 100%;
    }
    
    .contacts__content {
        flex-direction: column;
    }
    
    .contacts__map {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header {
        position: relative;
    }
    
    .header__container {
        padding: 10px 20px;
    }
    
    .header__menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        transition: var(--transition);
        box-shadow: 5px 0 20px var(--shadow-color);
        z-index: 1001;
    }
    
    .header__menu.active {
        left: 0;
    }
    
    .header__nav {
        flex-direction: column;
        width: 100%;
    }
    
    .header__nav-item {
        margin: 0 0 20px;
        width: 100%;
    }
    
    .header__phone {
        margin: 20px 0 0;
    }
    
    .header__burger {
        display: flex;
        z-index: 1002;
    }
    
    .header__burger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .header__burger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .header__burger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1000;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .hero {
        height: auto;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .benefits__grid,
    .programs__grid,
    .teachers__grid,
    .gallery__grid,
    .testimonials__grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    
    .booking__form {
        padding: 30px 20px;
    }
    
    .footer__content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer__column {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .section {
        padding: 40px 0;
    }
}

/* Стили для сообщений об ошибках формы */
.booking__errors {
    background-color: rgba(255, 0, 0, 0.1);
    border-left: 4px solid #ff3b30;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

.booking__errors p {
    margin: 0 0 10px 0;
    font-weight: 500;
    color: #ff3b30;
}

.booking__errors ul {
    margin: 0;
    padding-left: 20px;
}

.booking__errors li {
    color: #333;
    margin-bottom: 5px;
}

/* Стили для отображения информации о номере заявки на странице thank-you */
.thanks__reference {
    background-color: rgba(74, 144, 226, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
}

.thanks__reference p {
    margin: 0;
    font-size: 16px;
}

.thanks__reference strong {
    color: var(--primary-color);
    font-size: 18px;
}

/* Стили для успешных сообщений */
.success-message {
    background-color: rgba(0, 200, 81, 0.1);
    border-left: 4px solid #00c851;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

.success-message p {
    margin: 0;
    color: #00a346;
}

/* Стили для индикации обязательных полей формы */
.form-group label:after {
    content: " *";
    color: #ff3b30;
}

.form-group label.optional:after {
    content: "";
}

/* Стили для директории logs */
@media print {
    .no-print {
        display: none;
    }
} 