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

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

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

a {
    color: #3d5a4c;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a2e23;
}

/* Ad Disclosure */
.ad-disclosure {
    background-color: #f4f4f4;
    color: #666;
    text-align: center;
    padding: 8px 15px;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border-bottom: 1px solid #e0e0e0;
}

/* Navigation */
.main-nav {
    background-color: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 22px;
    font-weight: 600;
    color: #3d5a4c;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    color: #444;
}

.nav-links a:hover {
    color: #3d5a4c;
}

/* Editorial Content Layout */
.editorial-content {
    max-width: 100%;
    margin: 0 auto;
}

.narrow-column {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Hero Editorial */
.hero-editorial {
    margin-bottom: 60px;
}

.hero-image-container {
    width: 100%;
    height: 560px;
    overflow: hidden;
    background-color: #e8e8e8;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-narrow {
    max-width: 680px;
    margin: 50px auto 0;
    padding: 0 30px;
}

.hero-text-narrow h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.lead-text {
    font-size: 22px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
}

/* Story Sections */
.story-intro,
.problem-section,
.insight-section,
.methodology-section,
.team-section,
.philosophy-section,
.recognition-section,
.commitment-section,
.next-section,
.final-thought {
    padding: 50px 0;
}

.story-intro p,
.problem-section p,
.insight-section p,
.methodology-section p,
.team-section p,
.philosophy-section p,
.recognition-section p,
.commitment-section p,
.next-section p,
.final-thought p {
    margin-bottom: 20px;
}

h2 {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 25px;
    margin-top: 45px;
}

h3 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    margin-top: 30px;
}

/* Inline Images */
.inline-image {
    width: 100%;
    margin: 40px 0;
    background-color: #e8e8e8;
}

/* Services Editorial */
.services-editorial {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.service-cards-editorial {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service-card-editorial {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.service-card-editorial img {
    width: 100%;
    height: 320px;
    background-color: #e8e8e8;
}

.service-content {
    padding: 35px;
}

.service-content h3 {
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 18px;
}

.service-content p {
    margin-bottom: 15px;
    font-size: 17px;
}

.service-details {
    font-size: 15px;
    color: #666;
    font-style: italic;
    margin: 20px 0;
}

.service-price {
    font-size: 24px;
    font-weight: 600;
    color: #3d5a4c;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.select-service-btn {
    background-color: #3d5a4c;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: background-color 0.3s ease;
}

.select-service-btn:hover {
    background-color: #2d4537;
}

/* Testimonials */
.testimonials-section {
    padding: 60px 0;
    background-color: #f4f4f0;
}

blockquote {
    border-left: 3px solid #3d5a4c;
    padding-left: 30px;
    margin: 35px 0;
    font-style: italic;
    font-size: 19px;
    line-height: 1.7;
}

cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-size: 15px;
    color: #666;
}

/* Booking Section */
.booking-section {
    padding: 60px 0;
}

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

.form-notice {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    padding: 15px 20px;
    margin-bottom: 25px;
    font-size: 15px;
    color: #856404;
    display: none;
}

.form-notice.active {
    display: block;
}

.form-notice.selected {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #3d5a4c;
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 17px;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #2d4537;
}

.submit-btn:disabled {
    background-color: #999;
    cursor: not-allowed;
}

/* Page Headers */
.page-header-editorial {
    padding: 80px 0 40px;
}

.page-header-editorial h1 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 400;
    color: #1a1a1a;
}

/* Contact Page */
.contact-section {
    padding: 50px 0;
}

.contact-info-block {
    margin-bottom: 50px;
}

.contact-details {
    margin-top: 30px;
}

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

.contact-item strong {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    color: #1a1a1a;
}

.email-display {
    font-family: 'Courier New', monospace;
    color: #3d5a4c;
}

.hours-note {
    font-size: 15px;
    color: #666;
    font-style: italic;
    margin-top: 15px;
}

.contact-expectations,
.contact-policies,
.contact-accessibility,
.contact-research {
    margin-bottom: 50px;
}

.contact-expectations ul,
.contact-policies ul,
.contact-accessibility ul {
    margin-left: 25px;
    margin-top: 15px;
}

.contact-expectations li,
.contact-policies li,
.contact-accessibility li {
    margin-bottom: 10px;
}

/* Services Detail Page */
.services-detail-section {
    padding: 50px 0;
}

.service-detail-item {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 30px;
}

.service-detail-content h2 {
    font-size: 36px;
    margin-top: 0;
}

.service-specs {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 25px;
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.spec-item {
    flex: 1 1 45%;
    font-size: 15px;
}

.spec-item strong {
    display: block;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.service-price-large {
    font-size: 32px;
    font-weight: 600;
    color: #3d5a4c;
    margin: 30px 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.service-note {
    font-size: 15px;
    color: #666;
    font-style: italic;
    margin-top: -15px;
    margin-bottom: 20px;
}

/* Thanks Page */
.thanks-section {
    padding: 80px 0;
}

.thanks-message {
    margin: 40px 0;
}

.next-steps {
    margin: 50px 0;
}

.next-steps ol {
    margin-left: 25px;
    margin-top: 20px;
}

.next-steps li {
    margin-bottom: 15px;
}

.thanks-navigation {
    margin-top: 50px;
    padding: 30px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.thanks-navigation ul {
    margin-left: 25px;
    margin-top: 15px;
}

.thanks-navigation li {
    margin-bottom: 10px;
}

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

.legal-updated {
    font-size: 15px;
    color: #666;
    font-style: italic;
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section ul {
    margin-left: 25px;
    margin-top: 15px;
}

.legal-section li {
    margin-bottom: 12px;
}

.cookie-table {
    margin: 30px 0;
}

.cookie-row {
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 15px;
    background-color: #fff;
}

.cookie-name {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.cookie-details p {
    margin-bottom: 8px;
    font-size: 15px;
}

/* Footer */
.main-footer {
    background-color: #2c3e35;
    color: #d4d4d4;
    padding: 60px 30px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-section {
    flex: 1 1 220px;
}

.footer-section h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

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

.footer-section a {
    color: #b8b8b8;
}

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

.disclaimer-text {
    font-size: 13px;
    line-height: 1.5;
    color: #a0a0a0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid #4a5a50;
    text-align: center;
    font-size: 14px;
    color: #888;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c2c2c;
    color: #fff;
    padding: 25px 30px;
    z-index: 2000;
    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: 30px;
}

.cookie-content p {
    flex: 1;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

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

.cookie-btn {
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: background-color 0.3s ease;
}

.cookie-btn.accept {
    background-color: #3d5a4c;
    color: #fff;
}

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

.cookie-btn.reject {
    background-color: #6c757d;
    color: #fff;
}

.cookie-btn.reject:hover {
    background-color: #5a6268;
}

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

    .nav-links {
        gap: 20px;
    }

    .hero-text-narrow h1 {
        font-size: 36px;
    }

    .lead-text {
        font-size: 19px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .footer-content {
        flex-direction: column;
        gap: 35px;
    }

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

    .cookie-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }

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

    .spec-item {
        flex: 1 1 100%;
    }

    .hero-image-container {
        height: 400px;
    }
}