/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #1a1a1a;
    --primary-green: #2d5a27;
    --accent-green: #4a8c40;
    --light-green: #e8f0e6;
    --soft-blue: #6b94b0;
    --warm-orange: #e67e22;
    --text-dark: #333333;
    --text-light: #f5f5f5;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

h1, h2, h3, h4 {
    font-family: 'Roboto Slab', serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

/* Header */
.header {
    background-color: var(--primary-black);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Roboto Slab', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-green);
}

.logo-subtext {
    font-size: 1rem;
    color: var(--text-light);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-label {
    font-size: 0.9rem;
    color: var(--soft-blue);
    font-weight: 500;
    border-bottom: 1px solid var(--accent-green);
    padding-bottom: 0.3rem;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.2rem 0;
}

.main-nav a:hover {
    color: var(--warm-orange);
    transform: translateX(5px);
}

.header-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    color: #ffffff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    color: var(--text-light);
    padding: 5rem 2rem 3rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--warm-orange);
    color: var(--text-light);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
}


.cta-button:hover:before {
    width: 300px;
    height: 300px;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
}

/* Programs Section */
.programs {
    padding: 5rem 2rem;
    background-color: #f5f5f5;
    text-align: center;
}

.programs h2 {
    color: var(--primary-green);
    margin-bottom: 3rem;
}

.programs-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.program-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--accent-green);
}

.program-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 1.5rem;
}

/* Benefits Section */
.benefits {
    padding: 5rem 2rem;
    background: linear-gradient(90deg, var(--light-green) 0%, #ffffff 100%);
    text-align: center;
}

.benefits h2 {
    color: var(--primary-green);
    margin-bottom: 3rem;
}

.benefits-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: scale(1.05);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--soft-blue);
}

/* Infographic Section */
.infographic {
    padding: 5rem 2rem;
    text-align: center;
}

.infographic h2 {
    color: var(--primary-green);
    margin-bottom: 3rem;
}

.infographic-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.infographic-column {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid;
}

.recommendations {
    border-color: var(--accent-green);
}

.contraindications {
    border-color: var(--warm-orange);
}

.infographic-column h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.infographic-column ul {
    list-style: none;
    text-align: left;
}

.infographic-column li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.infographic-column li:before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.recommendations li:before {
    background-color: var(--accent-green);
}

.contraindications li:before {
    background-color: var(--warm-orange);
}

/* Gallery Section */
.gallery {
    padding: 5rem 2rem;
    background-color: #f8f8f8;
    text-align: center;
}

.gallery h2 {
    color: var(--primary-green);
    margin-bottom: 3rem;
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Schedule Section */
.schedule {
    padding: 5rem 2rem;
    text-align: center;
    background: #ffffff;
}

.schedule h2 {
    color: var(--primary-green);
    margin-bottom: 3rem;
}

.schedule-table {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #eaeaea;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.schedule-row {
    display: grid;
    grid-template-columns: 100px repeat(3, 1fr);
    border-bottom: 1px solid #eaeaea;
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-header {
    background-color: var(--primary-green);
    color: var(--text-light);
    font-weight: 600;
}

.schedule-time, .schedule-day, .schedule-item {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-time {
    font-weight: 600;
    background-color: #f8f8f8;
}

.schedule-item {
    font-size: 0.9rem;
    padding: 1rem;
    border-radius: 5px;
    margin: 0.5rem;
}

.beginner {
    background-color: #e8f0e6;
    color: var(--primary-green);
}

.intermediate {
    background-color: #d6e6f0;
    color: var(--soft-blue);
}

.advanced {
    background-color: #fef0e5;
    color: var(--warm-orange);
}

/* Contact Form */
.contact {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    color: var(--text-light);
    text-align: center;
}

.contact h2 {
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--warm-orange);
}

.submit-button {
    background-color: var(--warm-orange);
    color: var(--text-light);
    border: none;
    padding: 1rem 3rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-button:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.6s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.submit-button:hover:before {
    width: 300px;
    height: 300px;
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.footer-section {
    padding: 1rem;
}

.footer-section:nth-child(1) {
    transform: translateY(20px);
}

.footer-section:nth-child(3) {
    transform: translateY(20px);
}

.footer-section h3 {
    color: var(--accent-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h4 {
    color: var(--soft-blue);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.faq-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--warm-orange);
    opacity: 1;
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .benefits-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .main-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-group {
        align-items: center;
    }
    
    .programs-grid,
    .infographic-container,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-table {
        overflow-x: auto;
    }
    
    .schedule-row {
        min-width: 600px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        transform: none !important;
    }
    
    .footer-nav {
        align-items: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    
    .hero {
        padding: 3rem 1rem 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
    }
    
    .programs,
    .benefits,
    .infographic,
    .gallery,
    .schedule,
    .contact {
        padding: 3rem 1rem;
    }
    
    .program-card,
    .benefit-item,
    .infographic-column {
        padding: 1.5rem;
    }
}

@media (max-width: 375px) {
    body {
        font-size: 14px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .nav-label {
        font-size: 0.8rem;
    }
    
    .main-nav a {
        font-size: 0.8rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}