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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

/* Navigation */
.main-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5f2d;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
}

.nav-disclosure {
    padding: 0.5rem 1rem;
}

.ad-label {
    font-size: 0.75rem;
    color: #666;
    font-family: 'Arial', sans-serif;
    font-style: italic;
}

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

.nav-menu a {
    color: #2a2a2a;
    text-decoration: none;
    font-size: 0.95rem;
    font-family: 'Arial', sans-serif;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2c5f2d;
}

/* Editorial Container - Main Article Layout */
.editorial-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background-color: #ffffff;
}

.main-article {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Article Header with Hero Image */
.article-header {
    margin-bottom: 3rem;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    background-color: #e8e8e8;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    padding: 3rem 2rem 2rem;
    color: #ffffff;
}

.main-headline {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-intro {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #f0f0f0;
}

/* Page Header (for non-home pages) */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c5f2d;
}

.header-intro {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Article Sections */
.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: #2c5f2d;
    font-weight: 600;
}

.article-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #3a7a3c;
    font-weight: 600;
}

.article-section p {
    margin-bottom: 1.3rem;
}

.opening-text {
    font-size: 1.25rem;
    font-style: italic;
    color: #444;
    margin-bottom: 2rem;
}

/* Inline Images in Editorial Flow */
.article-section.with-image {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.section-image-right {
    flex: 0 0 45%;
    background-color: #e8e8e8;
}

.section-text-left {
    flex: 1;
}

.section-image-left-col {
    flex: 0 0 45%;
    background-color: #e8e8e8;
}

.section-text-right-col {
    flex: 1;
}

.article-section.with-image-left {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.inline-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.full-width-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 2rem 0;
    object-fit: cover;
    background-color: #e8e8e8;
}

/* Background Section with Overlay */
.with-background {
    margin: 3rem -2rem;
    padding: 0;
}

.background-section {
    position: relative;
    min-height: 500px;
    background-color: #e8e8e8;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay-content {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.92);
    max-width: 650px;
    margin: 3rem;
}

.overlay-content h2 {
    color: #2c5f2d;
    margin-bottom: 1.5rem;
}

/* Info Grid */
.info-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    padding: 1.5rem;
    background-color: #f7f7f7;
    border-left: 4px solid #2c5f2d;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2c5f2d;
}

.info-card p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Testimonial */
.testimonial-section {
    margin: 3rem 0;
    padding: 2.5rem 2rem;
    background-color: #f9f9f9;
    border-left: 5px solid #2c5f2d;
}

.testimonial {
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
}

.testimonial p {
    margin-bottom: 1rem;
    color: #333;
}

.testimonial cite {
    font-style: normal;
    color: #666;
    font-size: 0.95rem;
    display: block;
    margin-top: 1rem;
}

/* CTA Inline */
.cta-inline {
    margin: 3rem 0;
}

.cta-box {
    background-color: #2c5f2d;
    color: #ffffff;
    padding: 2.5rem 2rem;
    text-align: center;
}

.cta-box h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.9rem 2rem;
    background-color: #2c5f2d;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.btn-secondary {
    display: inline-block;
    padding: 0.9rem 2rem;
    background-color: transparent;
    color: #2c5f2d;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    border: 2px solid #2c5f2d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #2c5f2d;
    color: #ffffff;
}

/* Services Preview */
.services-preview {
    margin: 3rem 0;
}

.services-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    padding: 1.8rem;
    background-color: #f7f7f7;
    border: 1px solid #e0e0e0;
}

.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c5f2d;
}

.service-item p {
    margin-bottom: 1rem;
    color: #444;
}

.service-item ul {
    margin: 1rem 0 1rem 1.5rem;
}

.service-item li {
    margin-bottom: 0.5rem;
}

.price {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c5f2d;
    margin-top: 1rem;
    font-family: 'Arial', sans-serif;
}

/* Form Section */
.form-section {
    margin: 3rem 0;
    padding: 2.5rem 2rem;
    background-color: #f9f9f9;
}

.form-section h2 {
    margin-bottom: 1rem;
    color: #2c5f2d;
}

.consultation-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-family: 'Arial', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5f2d;
}

.btn-submit {
    padding: 1rem 2.5rem;
    background-color: #2c5f2d;
    color: #ffffff;
    border: none;
    font-family: 'Arial', sans-serif;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #3a7a3c;
}

/* Disclaimer Section */
.disclaimer-section {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #fff8e1;
    border: 1px solid #ffd54f;
}

.disclaimer-section h3 {
    color: #f57c00;
    margin-bottom: 1rem;
}

