/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #0a0a0a, so light text */
    background-color: #0a0a0a; /* Ensure consistency, though shared.css defines body background */
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand green for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__main-title {
    font-size: 3.2em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr__subtitle {
    font-size: 1.2em;
    color: #f0f0f0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    color: #f0f0f0; /* Light text for dark backgrounds */
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__link {
    color: #017439; /* Brand green for links */
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: #02a04a; /* Slightly lighter green on hover */
    text-decoration: none;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 100px 0; /* Adjust as needed, considering header offset handled by shared */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0a0a0a; /* Dark background */
    min-height: 600px;
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Subtle background image */
}

.page-gdpr__hero-section .page-gdpr__container {
    position: relative;
    z-index: 1;
}

/* CTA Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-gdpr__btn-primary {
    background-color: #017439; /* Brand green */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-gdpr__btn-primary:hover {
    background-color: #02a04a; /* Slightly lighter green */
    border-color: #02a04a;
}

.page-gdpr__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #017439;
    border-color: #017439;
}

/* Section specific styles */
.page-gdpr__principles-section,
.page-gdpr__security-section,
.page-gdpr__conclusion-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark body background */
    color: #ffffff; /* Light text for dark background */
}

.page-gdpr__rights-section,
.page-gdpr__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

/* Grid Layout for principles and rights */
.page-gdpr__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff; /* Light text */
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card--dark {
    background-color: rgba(0, 0, 0, 0.3); /* Darker card for darker section */
    color: #ffffff;
}

.page-gdpr__card-title {
    font-size: 1.4em;
    color: #017439; /* Brand green for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card p {
    font-size: 1em;
    color: #e0e0e0; /* Slightly off-white for paragraph text */
}

/* Feature list for security section */
.page-gdpr__feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-gdpr__feature-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__feature-item p {
    color: #e0e0e0;
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-title {
    margin: 0;
    color: #017439; /* Brand green for FAQ questions */
    font-size: 1em; /* Adjusted for h3 in question div */
}

.page-gdpr__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.03);
    color: #e0e0e0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

.page-gdpr__faq-answer p {
    margin: 0;
    color: #e0e0e0;
}

/* Image styling */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    /* No CSS filter allowed */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__subtitle {
        font-size: 1.1em;
    }
    .page-gdpr__text-block {
        font-size: 1em;
    }
    .page-gdpr__card-title {
        font-size: 1.3em;
    }
    .page-gdpr__feature-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__main-title {
        font-size: 2.2em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__subtitle {
        font-size: 1em;
    }
    .page-gdpr__hero-section {
        padding: 80px 0;
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0; /* Remove border-radius on mobile for full width */
    }

    /* Ensure content containers are responsive */
    .page-gdpr__hero-section,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__security-section,
    .page-gdpr__faq-section,
    .page-gdpr__conclusion-section,
    .page-gdpr__grid-layout,
    .page-gdpr__feature-list,
    .page-gdpr__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-gdpr__grid-layout {
        grid-template-columns: 1fr;
    }

    /* CTA buttons responsiveness */
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-gdpr__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
    }

    .page-gdpr__card,
    .page-gdpr__feature-item {
        padding: 20px;
    }

    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-gdpr__faq-answer {
        padding: 0 20px;
    }

    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__cta-button {
        font-size: 1em;
    }
}