/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ECF0F1;
}

/* Цветовая палитра */
:root {
    --primary: #2C3E50;
    --secondary: #1ABC9C;
    --accent: #F39C12;
    --background: #ECF0F1;
    --text: #333333;
    --light: #FFFFFF;
}

/* Контейнер */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: var(--light);
    text-decoration: none;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Секции */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--light);
}

/* Хедер */
header {
    background-color: var(--primary);
    color: var(--light);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--secondary);
}

/* Навигация */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent);
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-checkbox {
    display: none;
}

/* Херо секция */
.hero {
    height: 100vh;
    background-image: url('./img/1weFhk.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* О компании */
.about {
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Преимущества */
.benefits {
    text-align: center;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 30px;
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Виды йоги */
.yoga-types {
    text-align: center;
}

.yoga-types-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.yoga-type-item {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: var(--light);
}

.yoga-type-item:hover {
    transform: translateY(-10px);
}

.yoga-type-img {
    height: 250px;
    overflow: hidden;
}

.yoga-type-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.yoga-type-item:hover .yoga-type-img img {
    transform: scale(1.1);
}

.yoga-type-content {
    padding: 25px;
}

/* Форма заказа */
.order-form {
    background-color: var(--primary);
    color: var(--light);
}

.order-form h2 {
    color: var(--light);
    text-align: center;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--light);
    font-size: 1rem;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.3);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

select.form-control option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--accent);
    border: none;
    border-radius: 5px;
    color: var(--light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Отзывы */
.testimonials {
    text-align: center;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 30px;
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(26, 188, 156, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

/* Команда */
.team {
    text-align: center;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member-img {
    height: 300px;
    overflow: hidden;
}

.team-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-info {
    padding: 20px;
    background-color: var(--light);
}

.team-member-name {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.team-member-position {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* Галерея */
.gallery {
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.gallery-item {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    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);
}

/* Контакты */
.contacts {
    text-align: center;
}

.contacts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.contacts-info {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    padding: 30px;
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contacts-map {
    flex: 2;
    min-width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item {
    margin-bottom: 20px;
    text-align: left;
}

.contact-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.contact-text {
    font-weight: 500;
}

.contact-text a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--accent);
}

/* Футер */
footer {
    background-color: var(--primary);
    color: var(--light);
    padding: 50px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: var(--primary);
    color: var(--light);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.5s ease forwards;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-popup-actions {
    display: flex;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 8px 15px;
    background-color: var(--accent);
    color: var(--light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-btn:hover {
    background-color: var(--secondary);
}

/* Страница благодарности */
.thank-you {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary);
}

.thank-you h1 {
    color: var(--primary);
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Страницы политик */
.policy-page {
    padding: 120px 0 80px;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
    margin-bottom: 30px;
}

.policy-container h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-container p {
    margin-bottom: 20px;
}

.policy-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-container ul li {
    margin-bottom: 10px;
}

/* Анимации */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--secondary);
    color: var(--light);
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    font-weight: 500;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-answer {
    background-color: var(--light);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:target .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item:target .faq-question::after {
    content: '-';
}

/* Дополнительные страницы */
.extra-page {
    padding: 120px 0 80px;
}

.extra-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Медиа запросы */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* Мобильное меню */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--light);
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .mobile-menu-checkbox:checked ~ nav ul {
        display: flex;
    }
    
    .footer-container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .benefit-item,
    .yoga-type-item,
    .testimonial-item,
    .team-member,
    .contact-item {
        min-width: 100%;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .gallery-item {
        height: 150px;
    }
}
