/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2c3e50;
}

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: #34495e;
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #2c3e50;
    text-decoration: none;
    border: 2px solid #2c3e50;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    border-top: 3px solid #e74c3c;
}

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

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

.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
}

.cookie-category label {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: 5px;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

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

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

.nav a {
    color: white;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #e74c3c;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e74c3c;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

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

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.section-header img {
    width: 60px;
    height: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 2px;
}

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

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

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid #e74c3c;
}

.stat h3 {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 10px;
}

.stat p {
    font-weight: bold;
    color: #2c3e50;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

.service-item {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #e74c3c;
}

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

.service-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-item p {
    color: #34495e;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

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

.testimonial {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #e74c3c;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: #e74c3c;
    opacity: 0.3;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    color: #34495e;
}

.testimonial-author {
    font-weight: bold;
    color: #2c3e50;
}

.testimonial-author span {
    display: block;
    font-weight: normal;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

.blog-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #e74c3c;
}

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

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

.blog-content {
    padding: 30px;
}

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

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

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

.blog-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 15px;
}

.blog-link {
    text-align: center;
    margin-top: 40px;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

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

.newsletter h2 {
    color: white;
    margin-bottom: 20px;
}

.newsletter p {
    color: #ecf0f1;
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group input,
.form-group textarea {
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    color: #2c3e50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-item p {
    color: #34495e;
}

.contact-item a {
    color: #e74c3c;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    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 h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-section p {
    color: white;
}


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

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

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

.footer-section a:hover {
    color: #e74c3c;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s ease;
}

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

.social-links img {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
}

.footer-bottom p {
    color: #fff;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

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

.legal-content .last-updated {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 30px;
}

.legal-content section {
    margin-bottom: 30px;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-content li {
    margin-bottom: 8px;
}

/* Thanks Page */
.thanks-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 0;
}

.thanks-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
}

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

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

.thanks-info,
.thanks-contact {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: left;
}

.thanks-info h2,
.thanks-contact h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.thanks-info ul {
    margin-left: 20px;
}

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

/* Blog Page */
.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-header h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.blog-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-post {
    display: flex;
    gap: 30px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #e74c3c;
}

.blog-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.blog-post-content {
    flex: 1;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.blog-date,
.blog-category {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.blog-category {
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
}

.blog-post h2 {
    margin-bottom: 15px;
}

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

.blog-post h2 a:hover {
    color: #e74c3c;
}

.read-more {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    display: inline-block;
}

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

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

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #e74c3c;
}

.sidebar-widget h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

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

.sidebar-widget li {
    margin-bottom: 10px;
}

.sidebar-widget a {
    color: #34495e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-widget a:hover {
    color: #e74c3c;
}

/* Article Pages */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.breadcrumb {
    margin-bottom: 20px;
    color: #7f8c8d;
}

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

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

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

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.article-date,
.article-category {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.article-category {
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
}

.article-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}

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

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

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

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

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

.article-intro {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 4px solid #e74c3c;
    border-radius: 10px;
}

.article-cta {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.article-cta h3 {
    color: white;
    margin-bottom: 15px;
}

.article-cta p {
    color: #ecf0f1;
    margin-bottom: 20px;
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

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

.article-tags span {
    font-weight: bold;
    color: #2c3e50;
}

.article-tags a {
    display: inline-block;
    background: #e9ecef;
    color: #2c3e50;
    padding: 5px 10px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 10px;
    margin-bottom: 5px;
}

.article-tags a:hover {
    background: #e74c3c;
    color: white;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

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

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

.cookie-settings-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .blog-content {
        grid-template-columns: 1fr;
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .blog-image {
        width: 100%;
        height: 200px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .article-navigation {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
}

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