* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5f7a;
    --secondary-color: #d4af37;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f5f5f0;
    --bg-white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.main-header {
    background: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
    text-decoration: none;
    transition: var(--transition);
}

.logo-text:hover {
    color: var(--secondary-color);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--bg-white);
    transition: var(--transition);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hero-section,
.page-hero,
.contact-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(26, 95, 122, 0.8), rgba(26, 95, 122, 0.8)),
                url('https://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Fitness_and_wellness_training.jpg/1200px-Fitness_and_wellness_training.jpg') center/cover no-repeat;
    color: var(--bg-white);
    text-align: center;
    padding: 4rem 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 95, 122, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-size: 3.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
}

.intro-section,
.contact-intro {
    padding: 3rem 0;
    background: var(--bg-light);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.features-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    gap: 3rem;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.feature-card.reverse {
    direction: rtl;
}

.feature-card.reverse > * {
    direction: ltr;
}

.feature-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.feature-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.feature-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.info-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.info-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px var(--shadow);
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.cta-section {
    padding: 4rem 0;
    background: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: #c4a028;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

.contact-cards-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 48px;
    height: 48px;
}

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-email {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.contact-email:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.faq-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.faq-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.content-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.content-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.program-card,
.exercise-guide {
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.program-card.reverse {
    direction: rtl;
}

.program-card.reverse > * {
    direction: ltr;
}

.program-image img,
.exercise-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.program-content h2,
.exercise-guide h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.program-meta {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.program-content p,
.exercise-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.program-content ul,
.program-content ol,
.exercise-info ul,
.exercise-info ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.program-content li,
.exercise-info li {
    margin-bottom: 0.5rem;
}

.exercise-item {
    margin-bottom: 3rem;
}

.exercise-details {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.exercise-info h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.lifestyle-section {
    margin-bottom: 4rem;
}

.lifestyle-content {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.lifestyle-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.lifestyle-content h3:first-child {
    margin-top: 0;
}

.lifestyle-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.lifestyle-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.lifestyle-content li {
    margin-bottom: 0.5rem;
}

.info-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin: 3rem 0;
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.external-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

.external-links h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.external-links ul {
    list-style: none;
    margin-left: 0;
}

.external-links li {
    margin-bottom: 0.75rem;
}

.external-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.external-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.policy-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.policy-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.policy-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.policy-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.main-footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

.update-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px var(--shadow);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    min-width: 250px;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.cookie-btn.accept {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.cookie-btn.accept:hover {
    background: #c4a028;
}

.cookie-btn.reject {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.cookie-btn.reject:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

@media (max-width: 968px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-color);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: 0 5px 20px var(--shadow);
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .feature-card,
    .program-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card.reverse {
        direction: ltr;
    }

    .program-card.reverse {
        direction: ltr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 200px;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
