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

html {
    scroll-behavior: smooth;
}

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

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

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;
}

p {
    margin-bottom: 1rem;
    color: #34495e;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #c0392b;
    color: white;
    border: 2px solid #c0392b;
}

.btn-primary:hover {
    background-color: #a93226;
    border-color: #a93226;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #c0392b;
    color: white;
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: #95a5a6;
    color: white;
    border: 2px solid #95a5a6;
}

.btn-tertiary:hover {
    background-color: #7f8c8d;
    border-color: #7f8c8d;
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 40px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #c0392b;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

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

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #c0392b;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c0392b;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 4rem 40px;
    border-bottom: 3px solid #c0392b;
}

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

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

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #34495e;
}

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

/* 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: #f8f9fa;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #c0392b;
    box-shadow: 0 10px 30px rgba(192, 57, 43, 0.1);
}

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

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

/* About Preview */
.about-preview {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

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

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

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

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

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

.blog-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 2px solid #ecf0f1;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: #c0392b;
}

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

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 a {
    text-decoration: none;
    color: #2c3e50;
}

.blog-content h3 a:hover {
    color: #c0392b;
}

.read-more {
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

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

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

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

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

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #ecf0f1;
    position: relative;
}

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

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #34495e;
}

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

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

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

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

.contact-info img {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
}

.social-links a:hover {
    text-decoration: underline;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #000;
    color: #ecf0f1;
    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 {
    margin-bottom: 1rem;
    color: #c0392b;
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #c0392b;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #95a5a6;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    color: #f8c3c0;
    font-size: 1.25rem;
}

/* Article Styles */
.article-page {
    padding: 2rem 0;
}

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

.breadcrumb {
    margin-bottom: 1rem;
    color: #7f8c8d;
}

.breadcrumb a {
    color: #c0392b;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.article-category {
    background-color: #c0392b;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.article-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

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

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

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

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

.article-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c3e50;
    border-left: 4px solid #c0392b;
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.article-cta {
    background-color: #f8f9fa;
    border: 2px solid #c0392b;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ecf0f1;
}

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

.article-share a {
    color: #c0392b;
    text-decoration: none;
}

.article-share a:hover {
    text-decoration: underline;
}

/* Related Articles */
.related-articles {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #ecf0f1;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: #c0392b;
}

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

.related-card h3 {
    padding: 1rem;
}

.related-card h3 a {
    text-decoration: none;
    color: #2c3e50;
}

/* Legal Content */
.legal-content {
    padding: 2rem 0;
}

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

.legal-text h2 {
    color: #c0392b;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

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

/* Cookie Styles */
.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;
}

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

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

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
}

.cookie-option {
    margin: 1rem 0;
}

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

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

/* Tables */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

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

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

/* Thanks Page */
.thanks-page {
    padding: 4rem 0;
    text-align: center;
}

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

.thanks-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
}

.thanks-message {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #34495e;
}

.next-steps {
    margin-bottom: 3rem;
}

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

.step {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid #ecf0f1;
}

.step img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.contact-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

.social-follow {
    margin-bottom: 2rem;
}

.social-link {
    display: inline-block;
    margin: 0 1rem;
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
}

.social-link:hover {
    text-decoration: underline;
}

.testimonial-preview {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid #ecf0f1;
}

.testimonial-preview blockquote {
    border-left: 4px solid #c0392b;
    padding-left: 1rem;
    font-style: italic;
}

.testimonial-preview img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

/* Blog Specific Styles */
.blog-content {
    padding: 2rem 0;
}

.blog-grid .featured {
    grid-column: 1 / -1;
}

.featured .blog-content h2 {
    font-size: 1.8rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-date {
    color: #7f8c8d;
}

.blog-categories {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

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

.category-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #ecf0f1;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #c0392b;
}

.category-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

/* Newsletter */
.newsletter-signup {
    padding: 3rem 0;
    background-color: #c0392b;
    color: white;
    text-align: center;
}

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

.newsletter-signup p {
    color: #f8c3c0;
    margin-bottom: 2rem;
}

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

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background-color: #fff;
}

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

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

.team-member {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #ecf0f1;
}

.team-member img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.reason-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #ecf0f1;
    transition: transform 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
    border-color: #c0392b;
}

.reason-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background-color: #c0392b;
    color: white;
    text-align: center;
}

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

.cta-section p {
    color: #f8c3c0;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-buttons {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .services-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .services,
    .about-preview,
    .blog-preview,
    .testimonials,
    .contact {
        padding: 2rem 0;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-tertiary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .article-content {
        padding: 0 1rem;
    }
    
    .legal-text {
        padding: 0 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal {
        display: none;
    }
    
    main {
        margin-top: 0;
    }
    
    .article-content,
    .legal-text {
        max-width: none;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-tertiary {
        background: none !important;
        color: black !important;
        border: 1px solid black !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    body {
        background-color: white;
        color: black;
    }
    
    .btn-primary {
        background-color: black;
        color: white;
        border-color: black;
    }
    
    .service-card,
    .blog-card,
    .testimonial-card {
        border-color: black;
        border-width: 2px;
    }
}

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