/* Основні стилі */
:root {
    --primary-color: #00CED1;
    --accent-color: #FF6F61;
    --background-color: #FFF8DC;
    --text-color: #333333;
    --light-color: #FFFFFF;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: var(--light-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Стилі для заголовків */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Стилі для хедера */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

/* Навігаційне меню */
.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 {
    color: var(--text-color);
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

/* Мобільне меню (без JS) */
@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        font-size: 24px;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--text-color);
        height: 2px;
        width: 25px;
        position: relative;
    }
    
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    
    .nav-toggle-label span::before {
        bottom: 8px;
    }
    
    .nav-toggle-label span::after {
        top: 8px;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--light-color);
        height: 0;
        overflow: hidden;
        flex-direction: column;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu li {
        margin: 0;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-toggle:checked ~ .nav-menu {
        height: auto;
    }
}

/* Стилі для секцій */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: var(--light-color);
}

section:nth-child(odd) {
    background-color: var(--background-color);
}

.hero, .contacts-section {
    background-color: transparent;
}

.about {
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(0, 206, 209, 0.1);
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(255, 111, 97, 0.1);
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-text {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--light-color);
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
    min-width: 200px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Стилі для FAQ (без JS) */
.faq-section {
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 206, 209, 0.1) 0%, rgba(0, 206, 209, 0) 70%);
    z-index: 0;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: 5%;
    right: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 111, 97, 0.1) 0%, rgba(255, 111, 97, 0) 70%);
    z-index: 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 15px;
    cursor: pointer;
    position: relative;
}

.faq-answer {
    background-color: var(--light-color);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

details {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    overflow: hidden;
}

details:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

summary {
    background-color: var(--light-color);
    color: var(--text-color);
    padding: 18px 20px;
    cursor: pointer;
    font-weight: bold;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
}

summary:hover {
    background-color: rgba(0, 206, 209, 0.05);
}

summary:focus {
    outline: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

details[open] summary {
    border-left: 4px solid var(--accent-color);
    color: var(--accent-color);
}

details[open] summary::after {
    content: '−';
    color: var(--accent-color);
}

details div {
    padding: 20px;
    background-color: var(--light-color);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Стилі для форми */
.order-section {
    position: relative;
    overflow: hidden;
}

.order-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(0, 206, 209, 0.1);
    z-index: 0;
}

.order-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 111, 97, 0.1);
    z-index: 0;
}

.form-container {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border-top: 4px solid var(--primary-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-input,
.form-select {
    width: 100%;
    padding: 14px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 16px;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 206, 209, 0.2);
    outline: none;
}

.form-select option {
    color: black;
    background-color: white;
    padding: 10px;
}

.form-checkbox {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.form-checkbox-label {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
}

.form-container .btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 10px;
    transition: all 0.4s ease;
}

.form-container .btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 206, 209, 0.3);
}

/* Стилі для сторінок політик */
.policy-container {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 40px auto;
}

.policy-title {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Стилі для додаткових сторінок */
.page-block {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 40px auto;
}

/* Стилі для херо секції */
.hero {
    background-image: url('../img/pLUAuz.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Стилі для блоку з видами йоги */
.yoga-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Стилі для блоку переваг */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.yoga-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.yoga-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.yoga-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.yoga-card-content {
    padding: 20px;
}

.yoga-card-title {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Стилі для відгуків */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.1) 0%, rgba(255, 111, 97, 0.05) 100%);
    z-index: 0;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 60px;
    color: rgba(0, 206, 209, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    padding-left: 15px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
    text-align: right;
}

/* Стилі для контактів */
.contacts-section {
    position: relative;
}

.contacts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.05) 0%, rgba(255, 111, 97, 0.05) 100%);
    z-index: -1;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-details {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-map {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    font-size: 28px;
    color: var(--accent-color);
    margin-right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стилі для підвалу */
footer {
    background-color: var(--light-color);
    padding: 60px 0 30px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Адаптивність */
@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .form-container,
    .policy-container,
    .page-block {
        padding: 20px;
    }
}
