/* ============================
   General Styles
============================ */
:root {
    --primary-color: #4a6741; /* Main brand color - earthy green */
    --secondary-color: #d9a566; /* Accent color - warm gold */
    --dark-color: #333333; /* Dark text color */
    --light-color: #f5f5f5; /* Light background color */
    --gray-color: #e0e0e0; /* Light gray for borders */
    --dark-gray: #555555; /* Dark gray for secondary text */
    --danger-color: #e53935; /* For errors or important alerts */
    --success-color: #43a047; /* For success messages */
    --body-font: 'Roboto', 'Helvetica Neue', sans-serif;
    --heading-font: 'Montserrat', 'Helvetica Neue', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 15px;
}

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

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

ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #3a5334;
    color: white;
}

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

.btn-secondary:hover {
    background-color: #c08e55;
    color: white;
}

/* Section Styling */
section {
    padding: 80px 0;
}

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

.section-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 50px;
    color: var(--dark-gray);
}

/* ============================
   Header & Navigation
============================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.logo {
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

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

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

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

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 25px 0;
    display: inline-block;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 15px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* ============================
   Hero Section
============================ */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ============================
   Services Section
============================ */
.services {
    background-color: var(--light-color);
}

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

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

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

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    width: 70px;
    height: 70px;
    margin: 0 auto;
}

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

/* ============================
   About Section
============================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-features {
    list-style: none;
    margin: 20px 0 0;
}

.about-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.about-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

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

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto 30px;
    overflow: hidden;
    position: relative;
}

.testimonial {
    text-align: center;
    padding: 30px;
}

.quote {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    padding: 0 30px;
}

.quote:before, .quote:after {
    content: '"';
    font-size: 50px;
    color: var(--gray-color);
    position: absolute;
    font-family: Georgia, serif;
}

.quote:before {
    left: 0;
    top: -15px;
}

.quote:after {
    right: 0;
    bottom: -35px;
}

.customer-name {
    font-weight: bold;
    color: var(--primary-color);
}

.customer-location {
    color: var(--dark-gray);
}

.testimonial-dots {
    text-align: center;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--gray-color);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-color);
}

/* ============================
   Recent Posts Section
============================ */
.recent-posts {
    background-color: var(--light-color);
}

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

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

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

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

.post-content {
    padding: 20px;
}

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

.post-content h3 a {
    color: var(--dark-color);
}

.post-content h3 a:hover {
    color: var(--primary-color);
}

.post-date {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.post-excerpt {
    margin-bottom: 15px;
}

.read-more {
    font-weight: 500;
    position: relative;
}

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

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

.blog-cta {
    text-align: center;
}

/* ============================
   Newsletter Section
============================ */
.newsletter {
    text-align: center;
    background-color: white;
    padding: 80px 0;
}

.newsletter p {
    max-width: 700px;
    margin: -30px auto 30px;
    color: var(--dark-gray);
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    margin-bottom: 15px;
}

.form-group input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--gray-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.form-group button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.form-check {
    text-align: left;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.form-check input {
    margin-right: 10px;
}

/* ============================
   Contact Section
============================ */
.contact {
    background-color: var(--light-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info .info-item {
    margin-bottom: 20px;
}

.contact-info .info-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.social-links a:hover {
    background-color: var(--primary-color);
}

.social-links a img {
    width: 20px;
    height: 20px;
}

.contact-form-container {
    position: relative;
}

.contact-graphic {
    position: absolute;
    top: -30px;
    left: -30px;
    z-index: 1;
    width: 100px;
    opacity: 0.2;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

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

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

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    margin-top: 10px;
    width: 100%;
}

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

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

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
    margin: 0;
}

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

.footer-col ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-col ul li a:hover,
.footer-col ul li a.active {
    color: white;
    padding-left: 5px;
}

.footer-col .social-links a {
    background-color: rgba(255, 255, 255, 0.1);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* ============================
   Thank You Page
============================ */
.thank-you {
    padding: 180px 0 100px;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.thank-you h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

.buttons {
    margin-top: 30px;
}

/* ============================
   Legal Pages
============================ */
.legal-content {
    padding: 150px 0 80px;
}

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

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.legal-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-text ul, .legal-text ol {
    margin-bottom: 30px;
}

.legal-text p {
    margin-bottom: 20px;
}

.cookie-settings-section {
    margin-top: 60px;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
}

/* ============================
   Responsive Styles
============================ */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
    
    .contact-graphic {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Header & Navigation */
    .mobile-menu-btn {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--shadow);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }
    
    nav.open {
        max-height: 500px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 10px 0;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 20px;
    }
    
    nav ul li a:after {
        display: none;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .testimonial {
        padding: 20px 10px;
    }
    
    .quote {
        padding: 0 20px;
        font-size: 1rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input[type="email"] {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .form-group button {
        border-radius: var(--border-radius);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .legal-content {
        padding: 120px 0 60px;
    }
}
