/* 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 light body background */
    background-color: #FFFFFF; /* Explicitly set for clarity, though body is white */
}

/* Fixed header spacing */
.page-gdpr {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    overflow: hidden; /* For responsive images */
}

.page-gdpr__hero-section.page-gdpr__dark-bg {
    background-color: #26A9E0; /* Brand main color */
    color: #ffffff;
}

.page-gdpr__hero-content {
    flex: 1;
    z-index: 1;
    padding-right: 40px;
}

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

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-gdpr__cta-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-gdpr__btn-primary {
    background-color: #FFD700; /* Accent color */
    color: #1a1a1a;
    border: 2px solid #FFD700;
}

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

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

.page-gdpr__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 0;
}

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

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 0;
}

.page-gdpr__light-bg {
    background-color: #f9f9f9;
    color: #333333;
}

.page-gdpr__dark-section {
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand main color */
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #FFD700; /* Accent color for dark sections */
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Accent color */
    border-radius: 2px;
}

.page-gdpr__dark-section .page-gdpr__section-title::after {
    background-color: #26A9E0; /* Brand main color for dark sections */
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #FFD700;
    padding-left: 15px;
}

.page-gdpr__dark-section .page-gdpr__sub-title {
    color: #FFD700;
    border-left-color: #26A9E0;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-gdpr__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-gdpr__list-item::before {
    content: '✔'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #26A9E0; /* Brand main color */
    font-weight: bold;
}

.page-gdpr__dark-section .page-gdpr__list-item::before {
    color: #FFD700; /* Accent color */
}

.page-gdpr__list-item strong {
    color: #26A9E0;
}

.page-gdpr__dark-section .page-gdpr__list-item strong {
    color: #FFD700;
}

.page-gdpr__image-container {
    text-align: center;
    margin: 40px 0;
}

.page-gdpr__image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__dark-section .page-gdpr__image-container img {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Grid list for rights section */
.page-gdpr__list--grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-gdpr__list--grid .page-gdpr__list-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #26A9E0;
    padding-left: 25px; /* Adjust for border-left */
}

.page-gdpr__list--grid .page-gdpr__list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr__list--grid .page-gdpr__list-item h4 {
    color: #26A9E0;
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-gdpr__list--grid .page-gdpr__list-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

.page-gdpr__list--grid .page-gdpr__list-item::before {
    display: none; /* Hide default checkmark for grid items */
}

/* Contact Info */
.page-gdpr__contact-info {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-top: 40px;
}

.page-gdpr__contact-info .page-gdpr__sub-title {
    margin-top: 0;
    color: #26A9E0;
    border-left-color: #FFD700;
}

.page-gdpr__contact-info .page-gdpr__list-item {
    color: #333333;
}

.page-gdpr__contact-info .page-gdpr__list-item strong {
    color: #26A9E0;
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #f0f8ff; /* Light blue background for questions */
    border-bottom: 1px solid #e0e0e0;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    background-color: #e6f7ff;
    border-bottom: none;
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

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

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

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

/* Responsive Adjustments */
@media (max-width: 992px) {
    .page-gdpr__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
    }

    .page-gdpr__hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .page-gdpr__hero-image {
        justify-content: center;
    }

    .page-gdpr__hero-title {
        font-size: 2.5em;
    }

    .page-gdpr__hero-description {
        font-size: 1.1em;
    }

    .page-gdpr__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-gdpr__section-title {
        font-size: 2em;
    }

    .page-gdpr__sub-title {
        font-size: 1.5em;
    }

    .page-gdpr__list--grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        padding-top: var(--header-offset-mobile, 80px);
    }

    .page-gdpr__hero-title {
        font-size: 2em;
    }

    .page-gdpr__hero-description {
        font-size: 1em;
    }

    .page-gdpr__section {
        padding: 40px 0;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
    }

    .page-gdpr__sub-title {
        font-size: 1.3em;
    }

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

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

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

    .page-gdpr__hero-title {
        font-size: 1.8em;
    }

    .page-gdpr__hero-description {
        font-size: 0.95em;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-gdpr__section-title {
        font-size: 1.5em;
    }

    .page-gdpr__sub-title {
        font-size: 1.2em;
    }

    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__faq-answer p {
        font-size: 0.95em;
    }

    .page-gdpr__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }
}