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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: #d4861a;
    color: white;
    border-color: #d4861a;
}

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

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
    border-color: #545b62;
}

.btn-outline {
    background-color: transparent;
    color: #d4861a;
    border-color: #d4861a;
}

.btn-outline:hover {
    background-color: #d4861a;
    color: white;
}

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

.navbar {
    padding: 15px 0;
}

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

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

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

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

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    width: 80px;
    height: 80px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
}

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

.about h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #d4861a;
    margin-bottom: 10px;
}

.stat p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.project-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.project-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-type {
    display: inline-block;
    background-color: #d4861a;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

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

.testimonial-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 25px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author strong {
    color: #333;
    font-weight: 600;
}

.testimonial-author span {
    color: #666;
    display: block;
    margin-top: 5px;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #d4861a 0%, #b8731a 100%);
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.newsletter-form button {
    background-color: white;
    color: #d4861a;
    border: none;
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.contact-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #d4861a;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #ccc;
    margin: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    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: 30px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

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

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

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

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

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

.cookie-modal-content h3 {
    margin-bottom: 20px;
    color: #333;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-category p {
    margin: 10px 0 0 30px;
    color: #666;
    font-size: 0.9rem;
}

.cookie-modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Blog Styles */
.blog-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.blog-hero p {
    font-size: 1.2rem;
    color: #666;
}

.blog-articles {
    padding: 80px 0;
}

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

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    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;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-image img {
    width: 100px;
    height: 100px;
    opacity: 0.3;
}

.article-content {
    padding: 30px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.category {
    background-color: #d4861a;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.date {
    color: #666;
    font-size: 0.9rem;
}

.article-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-content h2 a {
    color: #333;
    transition: color 0.3s ease;
}

.article-content h2 a:hover {
    color: #d4861a;
}

.article-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #d4861a;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #b8731a;
}

/* Article Page */
.article-page {
    padding: 120px 0 80px;
}

.article-header {
    margin-bottom: 40px;
}

.breadcrumb {
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #d4861a;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #b8731a;
}

.article-page .article-meta {
    margin-bottom: 20px;
}

.reading-time {
    color: #666;
    font-size: 0.9rem;
}

.article-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
}

.article-page .article-image {
    height: 400px;
    margin-bottom: 40px;
    border-radius: 10px;
    background-color: #f8f9fa;
}

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

.article-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #d4861a;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.article-content ul li {
    list-style: disc;
}

.article-content ol li {
    list-style: decimal;
}

.article-cta {
    background: linear-gradient(135deg, #d4861a 0%, #b8731a 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
}

.article-cta h3 {
    color: white;
    margin-bottom: 15px;
}

.article-cta p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.article-cta .btn {
    background-color: white;
    color: #d4861a;
}

.article-cta .btn:hover {
    background-color: #f8f9fa;
}

.article-navigation {
    text-align: center;
    margin-top: 40px;
}

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

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

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

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

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

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.legal-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 25px 0 15px;
}

.legal-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-section ul,
.legal-section ol {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-actions {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.legal-actions .btn {
    margin: 0 10px;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

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

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

.cookie-preferences-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

/* Thank You Page */
.thank-you-page {
    padding: 120px 0 80px;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 30px;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.lead {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.thank-you-details {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: left;
}

.thank-you-details h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

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

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: white;
    border-radius: 5px;
}

.next-steps {
    background-color: #e7f3ff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-left: 4px solid #007bff;
}

.next-steps h3 {
    color: #333;
    margin-bottom: 15px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.social-follow {
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.social-follow h4 {
    color: #333;
    margin-bottom: 20px;
}

.social-follow .social-links {
    justify-content: center;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    color: #333;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #d4861a;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-page h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-follow .social-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .cookie-modal-content {
        padding: 20px;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .newsletter,
    .cta-buttons,
    .article-navigation {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    .legal-page,
    .article-page {
        padding: 20px 0;
    }
    
    .legal-content,
    .article-content {
        max-width: none;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .article-cta {
        background: none;
        color: black;
        border: 1px solid black;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
