/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    padding-bottom: 60px; /* Add some padding at the bottom for overall page */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    box-sizing: border-box;
}

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

.page-gdpr__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
    color: #ffffff;
}

.page-gdpr__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-gdpr__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-gdpr__dark-bg {
    background-color: #1a1a2e; /* Body background color */
    color: #ffffff;
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #ffffff; /* Ensure contrast on dark/brand background */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for readability */
}

.page-gdpr__paragraph a {
    color: #ffffff; /* Links in paragraphs */
    text-decoration: underline;
}

.page-gdpr__paragraph a:hover {
    color: #EA7C07; /* Login color for hover */
}

/* List Styling */
.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

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

/* Image Styling */
.page-gdpr__image-wrapper {
    text-align: center;
    margin: 40px auto;
    max-width: 800px; /* Constrain image width for content flow */
}

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

/* Button Styling */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
    margin: 10px;
}

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

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

.page-gdpr__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0; /* Brand color on hover */
    transform: translateY(-2px);
}

.page-gdpr__contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    margin-top: 40px;
}

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

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    list-style: none; /* Remove default marker */
    color: #ffffff;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0; /* Brand color for toggle */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px;
    font-size: 1.0em;
    color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 3em;
    }
    .page-gdpr__hero-description {
        font-size: 1.2em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__list-item {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        height: 80vh; /* Adjust height for mobile */
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: calc(100% - 30px) !important; /* Full width minus padding */
        margin: 10px auto !important; /* Center buttons */
        display: block !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__contact-buttons {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-gdpr__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure image wrappers/containers also adapt */
    .page-gdpr__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 0 15px;
    }

    /* FAQ specific adjustments */
    .page-gdpr__faq-item summary {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-gdpr__faq-answer {
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 0.9em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
}

/* Ensure all links have appropriate color */
.page-gdpr a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: none;
}

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

/* Specific link colors for paragraphs and lists */
.page-gdpr__paragraph a,
.page-gdpr__list-item a,
.page-gdpr__faq-answer a {
    color: #ffffff; /* White links within dark sections */
    text-decoration: underline;
}

.page-gdpr__paragraph a:hover,
.page-gdpr__list-item a:hover,
.page-gdpr__faq-answer a:hover {
    color: #EA7C07; /* Login color for hover */
}

/* Contrast fixes for light-bg sections */
.page-gdpr__light-bg .page-gdpr__section-title {
    color: #ffffff;
}
.page-gdpr__light-bg .page-gdpr__section-title::after {
    background-color: #ffffff;
}
.page-gdpr__light-bg .page-gdpr__paragraph,
.page-gdpr__light-bg .page-gdpr__list-item {
    color: #ffffff;
}
.page-gdpr__light-bg .page-gdpr__paragraph a,
.page-gdpr__light-bg .page-gdpr__list-item a {
    color: #1a1a2e; /* Darker link color on brand blue background */
    text-decoration: underline;
}
.page-gdpr__light-bg .page-gdpr__paragraph a:hover,
.page-gdpr__light-bg .page-gdpr__list-item a:hover {
    color: #EA7C07;
}

.page-gdpr__faq-section .page-gdpr__section-title {
    color: #ffffff; /* FAQ section is dark-bg, so title is white */
}
.page-gdpr__faq-section .page-gdpr__section-title::after {
    background-color: #ffffff;
}