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

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

a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #45a049;
}

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

.btn-primary:hover {
    background-color: #45a049;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

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

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

/* Header and Navigation */
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: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.nav-brand a {
    display: flex;
    align-items: center;
    color: #2c3e50;
    text-decoration: none;
}

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

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

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

.nav-list a:hover,
.nav-list a.active {
    color: #4CAF50;
}

.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 {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
}

.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: #2c3e50;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
}

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

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

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

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

.service-card {
    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 {
    transform: translateY(-5px);
}

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

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

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

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

.about-text h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    padding: 0.5rem 0;
    color: #4CAF50;
    font-weight: 500;
}

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

.stat {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.stat h3 {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

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

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

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

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

.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: #4CAF50;
    margin-top: 1rem;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background-color: #4CAF50;
    color: white;
}

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

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

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

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

.newsletter-form button {
    background-color: white;
    color: #4CAF50;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #f8f9fa;
}

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

.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 h3 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

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

.contact-item strong {
    color: #4CAF50;
}

.contact-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

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

/* Thank You Pages */
.thank-you {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
    text-align: center;
}

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

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.thank-you p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thank-you-actions .btn-primary,
.thank-you-actions .btn-outline {
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.thank-you-actions .btn-outline {
    background-color: transparent;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.thank-you-actions .btn-outline:hover {
    background-color: #4CAF50;
    color: white;
}

.contact-next-steps {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-next-steps h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.emergency-contact {
    padding: 60px 0;
    background-color: #fff;
}

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

.emergency-content h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.emergency-content p {
    color: #666;
    margin-bottom: 2rem;
}

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

.emergency-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: left;
}

.emergency-item strong {
    color: #4CAF50;
    display: block;
    margin-bottom: 0.5rem;
}

.emergency-item a {
    color: #2c3e50;
    text-decoration: none;
}

.emergency-item a:hover {
    color: #4CAF50;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

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

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

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

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

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

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

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

.social-links a {
    color: #ecf0f1;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

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

.cookie-content h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

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

.cookie-banner.hidden {
    display: none;
}

/* Cookie Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.cookie-category h3 {
    margin-bottom: 1rem;
}

.cookie-category input {
    margin-right: 0.5rem;
}

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

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

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

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

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

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

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

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

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

.blog-content {
    padding: 2rem;
}

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

.blog-date {
    color: #4CAF50;
}

.blog-category {
    background-color: #4CAF50;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.blog-content h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.blog-content h2 a:hover {
    color: #4CAF50;
}

.read-more {
    color: #4CAF50;
    font-weight: 600;
    text-decoration: none;
}

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

.blog-cta {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

/* Blog Article Styles */
.blog-article {
    padding: 120px 0 80px;
    margin-top: 80px;
}

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

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

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

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

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    color: #666;
}

.article-date {
    color: #4CAF50;
}

.article-category {
    background-color: #4CAF50;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

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

.article-image {
    margin-bottom: 2rem;
    text-align: center;
}

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

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

.article-body .intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 2rem;
}

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

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

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

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

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

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

.tag {
    display: inline-block;
    background-color: #f8f9fa;
    color: #4CAF50;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

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

.article-share h3 {
    margin-bottom: 1rem;
}

.article-share a {
    margin-right: 1rem;
    color: #4CAF50;
    text-decoration: none;
}

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

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.prev-article, .next-article {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.prev-article:hover, .next-article:hover {
    text-decoration: underline;
}

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

.legal-page h1 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.last-updated {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 3rem;
}

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

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

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

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

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

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

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

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

.cookie-preferences {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

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

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

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-benefits {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.newsletter-benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
    }
    
    .nav-list li {
        margin: 0.5rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .article-navigation {
        flex-direction: column;
        text-align: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .services h2,
    .about h2,
    .reviews h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .service-card,
    .review-card {
        padding: 1.5rem;
    }
    
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.hidden {
    display: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
