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

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

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

h2 {
    font-size: 2rem;
    color: #34495e;
    margin-bottom: 1.5rem;
}

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

h4 {
    font-size: 1.25rem;
    color: #34495e;
}

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

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

a:hover {
    color: #2980b9;
}

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

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

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

.btn-primary:hover {
    background-color: #2980b9;
    color: white;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.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-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
}

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

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

.nav-link {
    color: #34495e;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #3498db;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #34495e;
    transition: 0.3s;
}

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    padding: 80px 0;
}

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

.header-text h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.header-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.last-updated {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.page-header-svg {
    width: 100%;
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

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

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

/* Grid Layouts */
.features-grid,
.services-grid,
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

.feature-card:hover,
.service-card:hover,
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon,
.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Article Cards */
.article-card {
    text-align: left;
}

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

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

.date,
.read-time {
    color: #7f8c8d;
}

.read-more {
    color: #3498db;
    font-weight: 500;
    margin-top: 10px;
    display: inline-block;
}

/* Content with Image */
.content-with-image {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 30px 0;
}

.content-with-image.reverse {
    grid-template-columns: 1fr 2fr;
}

.section-image,
.section-svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

.stat-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

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

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

.testimonial-card.featured {
    border-top: 4px solid #3498db;
}

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

.testimonial-avatar .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.rating {
    color: #f39c12;
    font-size: 1.2rem;
}

/* Forms */
.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #34495e;
}

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

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

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

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.form-error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.form-note {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 10px;
}

/* Contact Info */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

/* Blog Styles */
.blog-article {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    padding: 60px 0;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: white;
}

.article-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

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

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

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.highlight-box,
.quote-box {
    background: #f8f9fa;
    padding: 25px;
    border-left: 4px solid #3498db;
    margin: 30px 0;
    border-radius: 5px;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.quote-box {
    font-style: italic;
    border-left-color: #95a5a6;
}

.quote-box cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: 500;
    color: #7f8c8d;
}

/* Article Footer */
.article-footer {
    border-top: 1px solid #eee;
    padding: 30px 0;
    margin-top: 50px;
}

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

.tag {
    display: inline-block;
    background-color: #ecf0f1;
    color: #34495e;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    margin: 5px 5px 5px 0;
}

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

.nav-link.prev,
.nav-link.next {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-link.prev:hover,
.nav-link.next:hover {
    background-color: #e9ecef;
}

/* Related Articles */
.related-articles {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

.related-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card h3,
.related-card p {
    padding: 0 20px;
}

.related-card .read-more {
    padding: 0 20px 20px 20px;
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-section {
    margin-bottom: 50px;
}

.legal-section h2 {
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.contact-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

/* Tables */
.purpose-table,
.cookies-table {
    margin: 30px 0;
}

.purpose-row,
.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 2px solid #3498db;
    font-weight: 600;
}

.table-row {
    grid-template-columns: 1fr 1fr 2fr 1fr;
}

/* Cookie Types */
.cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.cookie-type {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

/* Thanks Page */
.thanks-page {
    padding: 100px 0;
    background-color: #f8f9fa;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.thanks-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.success-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
    filter: hue-rotate(120deg);
}

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

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.step-item {
    text-align: center;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.suggestion-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.suggestion-card:hover {
    background-color: #e9ecef;
}

.suggestion-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.emergency-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.newsletter-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.cookie-banner p{
    color: white;
}
.footer-section p{
    color: white;
}
.footer-section h3 {
    color: white;
    margin-bottom: 20px;
}

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

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

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

.footer-section a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 8px;
    color: #bdc3c7;
}

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

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

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

    .hamburger {
        display: flex;
    }

    .hero-content,
    .header-content,
    .content-grid,
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .purpose-row {
        grid-template-columns: 1fr;
    }

    .article-navigation .nav-links {
        flex-direction: column;
        gap: 10px;
    }

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

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

    .newsletter-form input {
        width: 100%;
        max-width: 300px;
    }
}

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

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 0;
    }

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

    .header-text h1 {
        font-size: 2rem;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .thanks-content {
        padding: 40px 20px;
    }

    .emergency-contact {
        grid-template-columns: 1fr;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero,
    .page-header {
        background: none;
        color: black;
    }

    .btn {
        border: 1px solid black;
        background: none;
        color: black;
    }
}

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

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        color: #fff;
        border: 2px solid #000;
    }
    
    .btn-outline {
        border: 2px solid #000;
        color: #000;
    }
    
    .feature-card,
    .service-card,
    .article-card {
        border: 2px solid #000;
    }
}
