/* Base Styles */
:root {
    --primary-color: #006633;
    --secondary-color: #ff8c00;
    --text-color: #333;
    --light-text: #fff;
    --light-bg: #fff;
    --dark-bg: #222;
    --grey-bg: #f9f9f9;
    --border-color: #e0e0e0;
    --header-font: 'Crimson Text', serif;
    --body-font: 'Lato', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.decorative-line {
    height: 3px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 0 auto;
    position: relative;
}

.decorative-line::before,
.decorative-line::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 30px;
    background-color: var(--secondary-color);
}

.decorative-line::before {
    left: -40px;
}

.decorative-line::after {
    right: -40px;
}

/* Header Styles */
header {
    background-color: var(--light-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    flex-shrink: 0;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-button {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-button:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Wave Styles */
.wave-top, .wave-bottom, .hero-wave-top, .hero-wave-bottom {
    position: absolute;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-top {
    top: 0;
}

.wave-bottom {
    bottom: 0;
}

.wave-top svg, .wave-bottom svg, .hero-wave-top svg, .hero-wave-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 80px 0;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    z-index: 1;
    position: relative;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    border-radius: 20px;
    transform: perspective(500px) rotateY(-5deg);
    box-shadow: 25px 25px 30px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn-primary, .btn-secondary, .btn-submit {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-primary:hover, .btn-secondary:hover, .btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #ff9d2d;
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

.hero-wave-top {
    top: 0;
}

.hero-wave-bottom {
    bottom: 0;
}

/* Intro Section */
.intro {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.intro-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.intro-text {
    flex: 1;
}

.intro-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: var(--grey-bg);
    padding: 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature h3 {
    margin-bottom: 0.5rem;
}

/* Programs Section */
.programs {
    background-color: var(--grey-bg);
    padding: 100px 0;
    position: relative;
}

.program-levels {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.program-level {
    background-color: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-level:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.level-header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.level-content {
    display: flex;
    gap: 30px;
    padding: 30px;
}

.level-content img {
    max-width: 400px;
    object-fit: cover;
}

.level-description {
    flex: 1;
}

.level-description ul {
    margin-top: 20px;
    padding-left: 20px;
}

.level-description li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
}

.level-description li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

/* Benefits Section */
.benefits {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.infographic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-item {
    background-color: var(--grey-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.info-item svg {
    margin-bottom: 20px;
}

.info-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Calendar Section */
.calendar {
    background-color: var(--grey-bg);
    padding: 100px 0;
    position: relative;
}

.calendar-wrapper {
    background-color: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.calendar-header {
    display: grid;
    grid-template-columns: 100px repeat(5, 1fr);
    background-color: var(--primary-color);
    color: var(--light-text);
}

.day-column {
    padding: 15px;
    text-align: center;
    font-weight: 700;
}

.calendar-body {
    display: flex;
    flex-direction: column;
}

.time-slot {
    display: grid;
    grid-template-columns: 100px repeat(5, 1fr);
    border-bottom: 1px solid var(--border-color);
}

.time-slot:last-child {
    border-bottom: none;
}

.time {
    padding: 15px;
    text-align: center;
    font-weight: 700;
    background-color: rgba(0, 102, 51, 0.1);
}

.class-info {
    padding: 15px;
    text-align: center;
    border-left: 1px solid var(--border-color);
}

.level-1 {
    background-color: rgba(0, 102, 51, 0.1);
}

.level-2 {
    background-color: rgba(0, 102, 51, 0.3);
}

.level-3 {
    background-color: rgba(0, 102, 51, 0.5);
    color: var(--light-text);
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.level-1 {
    background-color: rgba(0, 102, 51, 0.1);
}

.legend-color.level-2 {
    background-color: rgba(0, 102, 51, 0.3);
}

.legend-color.level-3 {
    background-color: rgba(0, 102, 51, 0.5);
}

/* Gallery Section */
.gallery {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--light-text);
    padding: 20px;
    border-radius: 0 0 12px 12px;
    font-weight: 600;
}

/* Home Exercises Section */
.home-exercises {
    background-color: var(--grey-bg);
    padding: 100px 0;
    position: relative;
}

.exercises-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.exercise-item {
    background-color: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.exercise-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.exercise-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.exercise-content {
    padding: 25px;
    flex-grow: 1;
}

.exercise-disclaimer {
    background-color: rgba(255, 140, 0, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin-top: 40px;
    border-radius: 0 8px 8px 0;
}

/* Nutrition Section */
.nutrition {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.nutrition-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.nutrition-image {
    flex: 1;
}

.nutrition-text {
    flex: 1;
}

.nutrition-tips {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tip {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tip-content h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* Contact Section */
.contact {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 100px 0;
    position: relative;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.partnership {
    margin-top: 40px;
}

.partnership h4 {
    margin-bottom: 20px;
}

.partner-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-form {
    flex: 1;
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    color: var(--text-color);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

/* Footer Styles */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.footer-item h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-item h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-item ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-item a {
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-item a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .intro-content, 
    .nutrition-content,
    .contact-content {
        flex-direction: column;
    }
    
    .level-content {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .infographic {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid,
    .exercises-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-header,
    .time-slot {
        grid-template-columns: 80px repeat(5, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        display: none;
    }
    
    .header-inner {
        justify-content: center;
    }
    
    .infographic {
        grid-template-columns: 1fr;
    }
    
    .calendar-wrapper {
        overflow-x: auto;
    }
    
    .calendar-header,
    .time-slot {
        min-width: 650px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary, 
    .btn-secondary {
        width: 100%;
    }
}

/* Hover Animation Effects */
.btn-primary, .btn-secondary, .btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-primary::before, 
.btn-secondary::before, 
.btn-submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before, 
.btn-secondary:hover::before, 
.btn-submit:hover::before {
    left: 100%;
}

.nav-link {
    display: inline-block;
    transition: var(--transition);
}

.nav-link:hover {
    transform: scale(1.1);
}

.gallery-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 102, 51, 0.7));
    opacity: 0;
    transition: var(--transition);
    border-radius: 12px;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Favicon */
/* This is referenced in the HTML file */