/* Base Styles */
:root {
    --primary-color: #2e7d32;
    --primary-light: #60ad5e;
    --primary-dark: #005005;
    --secondary-color: #ff8f00;
    --secondary-light: #ffc046;
    --secondary-dark: #c56000;
    --text-color: #333333;
    --text-light: #757575;
    --background-color: #f5f5f5;
    --white: #ffffff;
    --black: #212121;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --border-radius: 8px;
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style-type: none;
}

button, .btn-primary, .btn-secondary {
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--black);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 15px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.navbar {
    display: flex;
}

.navbar li {
    margin-left: 30px;
}

.navbar a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.navbar a:hover, .navbar a.active {
    color: var(--primary-color);
}

.navbar a.active:after, .navbar a:hover:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--primary-light);
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
    background-image: linear-gradient(rgba(46, 125, 50, 0.9), rgba(46, 125, 50, 0.9)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 400;
    color: var(--white);
}

.hero .btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 1.2rem;
    padding: 15px 30px;
}

.hero .btn-primary:hover {
    background-color: var(--secondary-dark);
}

/* Quote Section */
.quote {
    padding: 40px 20px;
    background-color: var(--white);
    text-align: center;
}

blockquote {
    font-size: 1.4rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

blockquote p {
    position: relative;
    z-index: 1;
}

blockquote:before {
    content: """;
    font-size: 6rem;
    position: absolute;
    top: -40px;
    left: -20px;
    color: var(--primary-light);
    opacity: 0.2;
    z-index: 0;
}

blockquote cite {
    font-size: 1rem;
    font-style: normal;
    display: block;
    margin-top: 20px;
    color: var(--text-light);
}

/* Featured Posts Section */
.featured-posts {
    padding: 60px 20px;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 30px;
}

.post-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.center {
    text-align: center;
    margin-top: 40px;
}

/* Services Section */
.services {
    background-color: var(--white);
    padding: 60px 20px;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.service-card .icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
}

/* CTA Section */
.cta {
    padding: 80px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
}

.cta .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 15px 30px;
}

.cta .btn-primary:hover {
    background-color: var(--background-color);
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 20px 20px;
}

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

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a, .legal-links a {
    color: #b3b3b3;
    transition: var(--transition);
}

.footer-links ul li a:hover, .legal-links a:hover {
    color: var(--white);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.footer-social .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: var(--white);
    transition: var(--transition);
}

.footer-social .social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin-bottom: 0;
}

.legal-links {
    display: flex;
    gap: 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    display: none;
    z-index: 9999;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie {
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-cookie.accept {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-cookie.accept:hover {
    background-color: var(--primary-dark);
}

.btn-cookie.configure {
    background-color: var(--white);
    border: 1px solid var(--text-light);
    color: var(--text-color);
}

.btn-cookie.configure:hover {
    background-color: var(--background-color);
}

.btn-cookie.reject {
    background-color: var(--white);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.btn-cookie.reject:hover {
    background-color: var(--error-color);
    color: var(--white);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--white);
    color: var(--text-color);
    transition: var(--transition);
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.pagination .current-page {
    background-color: var(--primary-light);
    color: var(--white);
    border-color: var(--primary-light);
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* About Page Styles */
.about-intro {
    padding: 60px 20px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.values {
    padding: 60px 20px;
    background-color: var(--background-color);
}

.values h2 {
    text-align: center;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.value-card .icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.team {
    padding: 60px 20px;
}

.team h2 {
    text-align: center;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-card h3 {
    margin: 15px 0 5px;
}

.team-card p {
    padding: 0 15px;
    margin-bottom: 15px;
}

.team-card .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.team-card .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: var(--primary-color);
    transition: var(--transition);
}

.team-card .social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.history {
    padding: 60px 20px;
    background-color: var(--background-color);
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.history-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.history-text {
    padding-left: 20px;
}

.testimonials {
    padding: 60px 20px;
    background-color: var(--white);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
}

.testimonial {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
    border: 1px solid var(--border-color);
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--primary-color);
}

.testimonial p {
    margin-bottom: 20px;
    font-style: italic;
    z-index: 1;
    position: relative;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author p {
    font-style: normal;
    color: var(--text-light);
}

/* Blog Page Styles */
.blog-content {
    padding: 60px 20px;
}

.blog-card {
    grid-template-columns: 1fr 2fr;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-image {
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-text {
    padding: 30px;
}

.date {
    display: block;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-text h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.subscription {
    padding: 60px 20px;
    background-color: var(--background-color);
}

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

.subscription h2 {
    margin-bottom: 15px;
}

.subscription p {
    margin-bottom: 30px;
}

.subscription-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.form-group {
    flex: 1;
    min-width: 250px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* Contact Page Styles */
.contact-info {
    padding: 60px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.contact-card .icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-form-section {
    padding: 60px 20px;
    background-color: var(--background-color);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.form-container h2 {
    margin-bottom: 15px;
}

.form-container p {
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

.contact-form .checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form .checkbox-group input {
    width: auto;
}

.contact-form .checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.map-section {
    padding: 60px 20px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.map-note {
    padding: 15px;
    text-align: center;
    background-color: var(--background-color);
    margin: 0;
}

.faqs {
    padding: 60px 20px;
    background-color: var(--white);
}

.faqs h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-icon {
    margin-bottom: 20px;
    color: var(--success-color);
}

.thank-you-modal h2 {
    margin-bottom: 15px;
}

.thank-you-modal p {
    margin-bottom: 30px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .about-content, .history-content {
        grid-template-columns: 1fr;
    }
    
    .about-text, .history-text {
        padding: 0;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 20px;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    .navbar {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .navbar li {
        margin: 0 10px 10px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    blockquote {
        font-size: 1.2rem;
    }
    
    .blog-card {
        grid-template-columns: 1fr;
    }
    
    .blog-image img {
        height: 250px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid, .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 20px;
    }
}

/* Icon Styles */
.icon-location, .icon-phone, .icon-email {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.icon-location:before {
    content: '';
    display: inline-block;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232e7d32' width='24' height='24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center center;
    width: 20px;
    height: 20px;
}

.icon-phone:before {
    content: '';
    display: inline-block;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232e7d32' width='24' height='24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") no-repeat center center;
    width: 20px;
    height: 20px;
}

.icon-email:before {
    content: '';
    display: inline-block;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232e7d32' width='24' height='24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") no-repeat center center;
    width: 20px;
    height: 20px;
}
