/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Header Styles */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
    flex: 1;
}

.site-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 400;
}

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

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
    background-color: #eff6ff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #4b5563;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Posts Grid */
.blog-posts {
    padding: 4rem 0;
    background-color: #f9fafb;
}

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

.post-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

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

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-excerpt {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.read-more {
    display: inline-block;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #2563eb;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.read-more:hover {
    background-color: #2563eb;
    color: white;
}

/* About Page Styles */
.about-content {
    padding: 4rem 0;
}

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

.about-text h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1f2937;
    margin: 2rem 0 1rem 0;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #4b5563;
    line-height: 1.7;
}

.feature-list,
.audience-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.feature-list li,
.audience-list li {
    margin-bottom: 0.75rem;
    color: #4b5563;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

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

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

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

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-info h4 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #374151;
    margin: 1.5rem 0 0.75rem 0;
}

.contact-info p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s ease;
}

.social-link-contact:hover {
    background-color: #f3f4f6;
    border-color: #2563eb;
}

.social-icon {
    font-size: 1.25rem;
}

.contact-note {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #eff6ff;
    border-radius: 0.5rem;
    border-left: 4px solid #2563eb;
}

/* Blog Post Styles */
.blog-post {
    padding: 2rem 0;
}

.post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-title-main {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.post-meta-main {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.95rem;
    color: #9ca3af;
}

.post-image-main {
    margin: 2rem 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.post-image-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

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

.post-content-main .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8fafc;
    border-left: 4px solid #2563eb;
    border-radius: 0.5rem;
}

.post-content-main h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1f2937;
    margin: 2.5rem 0 1rem 0;
}

.post-content-main h4 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #374151;
    margin: 2rem 0 0.75rem 0;
}

.post-content-main p {
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.post-content-main ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content-main li {
    margin-bottom: 0.75rem;
    color: #4b5563;
}

/* Related Posts */
.related-posts {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.related-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

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

.related-post {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.related-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

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

.related-content {
    padding: 1.25rem;
}

.related-post-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-excerpt {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.related-link:hover {
    text-decoration: underline;
}

/* Legal Pages */
.legal-content {
    padding: 4rem 0;
}

.legal-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 2rem 0 1rem 0;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    margin-bottom: 1.5rem;
    color: #4b5563;
    line-height: 1.7;
}

.legal-text ul {
    margin: 1rem 0 1.5rem 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    color: #4b5563;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 0 1rem 0;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #d1d5db;
    text-decoration: none;
    padding: 0.5rem;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.social-link:hover {
    color: white;
    border-color: #6b7280;
    background-color: #374151;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        padding: 1rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title,
    .page-title {
        font-size: 2rem;
    }
    
    .post-title-main {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-meta-main {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero,
    .page-header {
        padding: 2rem 0;
    }
    
    .hero-title,
    .page-title {
        font-size: 1.75rem;
    }
    
    .post-title-main {
        font-size: 1.75rem;
    }
    
    .post-content-main {
        font-size: 1rem;
    }
    
    .post-image-main img {
        height: 250px;
    }
    
    .blog-posts,
    .about-content,
    .contact-section,
    .related-posts,
    .legal-content {
        padding: 2rem 0;
    }
}