/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #4a5c4d;
    font-size: 1.1rem;
}

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

a:hover {
    color: #d2691e;
}

/* Header */
header {
    background-color: #f8f6f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 40px;
}

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

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

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

.nav-menu a {
    font-weight: 500;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f6f0 0%, #e8e5d8 100%);
    padding: 4rem 40px;
    min-height: 500px;
    display: flex;
    align-items: center;
}

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

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

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #4a5c4d;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #8b4513 0%, #d2691e 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
    color: white;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: #fff;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.service-card {
    background: #f8f6f0;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #8b4513;
}

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #000;
    margin-bottom: 1rem;
}

/* About Preview Section */
.about-preview {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e8e5d8 0%, #f8f6f0 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text ul {
    list-style: none;
    margin: 1.5rem 0;
}

.about-text li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4a5c4d;
}

.about-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b4513;
    font-weight: bold;
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    color: #8b4513;
    border: 2px solid #8b4513;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-more:hover {
    background-color: #8b4513;
    color: white;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: #fff;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background: #f8f6f0;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid #8b4513;
}

.testimonial-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-style: italic;
    color: #4a5c4d;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-card cite {
    color: #8b4513;
    font-weight: 600;
}

/* Blog Preview Section */
.blog-preview {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e8e5d8 0%, #f8f6f0 100%);
}

.blog-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    margin-bottom: 0.5rem;
    color: #000;
}

.blog-content p {
    margin-bottom: 1rem;
    color: #4a5c4d;
}

.blog-content a {
    color: #8b4513;
    font-weight: 600;
}

.blog-link {
    text-align: center;
    margin-top: 2rem;
}

.blog-link a {
    color: #8b4513;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.contact-item strong {
    color: #000;
    display: block;
    margin-bottom: 0.5rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    margin-bottom: 1rem;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    background-color: #8b4513;
    color: white;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #d2691e;
}

/* Form Styles */
.contact-form {
    background: #f8f6f0;
    padding: 2rem;
    border-radius: 15px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e0ddd0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8b4513;
}

.contact-form button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #8b4513 0%, #d2691e 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

/* 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 h4 {
    color: #d2691e;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #e0ddd0;
    transition: color 0.3s ease;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

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

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

.cookie-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-buttons button:first-child {
    background: #8b4513;
    color: white;
}

.cookie-buttons button:nth-child(2) {
    background: #f8f6f0;
    color: #000;
}

.cookie-buttons button:last-child {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

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

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

.cookie-modal h3 {
    margin-bottom: 1.5rem;
    color: #000;
}

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

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

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

.cookie-category span {
    font-size: 0.9rem;
    color: #4a5c4d;
}

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

.cookie-modal-buttons button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-modal-buttons button:first-child {
    background: #8b4513;
    color: white;
}

.cookie-modal-buttons button:last-child {
    background: #f0f0f0;
    color: #000;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #f8f6f0 0%, #e8e5d8 100%);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: #000;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #4a5c4d;
}

/* About Page */
.about-story {
    padding: 4rem 0;
    background-color: #fff;
}

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

.mission-values {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e8e5d8 0%, #f8f6f0 100%);
}

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

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

.mission-card h3 {
    color: #8b4513;
    margin-bottom: 1rem;
}

.company-stats {
    padding: 4rem 0;
    background-color: #fff;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #8b4513;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: #4a5c4d;
    margin-top: 0.5rem;
}

.team-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e8e5d8 0%, #f8f6f0 100%);
}

.quality-content h3 {
    color: #8b4513;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.quality-content h3:first-child {
    margin-top: 0;
}

.contact-cta {
    padding: 4rem 0;
    background-color: #000;
    text-align: center;
    color: white;
}

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

.contact-cta p {
    color: #e0ddd0;
    margin-bottom: 2rem;
}

/* Blog Page */
.blog-articles {
    padding: 4rem 0;
    background-color: #fff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.article-card {
    background: #f8f6f0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.article-image {
    height: 250px;
    overflow: hidden;
}

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

.article-content {
    padding: 2rem;
}

.article-content h2 {
    color: #000;
    margin-bottom: 0.5rem;
}

.article-meta {
    color: #8b4513;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.read-more {
    color: #8b4513;
    font-weight: 600;
    text-decoration: underline;
}

/* Blog Article Page */
.blog-article {
    padding: 2rem 0;
}

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

.article-hero {
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.article-hero img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

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

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

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #8b4513;
}

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

.article-content li {
    margin-bottom: 0.5rem;
    color: #4a5c4d;
}

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

.back-to-blog {
    margin-bottom: 2rem;
}

.back-to-blog a {
    color: #8b4513;
    font-weight: 600;
}

.article-cta {
    background: #f8f6f0;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.article-cta h3 {
    color: #000;
    margin-bottom: 1rem;
}

.article-cta p {
    margin-bottom: 1.5rem;
}

/* Thanks Page */
.thanks-section {
    padding: 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

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

.thanks-icon {
    margin: 2rem 0;
}

.thanks-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #4a5c4d;
}

.next-steps {
    background: #f8f6f0;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: left;
}

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

.next-steps ul {
    list-style: none;
}

.next-steps li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e8e5d8;
    font-size: 1.1rem;
}

.next-steps li:last-child {
    border-bottom: none;
}

.contact-info {
    margin: 2rem 0;
}

.contact-details {
    background: #f8f6f0;
    padding: 1.5rem;
    border-radius: 10px;
    display: inline-block;
    text-align: left;
}

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

.contact-item:last-child {
    margin-bottom: 0;
}

.helpful-links {
    margin: 2rem 0;
}

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

.helpful-link {
    background: #f8f6f0;
    padding: 1.5rem;
    border-radius: 10px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: left;
}

.helpful-link:hover {
    background: #8b4513;
    color: white;
}

.helpful-link h4 {
    margin-bottom: 0.5rem;
}

.helpful-link:hover h4,
.helpful-link:hover p {
    color: white;
}

.return-home {
    margin-top: 3rem;
}

/* Legal Pages */
.legal-page {
    padding: 2rem 0;
}

.last-updated {
    font-style: italic;
    color: #8b4513;
    margin-bottom: 2rem;
    text-align: center;
}

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

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

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #8b4513;
}

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

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

.contact-details {
    background: #f8f6f0;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

/* Cookie Policy Specific */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

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

.cookies-table tr:hover {
    background: #f8f6f0;
}

.cookie-controls {
    background: #f8f6f0;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
}

.cookie-settings-btn {
    background: #8b4513;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-settings-btn:hover {
    background: #d2691e;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Simplified for mobile */
    }
    
    .hero-content,
    .about-content,
    .contact-content,
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .services-grid,
    .testimonials-grid,
    .mission-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .cookie-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-card {
        margin: 0 -15px;
        border-radius: 0;
    }
}

/* Print Styles */
@media print {
    .cookie-banner,
    .cookie-modal,
    header,
    footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .legal-content {
        max-width: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #8b4513;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #fff;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card {
        border: 2px solid #000;
    }
}
