/* Основні стилі для Tranquil Mind Gardens */
:root {
    --primary-color: #1E3A29;
    --secondary-color: #2C5640;
    --accent-color: #E6A8A8;
    --light-accent: #F5DCDC;
    --background-color: #FFFFFF;
    --text-color: #333333;
    --light-text: #FFFFFF;
    --grey-bg: #F5F5F5;
    --border-color: #E0E0E0;
}

/* Загальні стилі */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Mukta', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Martel', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--accent-color);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    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.5s, height 0.5s;
    z-index: 1;
}

.btn:hover::after {
    width: 400px;
    height: 400px;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    box-shadow: 0 5px 15px rgba(30, 58, 41, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 5px 15px rgba(30, 58, 41, 0.3);
}

/* Хедер */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--background-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Martel', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.logo svg {
    margin-right: 0.75rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-icon {
    margin-right: 0.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.nav-item a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-item:hover a::after,
.nav-item.active a::after {
    width: 100%;
}

.nav-item:hover .nav-icon {
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Секція герой */
.hero {
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    background-color: #F9F9F9;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    padding-right: 2rem;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 120px;
    height: 3px;
    background-color: var(--accent-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-circles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background-color: var(--primary-color);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: 20%;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: -75px;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider path {
    fill: var(--background-color);
}

.wave-divider.reversed {
    transform: rotate(180deg);
    top: 0;
    bottom: auto;
}

/* Секція практики */
.practice-section {
    padding: 80px 0;
    position: relative;
}

.practice-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.practice-card {
    background-color: var(--grey-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.practice-image {
    height: 200px;
    overflow: hidden;
}

.practice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.practice-card:hover .practice-image img {
    transform: scale(1.05);
}

.practice-card h3 {
    padding: 1.25rem 1.25rem 0.5rem;
    font-size: 1.3rem;
}

.practice-card p {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.95rem;
}

/* Секція користь */
.benefits-section {
    padding: 80px 0;
    position: relative;
    background-color: #F9F9F9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.benefit-item h3 {
    margin-bottom: 1rem;
}

.benefit-item p {
    font-size: 0.95rem;
}

/* Секція викладачі */
.teachers-section {
    padding: 80px 0;
    position: relative;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.teacher-card {
    background-color: var(--grey-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.teacher-image {
    height: 300px;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.05);
}

.teacher-card h3 {
    padding: 1.25rem 1.25rem 0.5rem;
}

.teacher-specialization {
    padding: 0 1.25rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.teacher-card p:not(.teacher-specialization) {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.95rem;
}

/* Секція розклад */
.schedule-section {
    padding: 80px 0;
    position: relative;
    background-color: #F9F9F9;
}

.schedule-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.schedule-categories {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.schedule-category {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background-color: var(--background-color);
    border-radius: 10px;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.schedule-category:hover,
.schedule-category.active {
    background-color: var(--primary-color);
}

.schedule-category:hover h3,
.schedule-category.active h3 {
    color: var(--light-text);
}

.schedule-category:hover .category-icon,
.schedule-category.active .category-icon {
    color: var(--light-text);
}

.category-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.schedule-category h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.schedule-content {
    display: none;
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.schedule-content.active {
    display: block;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    font-weight: 600;
    width: 33%;
}

.schedule-class {
    width: 40%;
}

.schedule-teacher {
    width: 27%;
    text-align: right;
    color: var(--secondary-color);
}

/* Секція філософія */
.philosophy-section {
    padding: 80px 0;
    position: relative;
}

.philosophy-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.philosophy-image {
    flex: 1;
}

.philosophy-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.philosophy-text {
    flex: 1;
}

.philosophy-text h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.philosophy-text h3:first-child {
    margin-top: 0;
}

.philosophy-text p {
    margin-bottom: 1.5rem;
}

/* Секція локація */
.location-section {
    padding: 80px 0;
    position: relative;
    background-color: #F9F9F9;
}

.location-map {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.map-container {
    flex: 2;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-item {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.location-item h3 {
    margin-bottom: 0.5rem;
}

.location-item p {
    margin-bottom: 0.5rem;
}

.location-item p:last-child {
    margin-bottom: 0;
}

/* Секція контакт */
.contact-section {
    padding: 80px 0;
    position: relative;
}

.contact-container {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
}

.info-text h3 {
    margin-bottom: 0.5rem;
}

.contact-hours, .contact-note {
    margin-bottom: 2rem;
}

.contact-hours h3, .contact-note h3 {
    margin-bottom: 0.75rem;
}

.contact-form {
    flex: 1;
    background-color: var(--grey-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.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: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Mukta', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.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(30, 58, 41, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    width: auto;
    margin-right: 0.75rem;
    margin-top: 0.3rem;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
}

/* Футер */
.site-footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-item {
    padding: 1rem;
    position: relative;
}

.footer-item:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.footer-item h3 {
    color: var(--light-text);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-logo p {
    color: var(--light-text);
    font-family: 'Martel', serif;
    font-weight: 600;
    font-size: 1.25rem;
    margin-top: 1rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: var(--light-text);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-quote blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.footer-quote blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    line-height: 1;
    color: var(--accent-color);
}

.footer-quote cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 600;
}

.footer-policies ul {
    list-style: none;
}

.footer-policies li {
    margin-bottom: 0.75rem;
}

.footer-policies a {
    color: var(--light-text);
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Адаптивність */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .practice-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-content {
        flex-direction: column;
    }
    
    .location-map {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .hero-text h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .practice-cards,
    .benefits-grid,
    .teachers-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-categories {
        flex-direction: column;
        gap: 1rem;
    }
    
    .schedule-category {
        margin: 0;
    }
    
    .schedule-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .schedule-time,
    .schedule-class,
    .schedule-teacher {
        width: 100%;
        text-align: left;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 100px 0 40px;
    }
    
    .practice-section,
    .benefits-section,
    .teachers-section,
    .schedule-section,
    .philosophy-section,
    .location-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .schedule-content {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 375px) {
    .hero {
        padding: 90px 0 30px;
    }
    
    .wave-divider svg {
        height: 40px;
    }
}