/* 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: #2c3e50;
    background-color: #fafafa;
}

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

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

a:hover {
    color: #1a3d6d;
}

ul {
    list-style-position: inside;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #ffffff;
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cookie-content p {
    text-align: center;
    margin: 0;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-cookie-accept,
.btn-cookie-reject {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cookie-accept {
    background-color: #27ae60;
    color: #ffffff;
}

.btn-cookie-accept:hover {
    background-color: #229954;
}

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

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

/* Editorial Navigation */
.editorial-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

.brand-logo:hover {
    color: #2c5aa0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    font-size: 0.95rem;
    color: #555;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2c5aa0;
}

.ad-notice {
    font-size: 0.8rem;
    color: #999;
    padding: 0.25rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: #f9f9f9;
}

/* Editorial Content Structure */
.editorial-content {
    max-width: 720px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.article-header {
    margin-bottom: 3rem;
    text-align: center;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 700;
}

.article-intro {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
    font-style: italic;
}

.article-body {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Content Sections */
.content-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.content-section h2 {
    font-size: 1.75rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    line-height: 1.3;
}

.content-section h3 {
    font-size: 1.35rem;
    margin-top: 1rem;
    color: #34495e;
    line-height: 1.4;
}

.content-section h4 {
    font-size: 1.1rem;
    margin-top: 0.75rem;
    color: #34495e;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.lead-paragraph {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #34495e;
    font-weight: 400;
}

.content-section ul,
.content-section ol {
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.content-section li {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Inline Images */
.inline-image {
    width: 100%;
    margin: 2rem 0;
    border-radius: 4px;
}

.image-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Highlight Boxes */
.highlight-box {
    background-color: #f8f9fa;
    padding: 2rem;
    border-left: 4px solid #2c5aa0;
    margin: 1rem 0;
}

.highlight-box h2 {
    margin-top: 0;
}

/* Testimonials */
.testimonial-inline {
    padding: 2rem;
    background-color: #fff;
    border-left: 4px solid #27ae60;
    margin: 2rem 0;
}

.testimonial-inline blockquote {
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
}

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

/* Inline CTAs */
.inline-cta {
    padding: 1.5rem;
    background-color: #ecf0f1;
    border-radius: 4px;
    text-align: left;
    margin: 1.5rem 0;
}

.inline-cta.centered {
    text-align: center;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.cta-link {
    display: inline-block;
    color: #2c5aa0;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cta-link:hover {
    color: #1a3d6d;
}

.cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: #2c5aa0;
    color: #ffffff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #1a3d6d;
    color: #ffffff;
}

.cta-button.primary {
    background-color: #27ae60;
}

.cta-button.primary:hover {
    background-color: #229954;
}

/* Services Preview */
.services-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-card {
    background-color: #ffffff;
    padding: 1.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-card h3 {
    font-size: 1.35rem;
    color: #2c3e50;
    margin: 0;
}

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

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
}

/* Service Detail Pages */
.service-detail {
    border-top: 3px solid #2c5aa0;
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.price-tag {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: #27ae60;
    margin: 1rem 0;
}

/* Contact Info */
.contact-info-section {
    margin: 2rem 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin: 0;
}

.email-display {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.email-note,
.hours-note,
.parking-note {
    font-size: 0.95rem;
    color: #777;
    font-style: italic;
}

.contact-email-cta {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.email-display-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
}

.contact-info-inline {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

/* Form Styles */
.form-section {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 4px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

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

.submit-button {
    padding: 1rem 2rem;
    background-color: #27ae60;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #229954;
}

/* Thanks Page */
.thanks-page .thanks-message {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.success-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

.service-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #e8f5e9;
    border-radius: 4px;
    font-weight: 600;
}

.next-steps {
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.next-steps li {
    font-size: 1.05rem;
    line-height: 1.6;
}

.cta-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cta-card {
    padding: 1.5rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-card:hover {
    border-color: #2c5aa0;
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.1);
}

.cta-card h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.cta-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Legal Pages */
.legal-page .content-section {
    gap: 1.5rem;
}

.legal-page h2 {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.legal-page h3 {
    margin-top: 1.5rem;
}

.url-display {
    color: #2c5aa0;
    font-weight: 600;
}

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

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

.cookie-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.cookie-table td {
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    margin-top: 5rem;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0;
}

.footer-section h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin: 0;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    color: #ecf0f1;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-disclaimer {
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    margin-top: 1rem;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(236, 240, 241, 0.2);
    text-align: center;
}

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

/* Responsive Design */
@media (min-width: 768px) {
    .article-header h1 {
        font-size: 3rem;
    }

    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .cookie-content p {
        text-align: left;
    }

    .cookie-buttons {
        flex-shrink: 0;
    }

    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

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

    .footer-disclaimer {
        flex-basis: 100%;
    }

    .cta-grid {
        flex-direction: row;
    }

    .cta-card {
        flex: 1;
    }

    .services-preview {
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        max-width: 720px;
    }
}

/* Accessibility */
:focus-visible {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .cookie-banner,
    .editorial-nav,
    .site-footer {
        display: none;
    }

    .editorial-content {
        max-width: 100%;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}