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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo h1 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.tagline {
    color: #a8d5ba;
    font-size: 0.9rem;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #a8d5ba;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #a8d5ba;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main {
    margin-top: 80px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #5a7c65;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
    background: #fff;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.article-header {
    padding: 3rem 3rem 2rem;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
    text-align: center;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #5a7c65;
    font-size: 0.95rem;
}

.article-date, .article-category {
    font-weight: 500;
}

.article-content {
    padding: 3rem;
}

.article-intro {
    font-size: 1.2rem;
    color: #4a7c59;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.article-content h2 {
    font-size: 1.8rem;
    color: #2c5530;
    margin: 2.5rem 0 1rem;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
}

.article-link {
    color: #4a7c59;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.article-link:hover {
    color: #2c5530;
    border-bottom-color: #a8d5ba;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
}

.section-title {
    font-size: 2.5rem;
    color: #2c5530;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a7c65;
    margin-bottom: 1.5rem;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background: #fff;
}

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

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #a8d5ba;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #2c5530;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #5a7c65;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-content > p {
    font-size: 1.1rem;
    color: #5a7c65;
    margin-bottom: 3rem;
    line-height: 1.8;
}

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

.contact-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.contact-item h4 {
    color: #2c5530;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: #5a7c65;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #2c5530;
    color: #fff;
    padding: 3rem 0 1rem;
}

.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;
    color: #a8d5ba;
}

.footer-section p {
    line-height: 1.6;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #a8d5ba;
}

.footer-bottom {
    border-top: 1px solid #4a7c59;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: #2c5530;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

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

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

    .article-content {
        padding: 2rem;
    }

    .article-header {
        padding: 2rem;
    }

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

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .article-title {
        font-size: 1.6rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-header {
        padding: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-article {
    animation: fadeInUp 0.8s ease-out;
}

.service-card {
    animation: fadeInUp 0.8s ease-out;
}

.contact-item {
    animation: fadeInUp 0.8s ease-out;
}

/* Focus States for Accessibility */
.nav-link:focus,
.article-link:focus {
    outline: 2px solid #a8d5ba;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .main {
        margin-top: 0;
    }
    
    .blog-article {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

