/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    background-color: #26A9E0; /* Brand primary color for hero */
    color: #FFFFFF;
    padding-top: var(--header-offset, 120px); /* Ensure spacing from fixed header */
    overflow: hidden; /* To contain the image */
}

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

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.page-gdpr__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Content Section - Light background for readability */
.page-gdpr__content-section {
    background-color: #FFFFFF; /* Light background for content */
    color: #333333; /* Dark text for light background */
    padding: 60px 20px;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #26A9E0; /* Brand primary color for section titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-gdpr__subsection-title {
    font-size: 1.8em;
    color: #333333;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #333333;
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list {
    list-style: disc inside;
    margin-bottom: 30px;
    padding-left: 20px;
    color: #333333;
}

.page-gdpr__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-gdpr__list-item-title {
    color: #26A9E0;
    font-weight: bold;
}

/* Buttons */
.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
    background-color: #1e87c0;
    transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
    display: inline-block;
    background-color: #FFFFFF;
    color: #26A9E0;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
    border: 2px solid #26A9E0;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    margin-left: 15px;
}

.page-gdpr__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    border-color: #1e87c0;
    color: #1e87c0;
}

.page-gdpr__contact-btn,
.page-gdpr__privacy-btn {
    margin-top: 30px;
    margin-bottom: 20px;
}

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

.page-gdpr__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #EBF8FF; /* Lighter shade of brand color */
    color: #26A9E0;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: #D6EEFF;
}

.page-gdpr__faq-title {
    margin: 0;
    color: #26A9E0;
}

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

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

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: #FFFFFF;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #333333;
}

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

.page-gdpr__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
    color: #333333;
}
.page-gdpr__faq-answer p:last-child {
    padding-bottom: 0;
}

/* Links within content */
.page-gdpr__text-block a,
.page-gdpr__list a,
.page-gdpr__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__text-block a:hover,
.page-gdpr__list a:hover,
.page-gdpr__faq-answer a:hover {
    color: #1e87c0;
}


/* Responsive styles */
@media (max-width: 992px) {
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }

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

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

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

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 80px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure spacing from fixed header on mobile */
    }

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

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

    .page-gdpr__content-section {
        padding: 40px 15px;
    }

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

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

    .page-gdpr__text-block,
    .page-gdpr__list li,
    .page-gdpr__faq-question {
        font-size: 0.95em;
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons responsiveness */
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0;
        margin-top: 15px;
        text-align: center;
    }

    .page-gdpr__btn-primary:first-of-type,
    .page-gdpr__btn-secondary:first-of-type {
        margin-top: 0;
    }
    .page-gdpr__contact-btn {
        margin-top: 30px !important;
    }
    .page-gdpr__privacy-btn {
        margin-top: 15px !important;
    }

    /* FAQ responsiveness */
    .page-gdpr__faq-question {
        padding: 15px 20px;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px;
    }
}