/* Base Styles */
:root {
    --primary-color: #4CAF50;
    --primary-dark: #245226;
    --secondary-color: #F5DEB3;
    --secondary-light: #FFF8E1;
    --accent-color: #66B2FF;
    --text-color: #333333;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #757575;
    --white: #FFFFFF;
    --black: #000000;
    --border-radius: 8px;
    --shadow: 0 4px 6px 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: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Spectral', serif;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    gap: 8px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.wave-divider {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    height: 70px;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
    fill: var(--primary-color);
    opacity: 0.1;
}

section {
    padding: 80px 0;
    position: relative;
}

section:nth-child(odd) {
    background-color: var(--light-gray);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Spectral', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary-dark);
    gap: 10px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    gap: 20px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 2px;
    position: relative;
}

.main-nav a:hover,
.main-nav .active a {
    color: var(--primary-color);
}

.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,
.main-nav .active a::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background-color: var(--secondary-light);
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 20px;
    opacity: 0.2;
    z-index: 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Program Section */
.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.program-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.program-card h3 {
    text-align: center;
    margin-bottom: 15px;
}

.benefits-list {
    margin-top: 15px;
    list-style-type: none;
}

.benefits-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
}

/* Benefits Section */
.benefits-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.benefits-image {
    flex: 1;
    position: relative;
}

.benefits-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.decorative-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius);
    z-index: -1;
}

.benefits-content {
    flex: 1;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.benefit-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.benefit-text h3 {
    margin-bottom: 10px;
}

/* Trainers Section */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.trainer-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.trainer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.trainer-image {
    height: 250px;
    overflow: hidden;
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.trainer-card:hover .trainer-image img {
    transform: scale(1.05);
}

.trainer-info {
    padding: 20px;
}

.trainer-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

/* Schedule Section */
.schedule-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.schedule-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.difficulty-levels {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.difficulty-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.level-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.level-beginner {
    background-color: #A5D6A7;
}

.level-intermediate {
    background-color: #81C784;
}

.level-advanced {
    background-color: #4CAF50;
}

.schedule-table {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.schedule-row {
    display: grid;
    grid-template-columns: 0.8fr repeat(4, 1fr);
}

.schedule-header {
    background-color: var(--primary-dark);
    color: var(--white);
    font-weight: 600;
}

.schedule-cell {
    padding: 15px;
    text-align: center;
    border: 1px solid var(--medium-gray);
}

.day {
    font-weight: 600;
}

.beginner {
    background-color: #A5D6A7;
}

.intermediate {
    background-color: #81C784;
}

.advanced {
    background-color: #4CAF50;
    color: var(--white);
}

.empty {
    background-color: var(--light-gray);
}

/* Home Exercises Section */
.exercises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.exercise-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.exercise-image {
    height: 200px;
    overflow: hidden;
}

.exercise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exercise-content {
    padding: 20px;
}

.exercise-steps {
    margin-bottom: 15px;
}

.exercise-note {
    font-style: italic;
    color: var(--dark-gray);
}

.disclaimer {
    background-color: var(--secondary-light);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

/* Locations Section */
.locations-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.locations-info {
    flex: 1;
}

.locations-list {
    margin-top: 30px;
}

.location-item {
    display: flex;
    margin-bottom: 30px;
}

.location-icon {
    margin-right: 20px;
    flex-shrink: 0;
}

.location-content h3 {
    margin-bottom: 10px;
}

.location-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.location-features span {
    background-color: var(--light-gray);
    color: var(--primary-dark);
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 20px;
}

.locations-map {
    flex: 1;
}

.locations-map img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    background-color: var(--primary-color);
    padding: 15px 20px;
    cursor: pointer;
}

.faq-question h3 {
    color: var(--white);
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-answer {
    padding: 20px;
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-form-wrapper {
    flex: 1;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: inherit;
    background-color: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    margin-top: 5px;
}

/* Footer Styles */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-logo .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-quick-links ul,
.footer-legal ul {
    list-style: none;
    margin: 0;
}

.footer-quick-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-quick-links a,
.footer-legal a {
    color: var(--white);
    opacity: 0.8;
}

.footer-quick-links a:hover,
.footer-legal a:hover {
    opacity: 1;
    text-decoration: underline;
}

.upcoming-events {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event {
    display: flex;
    gap: 15px;
}

.event-date {
    background-color: var(--primary-color);
    color: var(--white);
    min-width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
}

.event-info h4 {
    color: var(--white);
    margin-bottom: 5px;
}

.event-info p {
    opacity: 0.8;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content,
    .benefits-wrapper,
    .locations-wrapper,
    .contact-wrapper {
        flex-direction: column;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .schedule-row {
        grid-template-columns: 1fr;
    }
    
    .schedule-header {
        display: none;
    }
    
    .schedule-cell {
        text-align: left;
        padding: 10px 15px;
    }
    
    .schedule-cell:not(.day, .empty)::before {
        content: attr(data-title);
        font-weight: 600;
        display: block;
        margin-bottom: 5px;
    }
    
    .day {
        background-color: var(--primary-dark);
        color: var(--white);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations and Effects */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn:hover svg {
    animation: pulse 1s infinite;
}

/* Custom hover effects */
.exercise-card:hover .exercise-image img {
    transform: scale(1.05);
    transition: var(--transition);
}

.location-item:hover .location-icon svg path,
.location-item:hover .location-icon svg circle,
.location-item:hover .location-icon svg rect {
    stroke: var(--primary-color);
    transition: var(--transition);
}