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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

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

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: #5d6d7e;
}

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

a:hover {
    color: #d2691e;
}

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

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

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

.btn-primary:hover {
    background-color: #a0522d;
    border-color: #a0522d;
    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: #f4f1e8;
    color: #8b4513;
    border: 2px solid #e8dcc0;
}

.btn-tertiary:hover {
    background-color: #e8dcc0;
    border-color: #d4c49a;
}

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

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-brand h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #8b4513;
}

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

.nav-menu a {
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #8b4513;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f6f0 0%, #e8dcc0 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #8b4513;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    width: 300px;
    height: 200px;
    margin: 2rem auto;
    display: block;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: block;
}

section {
    padding: 4rem 0;
}

/* Services */
.services {
    background-color: #fefefe;
}

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

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

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

/* About Preview */
.about-preview {
    background-color: #f8f6f0;
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e8dcc0;
}

.stat h4 {
    font-size: 2rem;
    color: #8b4513;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.9rem;
    margin: 0;
}

/* Testimonials */
.testimonials {
    background-color: #fefefe;
}

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

.testimonial {
    background-color: #f8f6f0;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #8b4513;
    position: relative;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

/* Blog */
.blog-preview {
    background-color: #f8f6f0;
}

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

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

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

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

.blog-content {
    padding: 1.5rem;
}

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

.blog-content h3 a {
    color: #34495e;
}

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

.read-more {
    color: #8b4513;
    font-weight: 500;
}

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

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

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

.contact-info h3,
.contact-form h3 {
    margin-bottom: 1.5rem;
    color: #8b4513;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.footer-section ul li a.active {
    color: #d2691e;
}

.footer-section p {
    color: #bdc3c7;
}

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

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

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: block;
}

/* About Page */
.about-detail {
    padding: 4rem 0;
}

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

.about-stats h3 {
    color: #8b4513;
    margin-bottom: 1.5rem;
}

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

.stat-card {
    background-color: #f8f6f0;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e8dcc0;
}

.stat-card h4 {
    font-size: 1.8rem;
    color: #8b4513;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* Timeline */
.history {
    background-color: #f8f6f0;
    padding: 4rem 0;
}

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

.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 {
    background-color: #8b4513;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    width: 45%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e8dcc0;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
}

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

/* Values */
.values {
    padding: 4rem 0;
}

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

.value-card {
    background-color: #f8f6f0;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e8dcc0;
    transition: transform 0.3s ease;
}

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

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

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

.team-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.team-member {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e8dcc0;
}

.team-member h3 {
    color: #8b4513;
    margin-bottom: 1rem;
}

/* Blog Page */
.blog-content {
    padding: 4rem 0;
}

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

.blog-articles {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-article-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    border: 1px solid #e8dcc0;
}

.article-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

.article-content {
    padding: 2rem;
    flex: 1;
}

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

.article-meta .date,
.article-meta .category {
    color: #8b4513;
    font-weight: 500;
}

.article-content h2 {
    margin-bottom: 1rem;
}

.article-content h2 a {
    color: #34495e;
}

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

.read-more {
    color: #8b4513;
    font-weight: 500;
    display: inline-block;
    margin-top: 1rem;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: #f8f6f0;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e8dcc0;
}

.sidebar-widget h3 {
    color: #8b4513;
    margin-bottom: 1rem;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget ul li {
    margin-bottom: 0.5rem;
}

.sidebar-widget ul li a {
    color: #5d6d7e;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-widget ul li a:hover {
    color: #8b4513;
    border-bottom-color: #e8dcc0;
}

.popular-articles li a {
    font-size: 0.9rem;
}

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

.newsletter-form input {
    padding: 0.75rem;
    border: 2px solid #e8dcc0;
    border-radius: 4px;
    font-size: 1rem;
}

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

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

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

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #8b4513;
}

.breadcrumb span {
    color: #5d6d7e;
}

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

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

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

.article-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: #34495e;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f6f0;
    border-left: 4px solid #8b4513;
    border-radius: 4px;
}

