/* Base Styles */
:root {
    --primary-color: #3a7d44;
    --secondary-color: #6a994e;
    --accent-color: #bc4749;
    --light-color: #f2e8cf;
    --dark-color: #386641;
    --text-color: #333333;
    --text-light: #666666;
    --text-dark: #1a1a1a;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f5f5f5;
    --gray: #dddddd;
    --gray-dark: #888888;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 4px 15px rgba(0, 0, 0, 0.2);
    --border-radius: 5px;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-family-headings: 'Georgia', serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 20px;
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    transition: var(--transition);
}

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

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

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

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

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

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

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

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

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

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: 600;
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

nav ul li a:hover, nav ul li a.active {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
}

/* Banner */
.banner {
    padding: 80px 0;
    background-color: var(--light-color);
}

.banner-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.banner-text {
    flex: 1;
    padding-right: 40px;
}

.banner-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.banner-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.banner-image {
    flex: 1;
}

.banner-image img {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
}

/* Services */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.service-icon img {
    width: 100%;
    height: 100%;
}

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

/* About Us */
.about-us {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    padding-right: 40px;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
    border-radius: var(--border-radius);
}

.about-text {
    flex: 1;
}

/* Gallery */
.gallery {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-dark);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Blog Preview */
.blog-preview {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

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

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    margin-bottom: 10px;
}

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

.read-more {
    font-weight: bold;
    color: var(--primary-color);
    display: inline-block;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 10px;
}

.view-all {
    text-align: center;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin: 0 -15px;
    padding: 20px 15px;
    scrollbar-width: none; /* Firefox */
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial {
    flex: 0 0 calc(100% - 40px);
    scroll-snap-align: start;
    margin: 0 20px;
}

.testimonial-content {
    background-color: var(--gray-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

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

.testimonial-author p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Subscription */
.subscription {
    padding: 80px 0;
    background-color: var(--light-color);
}

.subscription-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.subscription-text {
    flex: 1 1 300px;
    padding-right: 40px;
}

.subscription-form {
    flex: 1 1 400px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.checkbox input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox span {
    font-size: 0.9rem;
}

/* Contact Info */
.contact-info {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
}

.contact-details {
    flex: 1 1 300px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
}

.social-media {
    flex: 1 1 300px;
}

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

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

.social-icons a:hover {
    background-color: var(--dark-color);
    transform: translateY(-5px);
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    flex: 1 1 300px;
    margin-bottom: 30px;
}

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

.footer-links {
    flex: 1 1 200px;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 20px;
}

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

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

.footer-links ul li a {
    color: var(--light-color);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1001;
    display: none;
}

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

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 15px;
}

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

/* Cookie Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-dark);
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

.cookie-options {
    margin: 20px 0;
}

.cookie-option {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray);
    padding-bottom: 15px;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option label {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.cookie-option label input {
    margin-right: 10px;
}

.cookie-option p {
    margin-left: 25px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Thank You Page */
.thank-you {
    padding: 80px 0;
    background-color: var(--light-color);
}

.thank-you-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.thank-you-image {
    flex: 1;
    padding-right: 40px;
}

.thank-you-image img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

.thank-you-text {
    flex: 1;
}

.thank-you-text h2 {
    margin-bottom: 20px;
}

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

/* Blog Page */
.blog-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.blog-banner h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 10px;
}

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

.blog-articles {
    padding: 80px 0;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-meta .date::before {
    content: "\f073";
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
}

.blog-meta .category::before {
    content: "\f07b";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;
}

.blog-cta {
    background-color: var(--light-color);
    padding: 60px 0;
}

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

.cta-content h2 {
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
}

/* Blog Post */
.blog-post {
    padding: 60px 0;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-meta .author::before {
    content: "\f007";
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
}

.post-featured-image {
    margin-bottom: 40px;
}

.post-featured-image img {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 0 auto;
    border-radius: var(--border-radius);
}

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

.post-content h2 {
    margin-top: 40px;
}

.post-content h3 {
    margin-top: 30px;
}

.post-content ul, .post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-footer {
    max-width: 800px;
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--gray);
}

.post-tags a {
    display: inline-block;
    background-color: var(--gray-light);
    color: var(--text-light);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

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

.post-share {
    display: flex;
    align-items: center;
}

.post-share span {
    margin-right: 10px;
}

.post-share a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background-color: var(--gray-light);
    color: var(--text-light);
    border-radius: 50%;
    margin-left: 5px;
    transition: var(--transition);
}

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

.related-posts {
    max-width: 800px;
    margin: 60px auto 0;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 30px;
}

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

.related-card {
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

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

.related-card h4 {
    padding: 15px 15px 5px;
    font-size: 1rem;
}

.related-card a {
    display: block;
    padding: 0 15px 15px;
    font-weight: bold;
    color: var(--primary-color);
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h1 {
    margin-bottom: 10px;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
}

.legal-body h2 {
    margin-top: 40px;
    color: var(--primary-color);
}

.legal-body h3 {
    margin-top: 30px;
    color: var(--dark-color);
}

.legal-body ul, .legal-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-body li {
    margin-bottom: 10px;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cookie-table th, .cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray);
}

.cookie-table th {
    background-color: var(--gray-light);
    font-weight: bold;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

/* Media Queries */
@media (max-width: 992px) {
    .banner-text, .about-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .banner-content, .about-content, .thank-you-content {
        flex-direction: column;
    }
    
    .banner-image, .about-image, .thank-you-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .testimonial {
        flex: 0 0 calc(100% - 40px);
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow);
        padding: 20px;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0 0 15px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .subscription-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .post-footer {
        flex-direction: column;
    }
    
    .post-tags {
        margin-bottom: 20px;
    }
    
    .blog-meta, .post-meta {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .banner-text h2 {
        font-size: 2.2rem;
    }
    
    .blog-banner h2 {
        font-size: 2.2rem;
    }
    
    .service-card, .blog-card, .related-card {
        padding: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 20px;
    }
}
