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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background-color: #d35400;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

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

.btn-secondary {
    background-color: transparent;
    color: #d35400;
    padding: 12px 24px;
    border: 2px solid #d35400;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    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;
    text-align: center;
}

.cookie-buttons {
    margin-top: 15px;
}

.cookie-buttons button {
    margin: 0 10px;
}

/* Header */
.header {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #d35400;
}

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

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 2rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #d35400;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-image {
    max-width: 300px;
    height: auto;
    margin-bottom: 2rem;
}

/* Grid Layouts */
.services-grid,
.specialties-grid,
.testimonials-grid,
.articles-grid,
.values-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Service Cards */
.service-card,
.specialty-card,
.value-card,
.team-member {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover,
.specialty-card:hover,
.value-card:hover,
.team-member:hover {
    transform: translateY(-5px);
}

.service-card img,
.specialty-card img,
.value-card img,
.team-member img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

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

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

.testimonial-card cite {
    font-weight: bold;
    color: #d35400;
}

/* Sections */
.services,
.about-company,
.regional-specialties,
.testimonials,
.mission,
.history,
.team,
.values,
.blog-articles {
    padding: 80px 0;
}

.services,
.regional-specialties,
.mission,
.team {
    background-color: #f8f9fa;
}

.about-company,
.about-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Timeline */
.history-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.timeline-year {
    background-color: #d35400;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-right: 2rem;
    min-width: 80px;
    text-align: center;
}

.timeline-content {
    flex: 1;
}

/* Newsletter */
.newsletter {
    background-color: #2c3e50;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.newsletter-content img {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.newsletter-form input {
    padding: 12px;
    border: none;
    border-radius: 5px;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.newsletter-form button {
    min-width: 150px;
}

/* Footer */
.footer {
    background-color: #34495e;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    color: #d35400;
    margin-bottom: 1rem;
}

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

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

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

.footer-section a:hover,
.footer-section a.active {
    color: #d35400;
}

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

.social-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* About Page */
.about-hero,
.blog-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    text-align: center;
}

.about-hero-content img,
.blog-hero-content img {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
}

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

.mission-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

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

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

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

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

.article-content {
    padding: 1.5rem;
}

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

.article-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h3 a:hover {
    color: #d35400;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    color: #d35400;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Article Page */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.article-hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-body {
    line-height: 1.8;
}

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

.article-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #34495e;
}

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

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

.article-intro {
    font-size: 1.2rem;
    color: #555;
    font-style: italic;
    margin-bottom: 2rem;
}

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

/* Thanks Page */
.thanks-content {
    padding: 80px 0;
    text-align: center;
}

.thanks-box {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

.thanks-message {
    margin-bottom: 2rem;
    text-align: left;
}

.thanks-benefits {
    margin-bottom: 2rem;
    text-align: left;
}

.thanks-benefits ul {
    list-style: none;
    margin-left: 0;
}

.thanks-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.thanks-benefits li img {
    width: 30px;
    height: 30px;
    margin-right: 1rem;
}

.thanks-actions {
    margin-bottom: 2rem;
}

.thanks-actions a {
    margin: 0 10px;
}

.thanks-social h3 {
    margin-bottom: 1rem;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legal-content h1 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #34495e;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #34495e;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

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

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

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

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

#manage-cookies {
    margin: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav li {
        margin: 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .specialties-grid,
    .testimonials-grid,
    .articles-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-year {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input {
        width: 100%;
        max-width: 400px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .thanks-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .services,
    .about-company,
    .regional-specialties,
    .testimonials,
    .newsletter,
    .mission,
    .history,
    .team,
    .values,
    .blog-articles {
        padding: 40px 0;
    }
    
    .service-card,
    .specialty-card,
    .value-card,
    .team-member,
    .testimonial-card {
        padding: 1rem;
    }
    
    .thanks-box {
        padding: 2rem 1rem;
    }
}
