/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* Navigation */
.navbar {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-brand:hover {
    color: #2563eb;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: #111827;
}

.nav-link.active {
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 0.25rem;
}

.linkedin-link {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.linkedin-link:hover {
    background-color: #f3f4f6;
    color: #0077b5;
}

/* Layout */
.main-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.content-wrapper {
    max-width: 768px;
    margin: 0 auto;
}

/* Profile section */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.profile-image:hover {
    transform: scale(1.05);
}

/* Typography */
.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1.5rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 512px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.lead {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.content-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.quote {
    border-left: 4px solid #3b82f6;
    padding-left: 1.5rem;
    font-style: italic;
    color: #6b7280;
    margin: 2rem 0;
    font-size: 1.1rem;
}

.text-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.text-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #111827;
    color: white;
}

.btn-primary:hover {
    background-color: #1f2937;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: #111827;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

/* Hero section */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features section */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA section */
.cta-section {
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #111827;
}

.cta-section p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Workshop cards */
.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.workshop-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s;
}

.workshop-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.workshop-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.workshop-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.workshop-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.workshop-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.workshop-features li {
    padding: 0.25rem 0;
    color: #374151;
}

.workshop-features li:before {
    content: "✓ ";
    color: #10b981;
    font-weight: bold;
}

.workshop-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.workshop-duration,
.workshop-format {
    background: #f3f4f6;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: #374151;
}

.workshop-btn {
    width: 100%;
    justify-content: center;
}

.coming-soon-notice {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.coming-soon-notice h3 {
    color: #92400e;
    margin-bottom: 0.5rem;
}

.coming-soon-notice p {
    color: #78350f;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

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

.modal-content {
    background: white;
    padding: 0;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: color 0.2s, background-color 0.2s;
}

.modal-close:hover {
    color: #111827;
    background-color: #f3f4f6;
}

.modal form {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* Posts */
.posts-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s;
}

.post-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.post-date,
.post-read-time {
    font-size: 0.875rem;
    color: #6b7280;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111827;
}

.post-content {
    color: #6b7280;
    line-height: 1.6;
}

.post-excerpt {
    margin-bottom: 1rem;
}

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

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

.read-more-btn {
    background: none;
    border: none;
    color: #2563eb;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    transition: color 0.2s;
}

.read-more-btn:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.newsletter-signup {
    background: #f3f4f6;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
}

.newsletter-signup h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.newsletter-signup p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    border-top: 1px solid #e5e7eb;
    background: white;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .profile-section {
        text-align: center;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .workshop-grid {
        grid-template-columns: 1fr;
    }

    .workshop-card {
        min-width: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* Error page styles */
.error-section {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.error-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1.5rem;
}

.error-message {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.error-details {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-detail-item {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #374151;
}

.error-detail-item:last-child {
    margin-bottom: 0;
}

.error-detail-item strong {
    color: #111827;
    font-weight: 600;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .error-section {
        padding: 3rem 1rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-actions .btn {
        width: 100%;
        max-width: 200px;
    }

    .error-details {
        text-align: left;
        padding: 1rem;
    }
}