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

h4 {
    font-size: 1.25rem;
}

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

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

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

.btn-outline {
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header and Navigation */
.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;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.footer-logo {
    height: 30px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

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

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

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 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-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.service-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.service-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.service-card li:last-child {
    border-bottom: none;
}

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

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.feature i {
    color: #27ae60;
    font-size: 1.25rem;
}

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

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

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

.stat p {
    color: #666;
    font-weight: 500;
}

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

.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 {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.review-stars img {
    width: 20px;
    height: 20px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
}

.review-author strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.25rem;
}

.review-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

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

.newsletter-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

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

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

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

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

/* 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 h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 1.5rem;
}

.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,
.footer-section ul li a.active {
    color: #3498db;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #34495e;
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease;
}

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

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    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;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    color: white;
}

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

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 14px;
}

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

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

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

.cookie-modal-content h3 {
    margin-bottom: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

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

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

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Thanks Page */
.thanks-section {
    padding: 150px 0 100px;
    text-align: center;
}

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

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

.thanks-icon i {
    font-size: 4rem;
    color: #27ae60;
}

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

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

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

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

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

.thanks-contact p {
    margin-bottom: 1rem;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #3498db;
}

.phone-link:hover {
    color: #2980b9;
}

/* Blog Styles */
.blog-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.blog-header p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
}

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

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

.article-card {
    display: flex;
    gap: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    transition: transform 0.3s ease;
}

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

.article-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-icon img {
    width: 60px;
    height: 60px;
}

.article-content {
    flex: 1;
}

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

.article-date {
    color: #666;
}

.article-category {
    color: #3498db;
    font-weight: 500;
}

.article-card h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-card h2 a {
    color: #2c3e50;
}

.article-card h2 a:hover {
    color: #3498db;
}

.article-card p {
    margin-bottom: 1rem;
    color: #666;
}

.read-more {
    color: #3498db;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: #2980b9;
}

/* Article Page Styles */
.article-header {
    padding: 120px 0 60px;
    background-color: #f8f9fa;
}

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

.breadcrumb a {
    color: #666;
}

.breadcrumb span {
    color: #999;
    margin: 0 0.5rem;
}

.article-hero {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.article-icon-large {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.article-info {
    flex: 1;
}

.article-info .article-meta {
    margin-bottom: 1rem;
}

.article-read-time {
    color: #999;
    font-style: italic;
}

.article-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.5;
}

.article-content {
    padding: 60px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
}

.article-body {
    max-width: none;
}

.article-body h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.article-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.article-body h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

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

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

.article-body li strong {
    color: #2c3e50;
}

.article-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

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

.sidebar-widget h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.related-articles {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.related-articles li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-articles a {
    color: #555;
    font-weight: 500;
}

.related-articles a:hover {
    color: #3498db;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

/* Legal Pages */
.legal-content {
    padding: 120px 0 60px;
    background-color: #f8f9fa;
}

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

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-header p {
    color: #666;
    font-style: italic;
}

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

.legal-body h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

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

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

.legal-body li {
    margin-bottom: 0.5rem;
    color: #555;
}

.legal-body li strong {
    color: #2c3e50;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
}

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

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

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.legal-footer em {
    color: #666;
    font-style: italic;
}

/* Cookie Policy Specific Styles */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
}

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

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

.cookies-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

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

.cookie-settings-section h2 {
    margin-bottom: 1rem;
}

.cookie-settings-section p {
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

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

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input {
        width: 100%;
        margin-bottom: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-card {
        flex-direction: column;
        text-align: center;
    }

    .article-hero {
        flex-direction: column;
        text-align: center;
    }

    .article-info h1 {
        font-size: 2rem;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .legal-body {
        padding: 2rem 1rem;
    }

    .cookies-table {
        font-size: 0.9rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }

    .service-card,
    .review-card,
    .sidebar-widget {
        padding: 1.5rem;
    }

    .article-icon-large {
        width: 80px;
        height: 80px;
    }

    .article-icon-large img {
        width: 60px;
        height: 60px;
    }

    .legal-body {
        padding: 1.5rem;
    }

    .thanks-content h1 {
        font-size: 2rem;
    }

    .thanks-icon i {
        font-size: 3rem;
    }
}