.article-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #8b4513;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8dcc0;
}

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

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

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

.article-content em {
    font-style: italic;
    color: #8b4513;
}

.article-content strong {
    font-weight: 600;
    color: #34495e;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e8dcc0;
}

.tags {
    margin-bottom: 2rem;
}

.tag {
    display: inline-block;
    background-color: #f8f6f0;
    color: #8b4513;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e8dcc0;
}

.share-buttons h4 {
    margin-bottom: 1rem;
    color: #8b4513;
}

.share-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #8b4513;
    color: white;
    border-radius: 4px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.share-btn:hover {
    background-color: #a0522d;
    color: white;
}

/* Related Articles */
.related-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #e8dcc0;
}

.related-articles h3 {
    margin-bottom: 2rem;
    color: #8b4513;
}

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

.related-article {
    display: block;
    background-color: #f8f6f0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #e8dcc0;
    text-decoration: none;
}

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

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

.related-article h4 {
    padding: 1rem;
    margin: 0;
    color: #34495e;
}

.related-article:hover h4 {
    color: #8b4513;
}

/* Legal Pages */
.legal-content {
    padding: 4rem 0;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

.legal-text h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #8b4513;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8dcc0;
}

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

.legal-text ul,
.legal-text ol {
    margin: 1rem 0 1rem 2rem;
}

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

.legal-text strong {
    color: #34495e;
    font-weight: 600;
}

.cookie-manager-section {
    background-color: #f8f6f0;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
    border: 1px solid #e8dcc0;
}

.cookie-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8dcc0;
}

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

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

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

/* Thanks Page */
.thanks-page {
    padding: 4rem 0;
    background-color: #f8f6f0;
}

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

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

.thanks-message {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    margin: 2rem 0;
    border: 1px solid #e8dcc0;
}

.next-steps {
    text-align: left;
    margin: 2rem 0;
}

.next-steps h3 {
    color: #8b4513;
    margin-bottom: 1rem;
}

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

.next-steps li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.next-steps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2E7D32;
    font-weight: bold;
}

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

.contact-info h3 {
    color: #8b4513;
    margin-bottom: 1rem;
}

.contact-details {
    background-color: #f8f6f0;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e8dcc0;
}

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

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

.redirect-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f8f6f0;
    border-radius: 8px;
    border: 1px solid #e8dcc0;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.additional-resources {
    margin-top: 3rem;
}

.additional-resources h3 {
    color: #8b4513;
    margin-bottom: 2rem;
    text-align: center;
}

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

.resource-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e8dcc0;
    text-decoration: none;
    display: block;
}

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

.resource-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: block;
}

.resource-card h4 {
    color: #8b4513;
    margin-bottom: 1rem;
}

.resource-card p {
    color: #5d6d7e;
    margin: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 1.5rem;
    z-index: 1001;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

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

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

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    color: #8b4513;
    margin-bottom: 1.5rem;
}

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

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cookie-option label:hover {
    background-color: #f8f6f0;
}

.cookie-option input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.cookie-option input[type="checkbox"]:disabled {
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #f8f6f0;
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin-bottom: 0.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-image {
        width: 250px;
        height: 167px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-year {
        left: 1rem;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 4rem);
        margin-left: 4rem !important;
        text-align: left !important;
    }
    
    .blog-content .container {
        grid-template-columns: 1fr;
    }
    
    .blog-article-card {
        flex-direction: column;
    }
    
    .article-image {
        width: 100%;
        height: 200px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-image {
        width: 200px;
        height: 133px;
    }
    
    .service-card,
    .value-card,
    .team-member {
        padding: 1.5rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
    
    .thanks-message {
        padding: 2rem 1.5rem;
    }
    
    .cookie-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .share-buttons,
    .action-buttons {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .article-content {
        max-width: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-card,
    .testimonial,
    .blog-card,
    .value-card,
    .team-member,
    .sidebar-widget {
        border: 2px solid #2c3e50;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-tertiary {
        border-width: 3px;
    }
}

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