/* Імпорт шрифтів */
@import url('https://fonts.googleapis.com/css2?family=Martel:wght@300;400;600;700&family=Mukta:wght@300;400;500;600&display=swap');

/* Загальні стилі */
:root {
    --primary-color: #3b6b4f;
    --secondary-color: #15231d;
    --accent-color: #d6e9de;
    --text-color: #333333;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Mukta', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Martel', serif;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    color: var(--white-color);
    background-color: var(--primary-color);
    font-family: 'Martel', serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-full {
    width: 100%;
}

.wave-divider {
    position: relative;
    width: 100%;
    height: 60px;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Хедер та навігація */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    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: 1rem 5%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    margin-right: 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.main-nav a {
    position: relative;
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-link {
    opacity: 0.7;
    transition: var(--transition);
}

.nav-link:hover {
    opacity: 1;
}

.main-nav li:not(:hover) .nav-link {
    filter: blur(0.5px);
}

/* Герой секція */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 6rem;
    background: linear-gradient(180deg, rgba(214, 233, 222, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
    overflow: hidden;
}

.mandala-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.3;
    z-index: 1;
}

.mandala {
    max-width: 100%;
    max-height: 100%;
    animation: rotate 120s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    max-width: 700px;
    text-align: center;
    z-index: 2;
    padding: 2rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Про нас секція */
.about-section {
    position: relative;
    background-color: var(--white-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.about-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.principle-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--light-color);
    transition: var(--transition);
}

.principle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.principle-icon {
    margin: 0 auto 1rem;
}

/* Переваги секція */
.benefits-section {
    position: relative;
    background-color: var(--light-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin: 0 auto 1.5rem;
}

.infographic {
    margin-top: 4rem;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.infographic h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-chart {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.chart-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 2fr;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.chart-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 2fr;
    border-bottom: 1px solid #ddd;
}

.chart-row:last-child {
    border-bottom: none;
}

.chart-cell {
    padding: 1rem;
    font-size: 0.95rem;
}

.header-cell {
    font-weight: 600;
    padding: 1rem;
}

/* Програми секція */
.programs-section {
    position: relative;
    background-color: var(--white-color);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.program-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--white-color);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.program-image {
    height: 250px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-content {
    padding: 2rem;
}

.program-details {
    list-style: none;
    margin: 1.5rem 0;
}

.program-details li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.program-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.practice-journal {
    margin-top: 4rem;
    padding: 3rem;
    border-radius: 10px;
    background-color: var(--light-color);
    text-align: center;
}

.journal-template {
    margin: 2rem auto;
    max-width: 800px;
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.journal-header {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 600;
}

.journal-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-bottom: 1px solid #ddd;
    background-color: var(--white-color);
}

.journal-row:last-child {
    border-bottom: none;
}

.journal-cell {
    padding: 1rem;
    border-right: 1px solid #ddd;
    min-height: 60px;
}

.journal-cell:last-child {
    border-right: none;
}

/* Галерея секція */
.gallery-section {
    position: relative;
    background-color: var(--light-color);
}

.gallery-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 250px;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Контактна секція */
.contact-section {
    position: relative;
    background-color: var(--white-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    margin-right: 1rem;
}

.contact-text {
    margin: 2rem 0;
}

.testimonial {
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--light-color);
    position: relative;
    margin-top: 3rem;
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: -15px;
    left: 10px;
    opacity: 0.2;
}

.author {
    text-align: right;
    font-weight: 600;
}

.contact-form-container {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Mukta', sans-serif;
    font-size: 1rem;
    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 2px rgba(59, 107, 79, 0.2);
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Футер */
footer {
    position: relative;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 4rem 0 2rem;
    overflow: hidden;
}

.footer-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M10 50 Q20 20 30 50 Q40 80 50 50 Q60 20 70 50 Q80 80 90 50" stroke="%23ffffff" stroke-width="1" fill="none" opacity="0.05"/></svg>');
    background-repeat: repeat;
    background-size: 200px;
    opacity: 0.1;
    z-index: 1;
}

.footer-content {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    z-index: 2;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo svg {
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: var(--white-color);
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.footer-links a {
    color: var(--white-color);
    opacity: 0.8;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-newsletter {
    padding: 1rem;
}

.footer-newsletter h4 {
    color: var(--white-color);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Mukta', sans-serif;
    font-size: 0.9rem;
}

.newsletter-form .btn {
    border-radius: 0 4px 4px 0;
    padding: 10px 15px;
    border-color: var(--white-color);
    color: var(--secondary-color);
    background-color: var(--white-color);
}

.newsletter-form .btn:hover {
    background-color: transparent;
    color: var(--white-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

/* Адаптивність */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 3rem 0;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .header-container {
        flex-direction: column;
        padding: 1rem 2%;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .programs-grid {
        gap: 2rem;
    }
    
    .chart-header, 
    .chart-row {
        grid-template-columns: 1fr;
    }
    
    .chart-cell {
        border-bottom: 1px solid #ddd;
        padding: 0.8rem;
    }
    
    .journal-header,
    .journal-row {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .journal-cell {
        min-height: 50px;
        padding: 0.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 0.5rem;
    }
    
    .newsletter-form .btn {
        border-radius: 4px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 2rem 0;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 6rem 1rem 4rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .program-image {
        height: 200px;
    }
    
    .program-content {
        padding: 1.5rem;
    }
    
    .benefit-card,
    .principle-card {
        padding: 1.5rem;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
}

@media (max-width: 375px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .main-nav a {
        font-size: 0.9rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .program-image {
        height: 180px;
    }
    
    .gallery-item {
        height: 180px;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .quote {
        font-size: 1rem;
    }
}

/* Стилі для thank you сторінки */
.thankyou-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
    background-color: var(--light-color);
}

.thankyou-content {
    max-width: 700px;
    padding: 3rem;
    border-radius: 10px;
    background-color: var(--white-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.thankyou-icon {
    margin: 0 auto 2rem;
}

.thankyou-content h2 {
    margin-bottom: 1.5rem;
}

.return-btn {
    margin-top: 2rem;
}

/* Стилі для сторінок політик */
.policy-section {
    padding: 8rem 2rem 4rem;
    background-color: var(--light-color);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 10px;
    background-color: var(--white-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.policy-container h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.policy-container h2 {
    margin: 2.5rem 0 1.5rem;
    text-align: left;
}

.policy-container h2::after {
    margin: 15px 0 0;
}

.policy-container h3 {
    margin: 2rem 0 1rem;
}

.policy-container p {
    margin-bottom: 1.5rem;
}

.policy-container ul,
.policy-container ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.policy-container li {
    margin-bottom: 0.8rem;
}

.policy-container .return-btn {
    display: block;
    max-width: 200px;
    margin: 3rem auto 0;
    text-align: center;
}

/* Анімації та ефекти */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn:hover {
    animation: pulse 1.5s infinite ease-in-out;
}

/* Стилі для favicon */
/* Favicon буде згенеровано автоматично за допомогою SVG */

/* Ефекти для кнопок при наведенні */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300%;
    height: 300%;
}

.btn-outline::before {
    background-color: rgba(59, 107, 79, 0.1);
}

/* Стилі для енергетичних ліній */
.energy-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.1;
}

.energy-lines path {
    stroke: var(--primary-color);
    stroke-width: 1;
    fill: none;
}

/* Стилі для стилізованих елементів стихій */
.element-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.element-icon {
    position: relative;
    width: 80px;
    height: 80px;
}

.element-icon svg {
    width: 100%;
    height: 100%;
}

/* Пульсуючі ефекти для іконок */
.element-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(59, 107, 79, 0.2);
    z-index: -1;
    animation: pulse 3s infinite ease-in-out;
}

.element-icon:nth-child(2)::after {
    animation-delay: 0.5s;
}

.element-icon:nth-child(3)::after {
    animation-delay: 1s;
}

.element-icon:nth-child(4)::after {
    animation-delay: 1.5s;
}