.disclaimer-section p {
    font-size: 0.95rem;
    color: #555;
}

/* References Section */
.references-section {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #f0f0f0;
    border-top: 3px solid #2c5f2d;
}

.references-section h3 {
    margin-bottom: 1.5rem;
    color: #2c5f2d;
}

.references-list {
    list-style-position: inside;
    counter-reset: ref-counter;
}

.references-list li {
    margin-bottom: 1rem;
    padding-left: 1rem;
    font-size: 0.95rem;
}

.references-list a {
    color: #2c5f2d;
    text-decoration: none;
}

.references-list a:hover {
    text-decoration: underline;
}

.citation {
    color: #2c5f2d;
    text-decoration: none;
    font-weight: 600;
}

.citation:hover {
    text-decoration: underline;
}

/* Services Detailed Page */
.services-detailed {
    margin: 3rem 0;
}

.service-detail {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: flex-start;
}

.service-detail.reverse {
    flex-direction: row-reverse;
}

.service-header {
    flex: 0 0 40%;
    background-color: #e8e8e8;
}

.service-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.service-content {
    flex: 1;
}

.service-content h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #2c5f2d;
}

.service-content p {
    margin-bottom: 1rem;
}

.service-content ul {
    margin: 1rem 0 1rem 1.5rem;
}

.service-content li {
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5f2d;
    margin-top: 1.5rem;
    font-family: 'Arial', sans-serif;
}

.pricing-note {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #f7f7f7;
    border-left: 4px solid #2c5f2d;
}

/* Focus Areas */
.focus-areas {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.focus-card {
    padding: 1.8rem;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.focus-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c5f2d;
}

/* CTA Section */
.cta-section {
    margin: 3rem 0;
    padding: 3rem 2rem;
    background-color: #2c5f2d;
    color: #ffffff;
    text-align: center;
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #f0f0f0;
    margin-bottom: 2rem;
}

/* Contact Page */
.contact-info-section {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.contact-details {
    flex: 1;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: #2c5f2d;
    margin-bottom: 0.8rem;
}

.contact-image {
    flex: 0 0 45%;
    background-color: #e8e8e8;
}

.location-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Thanks Page */
.thanks-container {
    text-align: center;
    padding: 3rem 2rem;
}

.thanks-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.thanks-container h1 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #2c5f2d;
}

.thanks-message {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.service-confirmation {
    background-color: #f0f7f0;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #2c5f2d;
}

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

.next-steps {
    text-align: left;
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 2rem;
    background-color: #f7f7f7;
}

.next-steps h2 {
    color: #2c5f2d;
    margin-bottom: 1.5rem;
    text-align: center;
}

.next-steps ol {
    padding-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Legal Pages */
.legal-page {
    max-width: 900px;
}

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

.legal-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #2c5f2d;
}

.legal-section h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #3a7a3c;
    margin-top: 1.5rem;
}

.legal-section p {
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
}

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

.legal-section a {
    color: #2c5f2d;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid #ddd;
    padding: 0.8rem;
    text-align: left;
}

.cookie-table th {
    background-color: #2c5f2d;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
}

.cookie-table td {
    background-color: #f9f9f9;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    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;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    font-family: 'Arial', sans-serif;
}

.cookie-content a {
    color: #a8d5a8;
    text-decoration: underline;
}

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

.btn-accept,
.btn-reject {
    padding: 0.7rem 1.5rem;
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-accept {
    background-color: #2c5f2d;
    color: #ffffff;
}

.btn-accept:hover {
    background-color: #3a7a3c;
}

.btn-reject {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
.main-footer {
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 3rem 2rem 1.5rem;
    font-family: 'Arial', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    color: #a8d5a8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

.footer-column a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-column p {
    color: #cccccc;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.8rem;
    }

    .main-headline {
        font-size: 1.8rem;
    }

    .hero-intro {
        font-size: 1rem;
    }

    .article-section.with-image,
    .article-section.with-image-left {
        flex-direction: column;
    }

    .section-image-right,
    .section-image-left-col {
        flex: 1 1 100%;
    }

    .service-detail {
        flex-direction: column;
    }

    .service-detail.reverse {
        flex-direction: column;
    }

    .service-header {
        flex: 1 1 100%;
    }

    .contact-info-section {
        flex-direction: column;
    }

    .contact-image {
        flex: 1 1 100%;
    }

    .overlay-content {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    .editorial-container {
        padding: 2rem 1rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .thanks-actions {
        flex-direction: column;
    }
}