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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #000;
    background-color: #faf8f5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: normal;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.4;
}

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

a {
    color: #8b4513;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #654321;
}

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

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

.btn-primary {
    background-color: #8b4513;
    color: white;
}

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

.btn-secondary {
    background-color: transparent;
    color: #8b4513;
    border: 2px solid #8b4513;
}

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

.btn-tertiary {
    background-color: #f5f5f5;
    color: #000;
    border: 1px solid #ddd;
}

.btn-tertiary:hover {
    background-color: #e9e9e9;
}

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

.nav {
    padding: 1rem 40px;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8b4513;
}

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

.nav-menu a {
    color: #000;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #8b4513;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #8b4513;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f3f0 0%, #e8e5e0 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4a4a4a;
}

.about-hero,
.blog-hero,
.thanks-hero {
    padding: 140px 0 60px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-icon {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layouts */
.info-grid,
.services-grid,
.testimonials-grid,
.blog-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.info-grid,
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Card Styles */
.info-card,
.service-card,
.testimonial-card,
.blog-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover,
.service-card:hover,
.testimonial-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.card-image,
.service-image,
.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.blog-category {
    display: inline-block;
    background-color: #8b4513;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Testimonials */
.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

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

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
    color: white;
}

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

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: grid;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    background-color: rgba(255,255,255,0.9);
}

.form-group input:focus {
    outline: none;
    background-color: white;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
}

/* Contact Section */
.contact {
    background-color: #f8f6f3;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: #8b4513;
    margin-bottom: 0.5rem;
}

.social-links h3 {
    color: #8b4513;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #8b4513;
    color: white;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #654321;
}

/* Footer */
.footer {
    background-color: #000;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: #8b4513;
    margin-bottom: 1rem;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    color: white;
    padding: 1rem;
    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: 2rem;
}

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

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1002;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    margin-bottom: 1.5rem;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.2rem;
}

.cookie-option p {
    margin: 0.5rem 0 0 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* About Page Styles */
.company-story {
    background-color: white;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.mission-icon {
    height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.team-member h4 {
    color: #8b4513;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #8b4513;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #8b4513;
    color: white;
    font-weight: bold;
    padding: 0.5rem;
    border-radius: 4px;
    height: 40px;
}

.timeline-content {
    flex: 1;
    padding: 0 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin: 0 1rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    opacity: 0.8;
}

/* Article Styles */
.article-header {
    background: linear-gradient(135deg, #f5f3f0 0%, #e8e5e0 100%);
    padding: 140px 0 60px;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-category {
    background-color: #8b4513;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.article-date,
.article-read-time {
    color: #666;
    font-size: 0.9rem;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    color: #1a1a1a;
}

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

.article-content {
    padding: 4rem 0;
}

.article-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-image {
    margin: 3rem 0;
    text-align: center;
}

.content-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.image-caption {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

.lead {
    font-size: 1.25rem;
    color: #000;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.article-text ul,
.article-text ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-text li {
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

.article-footer {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.article-tags {
    margin-bottom: 2rem;
}

.tag {
    display: inline-block;
    background-color: #f5f5f5;
    color: #666;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

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

.thanks-image {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
}

.thanks-message {
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.thanks-benefits {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    text-align: left;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.benefits-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    opacity: 0.8;
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.next-step-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    text-align: center;
}

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

.step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

.contact-btn span {
    font-size: 1.5rem;
}

.thanks-social,
.thanks-next-steps,
.thanks-contact {
    margin: 3rem 0;
}

.back-to-home {
    margin-top: 3rem;
}

/* Legal Pages */
.legal-page {
    padding: 140px 0 80px;
}

.legal-intro {
    font-size: 1rem;
    color: #666;
    margin-bottom: 3rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content section {
    margin-bottom: 3rem;
}

.legal-content h2 {
    color: #8b4513;
    border-bottom: 2px solid #8b4513;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-content h3 {
    color: #000;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

.contact-info {
    background: #f8f6f3;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Cookie Tables */
.cookie-table {
    margin: 1rem 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.cookie-table th {
    background-color: #8b4513;
    color: white;
    font-weight: bold;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

/* Newsletter CTA */
.newsletter-cta {
    background: linear-gradient(135deg, #f5f3f0 0%, #e8e5e0 100%);
    text-align: center;
}

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

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

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

    .nav-toggle {
        display: flex;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .info-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 50px;
    }

    .timeline-year {
        position: absolute;
        left: 0;
        top: 0;
        flex: none;
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .timeline-content {
        margin: 0;
    }

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

    .advantage-item {
        flex-direction: column;
        text-align: center;
    }

    .article-navigation {
        flex-direction: column;
        align-items: center;
    }

    .next-steps-grid {
        grid-template-columns: 1fr;
    }

    .contact-options {
        flex-direction: column;
        align-items: center;
    }

    .benefits-list li {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

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

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

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

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

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

    .cookie-table {
        font-size: 0.85rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem;
    }
}

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

    .hero {
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }

    .article-header {
        padding: 2rem 0;
    }

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

    h1 { font-size: 18pt; }
    h2 { font-size: 16pt; }
    h3 { font-size: 14pt; }
    h4 { font-size: 13pt; }

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