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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

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

a {
    color: #2E5C3E;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a3424;
}

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.bg-light {
    background-color: #f8f9fa;
}

.bg-primary {
    background-color: #2E5C3E;
    color: white;
}

.bg-primary h2,
.bg-primary h3 {
    color: white;
}

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

.btn-primary {
    background-color: #2E5C3E;
    color: white;
}

.btn-primary:hover {
    background-color: #1a3424;
    color: white;
}

.btn-secondary {
    background-color: #D4B886;
    color: #2E5C3E;
}

.btn-secondary:hover {
    background-color: #c9a870;
    color: #2E5C3E;
}

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

.btn-outline:hover {
    background-color: #2E5C3E;
    color: white;
}

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

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

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

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

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

.nav-link:hover,
.nav-link.active {
    color: #2E5C3E;
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 3px solid #2E5C3E;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

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

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

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

.cookie-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.cookie-category {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

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

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    float: right;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2E5C3E;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

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

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 40px;
}

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #2E5C3E;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2E5C3E 0%, #1a3424 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

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

.page-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
}

/* Company Info Grid */
.company-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.info-card h3 {
    color: #2E5C3E;
    margin-bottom: 15px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    color: #2E5C3E;
    margin-bottom: 15px;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #D4B886;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-author strong {
    color: #2E5C3E;
    display: block;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

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

.newsletter-content h2 {
    color: white;
    margin-bottom: 20px;
}

.newsletter-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

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

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 184, 134, 0.3);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

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

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

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

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

.blog-card.featured .blog-image {
    height: 100%;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.blog-meta .category {
    color: #2E5C3E;
    font-weight: 600;
}

.blog-content h2,
.blog-content h3 {
    margin-bottom: 15px;
}

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

.blog-content h2 a:hover,
.blog-content h3 a:hover {
    color: #1a3424;
}

.read-more {
    color: #2E5C3E;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

.read-more:hover {
    color: #1a3424;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 30px;
}

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

.contact-item strong {
    display: block;
    color: #2E5C3E;
    margin-bottom: 5px;
}

.social-media h3 {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    color: #2E5C3E;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #1a3424;
}

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

.feature-image {
    width: 100%;
    height: auto;
    max-width: 300px;
}

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

.mission-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.mission-card h3 {
    color: #2E5C3E;
    margin-bottom: 15px;
}

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

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

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

.cta-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Article Page */
.article {
    padding: 40px 0;
}

.article-header {
    margin-bottom: 40px;
}

.breadcrumb {
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #2E5C3E;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
    margin-top: 10px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: 30px 0;
}

.lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    font-weight: 500;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-cta {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin: 40px 0;
    border-left: 4px solid #2E5C3E;
}

.article-cta h3 {
    margin-bottom: 15px;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    gap: 20px;
}

/* Thanks Page */
.thanks-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.thanks-icon {
    margin-bottom: 30px;
}

.thanks-content h1 {
    font-size: 3rem;
    color: #2E5C3E;
    margin-bottom: 20px;
}

.thanks-message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.thanks-details {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    text-align: left;
}

.thanks-details h2 {
    text-align: center;
    margin-bottom: 20px;
}

.thanks-details ul {
    list-style: none;
    padding: 0;
}

.thanks-details li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.thanks-details li:last-child {
    border-bottom: none;
}

.thanks-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.thanks-contact {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.thanks-contact h3 {
    text-align: center;
    margin-bottom: 20px;
}

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

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

.project-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project-card h3 {
    color: #2E5C3E;
    margin-bottom: 15px;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #2E5C3E;
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2E5C3E;
}

.legal-content ul,
.legal-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 8px;
}

/* Newsletter Signup */
.newsletter-signup {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-signup h2 {
    margin-bottom: 20px;
}

.newsletter-signup p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: #2E5C3E;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .blog-card.featured {
        grid-template-columns: 1fr;
    }

    .blog-card.featured .blog-image {
        height: 200px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .article-navigation {
        flex-direction: column;
    }

    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }

    .thanks-content h1 {
        font-size: 2.5rem;
    }
}

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

    .hero {
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section {
        padding: 40px 0;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .thanks-content h1 {
        font-size: 2rem;
    }

    .thanks-actions {
        gap: 15px;
    }

    .thanks-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .nav-toggle {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .section {
        padding: 20px 0;
    }

    .page-header {
        background: none !important;
        color: #333 !important;
        padding: 20px 0;
    }

    .page-header h1 {
        color: #333 !important;
    }

    a {
        color: #333 !important;
        text-decoration: underline;
    }
}
