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

:root {
    --primary-color: #1a472a;
    --secondary-color: #2d5f3f;
    --accent-color: #4a9d5f;
    --text-color: #333333;
    --light-bg: #f4f7f5;
    --white: #ffffff;
    --border-color: #d4e2d4;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* Header Styles */
.main-header {
    background-color: var(--primary-color);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.site-title {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
    margin-bottom: 20px;
}

.cta-button:hover {
    background-color: #3d8550;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.educational-notice {
    font-size: 14px;
    opacity: 0.8;
}

/* Section Styles */
.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: 700;
}

.upcoming-sessions,
.replay-gallery,
.speaker-bios,
.topics-calendar,
.registration-section,
.house-rules,
.resources-section {
    padding: 60px 0;
}

.upcoming-sessions {
    background-color: var(--light-bg);
}

/* Session Cards */
.sessions-grid,
.gallery-grid,
.speakers-grid,
.resources-grid,
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.session-card,
.replay-item,
.speaker-card,
.resource-card,
.post-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.session-card:hover,
.replay-item:hover,
.speaker-card:hover,
.resource-card:hover,
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.session-image,
.replay-thumbnail,
.speaker-photo,
.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.session-content,
.replay-info,
.speaker-info,
.post-content {
    padding: 20px;
}

.session-title,
.speaker-name,
.post-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.session-date,
.session-speaker,
.replay-date,
.speaker-title,
.post-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.session-description,
.speaker-bio,
.post-excerpt {
    margin-bottom: 15px;
    line-height: 1.6;
}

.session-btn,
.replay-link,
.read-more {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
}

.session-btn:hover,
.replay-link:hover,
.read-more:hover {
    background-color: var(--secondary-color);
}

/* Calendar Section */
.calendar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.topics-list h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.topics-list ul {
    list-style-position: inside;
    line-height: 2;
}

.calendar-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Registration Form */
.registration-section {
    background-color: var(--light-bg);
}

.registration-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 157, 95, 0.1);
}

.submit-btn {
    width: 100%;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: #3d8550;
}

/* House Rules */
.rules-content {
    max-width: 800px;
    margin: 0 auto;
}

.rules-list {
    list-style-position: inside;
    line-height: 2;
    font-size: 16px;
}

/* Resources Section */
.resource-card {
    text-align: center;
    padding: 30px;
}

.resource-icon {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

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

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    margin-bottom: 10px;
    opacity: 0.8;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-banner.active {
    display: block;
}

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

.cookie-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.cookie-content a {
    color: var(--accent-color);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.cookie-btn.accept-all {
    background-color: var(--accent-color);
    color: var(--white);
}

.cookie-btn.customize {
    background-color: var(--secondary-color);
    color: var(--white);
}

.cookie-btn.decline {
    background-color: #ccc;
    color: var(--text-color);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Blog Page */
.blog-hero,
.about-hero,
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-title {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.blog-posts {
    padding: 60px 0;
}

.post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* About Page */
.about-content {
    padding: 60px 0;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin: 30px 0 15px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.benefits-list {
    list-style-position: inside;
    line-height: 2;
    margin-top: 20px;
}

.team-section,
.values-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

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

.team-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
}

.team-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-card h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin: 15px 0 5px;
}

.team-position {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-bio {
    padding: 0 20px 20px;
    line-height: 1.6;
}

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

.value-item {
    text-align: center;
    padding: 30px;
}

.value-icon {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-block {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
}

.contact-info-block h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    color: var(--accent-color);
    flex-shrink: 0;
}

.info-text h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.info-text a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-form-block {
    background-color: var(--white);
}

.contact-form-block h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 30px;
}

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

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-btn {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
    transition: var(--transition);
}

.modal-btn:hover {
    background-color: #3d8550;
}

/* Single Post Page */
.post-single {
    padding: 60px 0;
}

.post-header {
    max-width: 900px;
    margin: 0 auto 40px;
}

.post-title-single {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta-single {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    color: #666;
}

.post-featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 40px;
}

.post-content-single {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.post-content-single h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin: 40px 0 20px;
}

.post-content-single p {
    margin-bottom: 20px;
}

.post-navigation {
    max-width: 800px;
    margin: 50px auto 0;
}

.back-to-blog {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .calendar-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sessions-grid,
    .gallery-grid,
    .speakers-grid,
    .resources-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .post-title-single {
        font-size: 28px;
    }
    
    .post-content-single {
        font-size: 16px;
    }
    
    .post-content-single h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}