* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #4a90e2;
    --accent-color: #63b3ed;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.site-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    border-radius: 50%;
    object-fit: cover;
}

.club-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 20px;
}

.hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-overlay p {
    font-size: 1.5rem;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    padding: 3rem 0;
}

section {
    padding: 3rem 0;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
}

.intro-section {
    background-color: var(--light-bg);
    text-align: center;
}

.intro-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.features-grid {
    background-color: var(--white);
}

.features-grid .content-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.testimonials-section {
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.testimonial-card h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.member-type {
    color: var(--secondary-color);
    font-style: italic;
}

.latest-posts {
    background-color: var(--white);
}

.posts-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.post-preview-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.post-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.post-preview-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-preview-card h3 {
    padding: 1rem;
    padding-bottom: 0.5rem;
}

.post-preview-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.post-preview-card p {
    padding: 0 1rem 1rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    color: var(--white);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    line-height: 2;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.registration-number {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
}

.about-story .story-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.story-image {
    width: 100%;
    border-radius: 8px;
    margin-top: 2rem;
}

.club-values {
    background-color: var(--light-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.team-section {
    background-color: var(--white);
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
}

.team-member img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 1rem;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.club-info {
    background-color: var(--light-bg);
}

.info-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-block {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
}

.training-overview .overview-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.training-overview img {
    width: 100%;
    border-radius: 8px;
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.session-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.session-features {
    list-style: none;
    margin-top: 1rem;
}

.session-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.training-benefits {
    background-color: var(--light-bg);
}

.benefits-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.training-faq {
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    background: var(--light-bg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.guide-intro {
    background-color: var(--light-bg);
}

.guide-intro img {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 0 auto 2rem;
    border-radius: 8px;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
}

.guide-content {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.guide-block {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
}

.guide-block ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.guide-block li {
    margin-bottom: 0.5rem;
}

.safety-section {
    background-color: var(--light-bg);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.safety-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
}

.basics-progression {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.basic-step {
    display: flex;
    gap: 1.5rem;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.tips-section {
    background-color: var(--light-bg);
}

.tips-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
}

.expectations-timeline {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-item {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.spell-check-section {
    background-color: var(--light-bg);
}

#spellCheckText {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    margin: 1rem 0;
}

.spell-check-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.spell-check-btn:hover {
    background-color: var(--primary-color);
}

#spellCheckResult {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 5px;
    min-height: 50px;
}

.events-intro .intro-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.events-intro img {
    width: 100%;
    border-radius: 8px;
}

.events-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.event-card {
    display: flex;
    gap: 2rem;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
}

.event-date {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.date-day {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.date-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-details h3 {
    margin-bottom: 0.5rem;
}

.event-types {
    background-color: var(--light-bg);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.type-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
}

.participation-info {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-card {
    background: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
}

.highlight-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.highlight-card h3,
.highlight-card p {
    padding: 0 1.5rem;
}

.highlight-card h3 {
    padding-top: 1.5rem;
}

.highlight-card p {
    padding-bottom: 1.5rem;
}

.blog-posts .posts-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.blog-post-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    background: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
}

.blog-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.read-more:hover {
    color: var(--primary-color);
}

.blog-sidebar {
    background-color: var(--light-bg);
}

.sidebar-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
}

.recent-posts-list,
.categories-list {
    list-style: none;
}

.recent-posts-list a {
    color: var(--text-color);
    text-decoration: none;
    line-height: 2;
}

.recent-posts-list a:hover {
    color: var(--secondary-color);
}

.categories-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

.contact-note {
    font-size: 0.9rem;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.submit-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--primary-color);
}

.map-placeholder {
    background: var(--light-bg);
    padding: 3rem;
    text-align: center;
    border-radius: 8px;
    margin-top: 2rem;
}

.faq-contact {
    background-color: var(--light-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-block {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 15% auto;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    text-align: center;
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    color: #000;
}

.modal-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
}

.blog-post .post-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 0;
}

.blog-post .post-header h1 {
    color: var(--white);
    text-align: center;
}

.post-date {
    text-align: center;
    color: var(--accent-color);
}

.post-featured-image {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 2rem auto;
    border-radius: 8px;
}

.blog-post .post-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.blog-post .post-content h2 {
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post .post-content h3 {
    margin-top: 1.5rem;
}

.blog-post .post-content p {
    margin-bottom: 1rem;
}

.post-footer {
    background-color: var(--light-bg);
    padding: 2rem 0;
    text-align: center;
}

.back-to-blog {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.back-to-blog:hover {
    color: var(--primary-color);
}

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1500;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.accept-btn {
    background-color: var(--success-color);
    color: var(--white);
}

.decline-btn {
    background-color: #6c757d;
    color: var(--white);
}

.cookie-btn:hover {
    opacity: 0.9;
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero-overlay h1 {
        font-size: 2rem;
    }
    
    .hero-overlay p {
        font-size: 1.2rem;
    }
    
    .blog-post-card {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .basic-step {
        flex-direction: column;
    }
}