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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', 'Monaco', monospace;
    line-height: 1.7;
    color: #3a3a3a;
    background: #f8f6f3;
    min-height: 100vh;
}

.blog-header {
    background: linear-gradient(135deg, #8b6f47 0%, #a0826d 50%, #b89f8a 100%);
    color: #ffffff;
    padding: 3rem 0;
    box-shadow: 0 6px 25px rgba(139, 111, 71, 0.3);
    border-bottom: 5px solid #6b5438;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.blog-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.blog-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    font-style: italic;
}

.blog-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.blog-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.blog-nav a:hover,
.blog-nav a.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 4rem;
}

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

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

.hero-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(139, 111, 71, 0.85), transparent);
    padding: 3rem;
    color: #ffffff;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 900px;
}

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

.timeline-section {
    margin: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #8b6f47;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-intro {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #8b6f47, #a0826d);
    transform: translateX(-50%);
}

.timeline-entry {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
}

.timeline-entry:nth-child(odd) {
    flex-direction: row;
}

.timeline-entry:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #8b6f47;
    border: 4px solid #ffffff;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 0 4px #f8f6f3;
}

.timeline-content {
    width: 45%;
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(139, 111, 71, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-entry:hover .timeline-content {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(139, 111, 71, 0.25);
}

.entry-image {
    width: 100%;
    height: 250px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

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

.timeline-entry:hover .entry-image img {
    transform: scale(1.1);
}

.entry-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8b6f47;
    margin-bottom: 1rem;
}

.entry-text p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

.blog-section {
    margin: 4rem 0;
}

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

.blog-post {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(139, 111, 71, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 111, 71, 0.2);
    border-color: #8b6f47;
}

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

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

.blog-post:hover .post-image img {
    transform: scale(1.15);
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-category {
    background: #8b6f47;
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.post-date {
    color: #999;
    font-style: italic;
}

.post-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.post-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.post-features {
    list-style: none;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.post-features li {
    background: #f5f1eb;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #8b6f47;
    font-weight: 600;
    border: 1px solid #e8e0d6;
}

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

.feature-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(139, 111, 71, 0.1);
    border-left: 5px solid #a0826d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(139, 111, 71, 0.18);
}

.feature-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #8b6f47;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #555;
    line-height: 1.8;
}

.contact-section {
    margin: 4rem 0;
    background: #ffffff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(139, 111, 71, 0.12);
}

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

.contact-item {
    background: #f5f1eb;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e8e0d6;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #8b6f47;
    box-shadow: 0 5px 20px rgba(139, 111, 71, 0.18);
    transform: translateY(-5px);
}

.contact-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #8b6f47;
    margin-bottom: 1rem;
}

.contact-item p {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.contact-note {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    margin-top: 1rem;
}

.blog-footer {
    background: linear-gradient(135deg, #6b5438 0%, #8b6f47 50%, #a0826d 100%);
    color: #ffffff;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

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

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

.footer-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-item p {
    color: #f0e8df;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-item a {
    color: #f0e8df;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-item a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: #f0e8df;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .blog-title {
        font-size: 3rem;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .timeline-content {
        width: 48%;
    }
    
    .blog-posts {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-header {
        padding: 2rem 0;
    }
    
    .blog-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .blog-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-nav {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .blog-nav a {
        font-size: 0.95rem;
        padding: 0.6rem 1.4rem;
    }
    
    .blog-hero {
        height: 350px;
        margin-bottom: 2rem;
    }
    
    .hero-text {
        padding: 2rem 1.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .blog-content {
        padding: 0 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-intro {
        font-size: 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-entry {
        flex-direction: column !important;
        padding-left: 3rem;
        margin-bottom: 3rem;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-content {
        width: 100%;
        padding: 1.5rem;
    }
    
    .entry-image {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    .entry-text h3 {
        font-size: 1.5rem;
    }
    
    .entry-text p {
        font-size: 1rem;
    }
    
    .blog-posts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-image {
        height: 220px;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .contact-section {
        padding: 2rem 1.5rem;
        margin: 3rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-footer {
        padding: 2rem 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    .blog-subtitle {
        font-size: 1rem;
    }
    
    .blog-nav {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .blog-nav a {
        width: 100%;
        text-align: center;
    }
    
    .blog-hero {
        height: 280px;
    }
    
    .hero-text {
        padding: 1.5rem 1rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .timeline-entry {
        padding-left: 2.5rem;
    }
    
    .timeline-marker {
        left: 15px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-content {
        padding: 1.2rem;
    }
    
    .entry-image {
        height: 180px;
    }
    
    .entry-text h3 {
        font-size: 1.3rem;
    }
    
    .post-image {
        height: 200px;
    }
    
    .post-content {
        padding: 1.2rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    
    .post-features {
        flex-direction: column;
        gap: 0.5rem;
    }
}
