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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

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

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

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

.btn-secondary {
    background-color: #34495e;
    color: white;
}

.btn-secondary:hover {
    background-color: #2c3e50;
}

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

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

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e67e22;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-link:hover {
    color: #e67e22;
}

.header-phone {
    font-weight: 600;
    color: #e67e22;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
}

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

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

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

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

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-icon {
    margin-bottom: 25px;
}

.service-img {
    width: 80px;
    height: 80px;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    color: #2c3e50;
    margin-bottom: 25px;
}

.about-text p {
    color: #666;
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.feature h4 {
    color: #2c3e50;
    margin-bottom: 8px;
}

.feature p {
    color: #666;
    margin-bottom: 0;
}

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

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

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonial-rating {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.testimonial-author strong {
    color: #2c3e50;
}

.testimonial-author span {
    color: #999;
    font-size: 0.9rem;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

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

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

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

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

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #999;
}

.blog-category {
    background-color: #e67e22;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.blog-content h3 {
    margin-bottom: 15px;
}

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

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

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

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

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3,
.contact-form h3 {
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
}

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

.social-links {
    margin-top: 40px;
}

.social-links h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #d35400;
}

/* Forms */
.form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

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

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal !important;
}

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

.checkbox-label a {
    color: #e67e22;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* 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: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #e67e22;
    margin-bottom: 20px;
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: #e67e22;
}

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

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

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

.cookie-content p {
    margin-bottom: 20px;
}

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

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

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

.modal.show {
    display: block;
}

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

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #333;
}

.cookie-category {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.cookie-category h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.cookie-category p {
    color: #666;
    margin-bottom: 15px;
}

/* Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #e67e22;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: #27ae60;
    cursor: not-allowed;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Thanks Page */
.thanks-page {
    padding: 120px 0 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

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

.thanks-icon {
    margin-bottom: 30px;
}

.thanks-content h1 {
    color: #27ae60;
    margin-bottom: 20px;
}

.thanks-message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.thanks-info {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: left;
}

.thanks-info h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.thanks-info ul {
    list-style: none;
    padding-left: 0;
}

.thanks-info li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.thanks-info li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #e67e22;
    font-weight: bold;
}

.thanks-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Article Pages */
.article-page {
    padding: 120px 0 80px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.article-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.article-header {
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #999;
}

.article-category {
    background-color: #e67e22;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.article-image {
    margin: 30px 0;
}

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

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

.article-body .lead {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
    margin-bottom: 30px;
}

.article-body h2 {
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-body h3 {
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-body ul, .article-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 8px;
    color: #666;
}

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

.article-body a {
    color: #e67e22;
    text-decoration: none;
}

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

.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.article-tags {
    margin-bottom: 30px;
}

.tag {
    display: inline-block;
    background-color: #f8f9fa;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.article-share h4 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-btn {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.share-btn:hover {
    color: #d35400;
}

/* Sidebar */
.article-sidebar {
    padding: 20px 0;
}

.sidebar-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.sidebar-section h3 {
    color: #2c3e50;
    margin-bottom: 25px;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-article {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

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

.related-article img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.related-article h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 0;
}

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

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

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

.legal-date {
    color: #999;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-content h2 {
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h3 {
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content h4 {
    color: #555;
    margin-top: 25px;
    margin-bottom: 12px;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.6;
}

.legal-content a {
    color: #e67e22;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-list {
        gap: 20px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .article-page {
        grid-template-columns: 1fr;
        padding: 120px 0 40px;
    }
    
    .article-content {
        padding: 30px 20px;
    }
    
    .legal-content {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 200px;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thanks-actions .btn {
        width: 200px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .modal-buttons .btn {
        width: 100%;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
    
    .article-content {
        padding: 25px 15px;
    }
    
    .form {
        padding: 30px 20px;
    }
    
    .modal-content {
        padding: 20px;
        margin: 10% auto;
        width: 95%;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .modal,
    .sidebar,
    .thanks-actions,
    .article-share {
        display: none !important;
    }
    
    .article-page,
    .legal-page {
        padding: 0;
    }
    
    .article-content,
    .legal-content {
        box-shadow: none;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    p, ul, ol {
        page-break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus,
.social-link:focus,
.read-more:focus {
    outline: 2px solid #e67e22;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    
    .btn-outline {
        border-width: 3px;
    }
}
