/* Загальні стилі */
:root {
    --primary-color: #2C5E29;
    --secondary-color: #CD5D3D;
    --dark-color: #212121;
    --light-color: #f9f9f9;
    --white-color: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-color);
}

h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 94, 41, 0.3);
}

.primary-btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
}

.primary-btn:hover:before {
    width: 300px;
    height: 300px;
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
    position: relative;
}

section:nth-child(odd) {
    background-color: var(--white-color);
}

section:nth-child(even) {
    background-color: var(--light-color);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider.inverted {
    top: 0;
    bottom: auto;
    transform: rotate(180deg);
}

/* Шапка сайту */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 12px;
}

.logo h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 600;
}

.logo h1 span {
    font-weight: 300;
    color: var(--secondary-color);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.main-nav a:hover:before {
    width: 100%;
}

.nav-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 20px;
    border-radius: 30px;
}

.nav-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.nav-btn:before {
    display: none;
}

/* Герой секція */
.hero {
    padding: 160px 0 120px;
    background-color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    max-width: 500px;
    padding-right: 30px;
}

.hero-text h2 {
    font-size: 46px;
    text-align: left;
    margin-bottom: 25px;
}

.hero-text h2:after {
    left: 0;
    transform: none;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Філософія */
.philosophy-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.philosophy-text {
    flex: 1;
}

.philosophy-image {
    flex: 1;
}

.philosophy-image img {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Практики */
.practices-block {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.practice-card {
    display: flex;
    align-items: center;
    gap: 40px;
}

.practice-card.reversed {
    flex-direction: row-reverse;
}

.practice-image {
    flex: 1;
    max-width: 500px;
}

.practice-image img {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.practice-content {
    flex: 1;
}

.practice-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.practice-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

/* Стилі йоги */
.styles-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.style-card {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.style-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.style-icon {
    margin-bottom: 20px;
}

.style-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.style-details {
    text-align: left;
}

.style-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.style-benefits span {
    background-color: rgba(44, 94, 41, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
}

/* Мудри */
.mudras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.mudra-card {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.mudra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.mudra-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
}

.mudra-image img {
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mudra-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.mudra-instruction {
    display: block;
    margin-top: 15px;
    font-style: italic;
    color: var(--secondary-color);
    font-size: 14px;
}

/* Галерея */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Відгуки */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.testimonial-content {
    flex: 1;
}

.testimonial-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
}

.testimonial-content p:before {
    content: '"';
    font-size: 60px;
    color: rgba(44, 94, 41, 0.1);
    position: absolute;
    top: -30px;
    left: -10px;
    font-family: serif;
}

/* Контакти */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(205, 93, 61, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.about-block {
    grid-column: span 2;
}

.about-block h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.contact-form {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 94, 41, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: 400;
}

/* Фон с мандалой */
.mandala-bg {
    position: fixed;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    z-index: -1;
    opacity: 0.1;
}

/* Футер */
footer {
    background-color: #0e2a0d;
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 40px;
}

.footer-about {
    grid-column: 1;
    grid-row: 1;
}

.footer-nav {
    grid-column: 2;
    grid-row: 1;
}

.footer-policies {
    grid-column: 1;
    grid-row: 2;
}

.footer-contact {
    grid-column: 2;
    grid-row: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo h3 {
    color: var(--white-color);
    font-size: 20px;
    margin: 0 0 0 12px;
}

.footer-logo h3 span {
    color: var(--secondary-color);
    font-weight: 300;
}

footer h3 {
    color: var(--white-color);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
}

footer h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

footer a:hover {
    color: var(--secondary-color);
}

footer ul li {
    margin-bottom: 12px;
}

.footer-form {
    margin-top: 20px;
}

.footer-form form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white-color);
    font-family: 'Montserrat', sans-serif;
}

.footer-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.email {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Адаптивный дизайн */
@media (max-width: 1024px) {
    h2 {
        font-size: 32px;
    }
    
    .hero-text h2 {
        font-size: 38px;
    }
    
    .practice-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 130px 0 80px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-text h2 {
        text-align: center;
        font-size: 34px;
    }
    
    .hero-text h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .philosophy-content {
        flex-direction: column-reverse;
        gap: 30px;
    }
    
    .practice-card,
    .practice-card.reversed {
        flex-direction: column;
        gap: 30px;
    }
    
    .practice-image {
        max-width: 100%;
    }
    
    .main-nav {
        display: none;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .about-block {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .footer-about,
    .footer-nav,
    .footer-policies,
    .footer-contact {
        grid-column: 1;
    }
    
    .footer-about {
        grid-row: 1;
    }
    
    .footer-nav {
        grid-row: 2;
    }
    
    .footer-policies {
        grid-row: 3;
    }
    
    .footer-contact {
        grid-row: 4;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 28px;
    }
    
    .hero-text h2 {
        font-size: 30px;
    }
    
    .benefit-card,
    .mudra-card,
    .style-card,
    .testimonial-card {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .footer-form form {
        flex-direction: column;
    }
    
    .step {
        gap: 10px;
    }
    
    .step span {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    h2 {
        font-size: 26px;
    }
    
    .hero-text h2 {
        font-size: 28px;
    }
    
    .section-intro {
        font-size: 16px;
    }
    
    .practice-steps {
        gap: 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}