/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for default light background */
    background-color: #FFFFFF; /* Default body background is white */
}

/* Fixed header offset for desktop and mobile */
.page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    background: linear-gradient(90deg, #26A9E0, #34B3EB); /* Light blue gradient */
    color: #FFFFFF;
    text-align: center;
    padding: 80px 0;
    overflow: hidden; /* Ensure hero image doesn't overflow */
}

.page-gdpr__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-gdpr__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* CTA Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-gdpr__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-gdpr__btn-primary:hover {
    background-color: #D46F00;
    border-color: #D46F00;
}

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

.page-gdpr__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #26A9E0;
    border-color: #FFFFFF;
}

/* General Section Styling */
.page-gdpr__content-area {
    padding: 60px 0;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
}

.page-gdpr__section-title--white {
    color: #FFFFFF;
}

.page-gdpr__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-gdpr__section-description--white {
    color: #E0E0E0;
}

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

.page-gdpr__card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: #333333; /* Dark text for white card background */
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
}

.page-gdpr__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-gdpr__card-text {
    font-size: 1em;
}

/* Content Images */
.page-gdpr__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Dark Section */
.page-gdpr__dark-section {
    background-color: #26A9E0; /* Primary brand color */
    color: #FFFFFF;
    padding: 60px 0;
}

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

.page-gdpr__feature-item {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on blue */
    border-radius: 10px;
    padding: 30px;
    color: #FFFFFF;
}

.page-gdpr__feature-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-gdpr__feature-text {
    font-size: 1em;
}

/* Data Info Grid */
.page-gdpr__data-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__info-box {
    background-color: #F8F8F8;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    color: #333333;
}

.page-gdpr__info-box--white {
    background-color: rgba(255, 255, 255, 0.1); /* White on dark section */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}

.page-gdpr__info-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-gdpr__info-box--white .page-gdpr__info-title {
    color: #FFFFFF;
}

.page-gdpr__info-text {
    font-size: 1em;
}

/* Contact Info */
.page-gdpr__contact-info {
    text-align: center;
    margin-top: 40px;
}

.page-gdpr__contact-detail {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333333;
}

.page-gdpr__contact-detail a {
    color: #26A9E0;
    text-decoration: none;
}

.page-gdpr__contact-detail a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: #F8F8F8;
}

.page-gdpr__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-gdpr__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    color: #333333;
}

.page-gdpr__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-item summary:hover {
    background-color: #F0F8FF; /* Light hover effect */
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
}

.page-gdpr__faq-answer p {
    margin-bottom: 10px;
}

.page-gdpr__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__rights-grid,
    .page-gdpr__protection-features,
    .page-gdpr__data-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Header offset for mobile, if not handled by shared.css on body */
    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-gdpr__main-title {
        font-size: 2.2em;
    }
    .page-gdpr__intro-text {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
        padding: 0 15px;
    }
    .page-gdpr__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-gdpr__container {
        padding: 0 15px;
    }
}