/* Основные стили и цветовая палитра */
:root {
    --primary-blue: #2b6cb0;
    --secondary-green: #68d391;
    --accent-orange: #ed8936;
    --accent-pink: #f687b3;
    --soft-white: #f7fafc;
    --dark-text: #2d3748;
    --light-text: #e2e8f0;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--soft-white);
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-orange);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

h2 {
    font-size: 2rem;
    color: var(--primary-blue);
}

h3 {
    font-size: 1.5rem;
    color: var(--dark-text);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-blue);
    color: var(--light-text);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-orange);
    color: var(--light-text);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-green);
    color: var(--dark-text);
}

.btn-secondary:hover {
    background-color: var(--accent-pink);
    color: var(--light-text);
}

/* Хедер */
.header {
    background-color: var(--soft-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo span {
    color: var(--accent-orange);
}

/* Навигация */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: var(--secondary-green);
    color: var(--dark-text);
}

/* Герой секция */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/HHhgej.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Секции */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--accent-pink));
}

/* Карточки йоги */
.yoga-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.yoga-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yoga-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.yoga-card-img {
    height: 200px;
    overflow: hidden;
}

.yoga-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.yoga-card:hover .yoga-card-img img {
    transform: scale(1.1);
}


.yoga-card h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.yoga-card p {
    margin-bottom: 15px;
}

.yoga-card .btn {
    width: 100%;
    margin-top: auto;
}

.yoga-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Форма заказа */
.order-form-section {
    background-color: var(--secondary-green);
    padding: 80px 0;
}

.order-form-section .section-title h2 {
    color: var(--light-text);
}

.order-form-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.order-form-content {
    flex: 1;
    min-width: 300px;
}

.order-form {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
}

select.form-control option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 5px;
    margin-right: 10px;
}

/* Подвал */
.footer {
    background-color: var(--primary-blue);
    color: var(--light-text);
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    color: var(--light-text);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-text);
    transition: color 0.3s ease, padding 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-pink);
    padding-left: 5px;
}

.contact-info {
    margin-bottom: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    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: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    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-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Политики */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.policy-content {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
    margin-bottom: 30px;
    text-align: center;
}

.policy-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content p {
    margin-bottom: 15px;
}

.policy-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

/* Анимации */
@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Адаптивный дизайн */
@media (max-width: 992px) {
    .yoga-cards {
        gap: 20px;
    }
    
    .yoga-card {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--soft-white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .nav-toggle:checked ~ .nav-menu {
        transform: scaleY(1);
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .yoga-card {
        min-width: 100%;
    }
    
    .order-form-content,
    .order-form {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .footer-col {
        min-width: 100%;
    }
}
