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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    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 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    color: #2c3e50;
}

h2 {
    font-size: 2rem;
    color: #2c3e50;
}

h3 {
    font-size: 1.5rem;
    color: #34495e;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

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: 5px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-primary {
    background-color: #e74c3c;
    color: #fff;
}

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

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

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

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

.btn-tertiary:hover {
    background-color: #3498db;
    color: #fff;
}

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

.btn-outline:hover {
    background-color: #e74c3c;
    color: #fff;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #fff;
    padding: 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 1200px;
    width: 100%;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* 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.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ecf0f1;
}

.modal-header h3 {
    margin: 0;
}

.close {
    font-size: 24px;
    cursor: pointer;
    color: #95a5a6;
}

.close:hover {
    color: #7f8c8d;
}

.modal-body {
    padding: 20px;
}

.cookie-category {
    margin-bottom: 20px;
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 5px;
}

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

.cookie-category p {
    margin: 5px 0 0 30px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #ecf0f1;
    text-align: right;
}

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

.navbar {
    padding: 1rem 0;
}

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

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

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

.nav-menu li a {
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    transition: all 0.3s ease;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: #fff;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: #f8f9fa;
}

/* About Section */
.about {
    text-align: center;
}

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

/* Services Section */
.services {
    text-align: center;
}

.services h2 {
    margin-bottom: 3rem;
}

.services-grid {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    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.15);
}

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

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

/* Services Detail Page */
.page-header {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: #fff;
    text-align: center;
    padding: 120px 0 80px;
}

.page-header h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-detail {
    padding: 80px 0;
}

.service-detail-card {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.service-detail-card.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 400px;
}

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

.service-content {
    flex: 1;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.service-features i {
    color: #27ae60;
    font-size: 1.1rem;
}

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

.additional-services h2 {
    margin-bottom: 3rem;
}

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

.additional-service {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.additional-service i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.cta-section {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Advantages Section */
.advantages {
    text-align: center;
}

.advantages h2 {
    margin-bottom: 3rem;
}

.advantages-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.advantage-card {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.advantage-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

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

.testimonial-card h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.testimonial-card span {
    color: #95a5a6;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    text-align: center;
}

.faq h2 {
    margin-bottom: 3rem;
}

.faq-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-icon {
    flex: 0 0 200px;
}

.faq-icon img {
    width: 100%;
    height: auto;
}

.faq-list {
    flex: 1;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.faq-item p {
    margin: 0;
    color: #7f8c8d;
}

/* Blog Section */
.blog {
    text-align: center;
}

.blog h2 {
    margin-bottom: 3rem;
}

.blog-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.blog-card {
    flex: 1;
    min-width: 400px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: left;
}

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

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

.blog-content {
    padding: 1.5rem;
}

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

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

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

.blog-content p {
    color: #7f8c8d;
    margin-bottom: 1rem;
}

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

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

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

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

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

.article-image {
    margin: 2rem 0;
}

.article-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

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

.article-content .lead {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 2rem;
}

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

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

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

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

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

.article-cta {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 3rem 0;
}

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

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

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

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

.share-btn {
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn.facebook {
    background-color: #1877f2;
}

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

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

.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-blog, .next-article, .prev-article {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
}

/* Subscription Section */
.subscription {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.subscription h2 {
    color: #fff;
    margin-bottom: 2rem;
}

.subscription-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group input {
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

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

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
    margin: 2px 0 0 0;
    flex-shrink: 0;
}

.checkbox-group a {
    color: #fff;
    text-decoration: underline;
}

.checkbox-group a:hover {
    color: #ecf0f1;
}

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

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

.thank-you-content i {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 2rem;
}

.thank-you-content h1 {
    color: #27ae60;
    margin-bottom: 1.5rem;
}

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

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

.thank-you-content .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #bddef5;
    color: #fff;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.thank-you-content .social-links a:hover {
    background-color: #2980b9;
}

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

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

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

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

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

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

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

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

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

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

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

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

.footer-section h4 {
    color: #ecf0f1;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-bottom: 0.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 {
    color: #fff;
}

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

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

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

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

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

.newsletter-form button {
    padding: 10px 15px;
    font-size: 0.9rem;
}

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

.footer-bottom p {
    color: #95a5a6;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

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

    .services-grid, .advantages-grid, .testimonials-grid, .blog-grid {
        flex-direction: column;
        align-items: center;
    }

    .service-card, .advantage-card, .testimonial-card, .blog-card {
        min-width: 100%;
        max-width: 400px;
    }

    .service-detail-card, .service-detail-card.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .service-image {
        flex: none;
        max-width: 300px;
    }

    .faq-content {
        flex-direction: column;
        gap: 2rem;
    }

    .faq-icon {
        flex: none;
        max-width: 150px;
        margin: 0 auto;
    }

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

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

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .article-navigation {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }
}

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

    .nav-container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

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

    section {
        padding: 60px 0;
    }

    .service-card, .advantage-card, .testimonial-card {
        padding: 1.5rem;
    }

    .modal-content {
        width: 95%;
    }

    .subscription-form {
        padding: 0 20px;
    }
}

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

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

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-flex { display: flex; }
.d-block { display: block; }
.d-none { display: none; }

.justify-center { justify-content: center; }
.align-center { align-items: center; }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header, .footer, .cookie-banner, .modal {
        display: none;
    }
    
    main {
        margin-top: 0;
    }
    
    .btn {
        border: 1px solid #000;
        background: none !important;
        color: #000 !important;
    }
}
