/* 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;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: #2d5016;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #3d6622;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #8fbc8f;
    color: white;
}

.btn-secondary:hover {
    background-color: #7aa47a;
}

.btn-outline {
    background-color: transparent;
    color: #4a7c29;
    border: 2px solid #4a7c29;
}

.btn-outline:hover {
    background-color: #4a7c29;
    color: white;
}

/* Header and Navigation */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 40px;
    width: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d5016;
}

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

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

.nav-link:hover {
    color: #4a7c29;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2d5016;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-banner {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Sections */
.services, .about, .testimonials, .blog, .newsletter, .contact, .social {
    padding: 4rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #666;
}

/* Services Section */
.services {
    background-color: white;
}

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

.service-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #2d5016;
}

/* About Section */
.about {
    background-color: #f8fdf8;
}

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

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

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.feature h4 {
    color: #2d5016;
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

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

.testimonial-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    width: 20px;
    height: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #666;
}

.testimonial-card h4 {
    color: #2d5016;
    margin-bottom: 0.25rem;
}

.testimonial-card span {
    color: #888;
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    background-color: #f8fdf8;
}

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

.blog-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 a {
    text-decoration: none;
    color: #2d5016;
}

.blog-content h3 a:hover {
    color: #4a7c29;
}

.read-more {
    color: #4a7c29;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Newsletter Section */
.newsletter {
    background-color: #2d5016;
    color: white;
}

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

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    color: #e8f5e8;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: 2px solid #4a7c29;
}

/* Contact Section */
.contact {
    background-color: white;
}

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

.contact-item h4 {
    color: #2d5016;
    margin-bottom: 1rem;
}

.contact-item a {
    color: #4a7c29;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Social Section */
.social {
    background-color: #f8fdf8;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-links a {
    color: #4a7c29;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border: 2px solid #4a7c29;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #4a7c29;
    color: white;
}

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

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: white;
}

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

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

.footer-section a {
    color: #e8f5e8;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

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

.footer-bottom p {
    color: #fff;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2d5016;
    color: white;
    padding: 1rem;
    z-index: 1001;
    display: none;
}

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

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

.cookie-content p {
    color: white;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    margin: 20px;
}

.cookie-category {
    margin-bottom: 1.5rem;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.cookie-category input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Legal Pages */
.legal-main {
    margin-top: 80px;
    padding: 2rem 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section ul {
    padding-left: 1.5rem;
}

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

address {
    font-style: normal;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

/* Thanks Page */
.thanks-main {
    margin-top: 80px;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

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

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.thanks-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.thanks-benefits {
    text-align: left;
    margin: 2rem 0;
    padding-left: 1.5rem;
}

.thanks-benefits li {
    margin-bottom: 0.5rem;
    color: #555;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Blog Articles */
.blog-article-main {
    margin-top: 80px;
    padding: 2rem 0;
    background-color: #fafafa;
}

.blog-article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-article-image {
    width: 100%;
    max-width: 400px;
    height: 200px;
    margin-bottom: 2rem;
    border-radius: 12px;
}

.blog-article-meta {
    max-width: 800px;
    margin: 0 auto;
}

.blog-date, .blog-author {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-article-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #4a7c29;
}

.blog-article-content h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.blog-article-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.blog-article-content ul li {
    margin-bottom: 0.5rem;
}

.inline-icon {
    width: 40px;
    height: 40px;
    margin: 1rem auto;
    display: block;
}

.blog-article-cta {
    background-color: #f8fdf8;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.blog-article-cta h3 {
    color: #2d5016;
    margin-bottom: 1rem;
}

.blog-article-cta p {
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .newsletter-form .form-group {
        margin-bottom: 1rem;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-article-content {
        padding: 2rem 1.5rem;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .thanks-content {
        padding: 2rem 1.5rem;
    }
    
    .cookie-modal-content {
        margin: 10px;
        padding: 1.5rem;
    }
}

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

.service-card, .testimonial-card, .blog-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus {
    outline: 2px solid #4a7c29;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header, .footer, .cookie-banner, .cookie-modal {
        display: none;
    }
    
    .blog-article-main, .legal-main {
        margin-top: 0;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}
