/* Global Styles */
:root {
    --primary-color: #6a8d73;
    --secondary-color: #dce2bd;
    --accent-color: #f0a04b;
    --text-color: #333;
    --light-color: #f9f9f9;
    --dark-color: #333;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-right: 20px;
}

.cookie-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Header */
.header {
    background-color: white;
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav ul {
    display: flex;
}

.nav ul li {
    margin-left: 25px;
}

.nav ul li a {
    font-weight: 500;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    animation: fadeIn 1.5s ease-out;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
}

/* Classes Section */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.class-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.class-card:hover {
    transform: translateY(-10px);
}

.class-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.class-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.class-card p {
    padding: 0 20px 20px;
}

/* Schedule Section */
.schedule-table {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.schedule-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.schedule-row.header {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
}

.schedule-row:nth-child(even) {
    background-color: rgba(106, 141, 115, 0.05);
}

/* Prices Section */
.price-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    flex: 1;
    max-width: 300px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.price-card.highlighted {
    transform: scale(1.05);
    border: 2px solid var(--accent-color);
}

.price-card:hover {
    transform: translateY(-10px);
}

.price-card h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.validity {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #777;
}

.price-card ul {
    margin: 20px 0;
    text-align: left;
}

.price-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.price-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--secondary-color);
}

.testimonials-slider {
    display: flex;
    overflow: hidden;
    position: relative;
}

.testimonial {
    min-width: 100%;
    padding: 30px;
    text-align: center;
    animation: slide 15s infinite linear;
}

.testimonial-text {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    margin-bottom: 30px;
}

.testimonial-text::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: white transparent transparent;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
}

/* Booking Section */
.booking {
    background-color: var(--secondary-color);
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.booking-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-map {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ddd;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide {
    0%, 25% {
        transform: translateX(0);
    }
    33%, 58% {
        transform: translateX(-100%);
    }
    66%, 91% {
        transform: translateX(-200%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .price-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .price-card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
    }
    
    .price-card.highlighted {
        transform: scale(1);
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info,
    .contact-map {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header {
        position: relative;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.4s;
    }
    
    .nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .schedule-row {
        font-size: 14px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
    }
    
    .schedule-row.header {
        display: none;
    }
    
    .schedule-row .day::before {
        content: 'День: ';
        font-weight: 700;
    }
    
    .schedule-row .time::before {
        content: 'Час: ';
        font-weight: 700;
    }
    
    .schedule-row .class::before {
        content: 'Клас: ';
        font-weight: 700;
    }
    
    .schedule-row .instructor::before {
        content: 'Інструктор: ';
        font-weight: 700;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo,
    .footer-links,
    .footer-social {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
    }
    
    .classes-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-form {
        padding: 20px;
    }
} 