/* style/gdpr.css */

/* Variables for consistent styling */
:root {
    --ph365-primary-color: #F2C14E;
    --ph365-secondary-color: #FFD36B;
    --ph365-card-bg: #111111;
    --ph365-bg: #0A0A0A;
    --ph365-text-main: #FFF6D6;
    --ph365-border-color: #3A2A12;
    --ph365-glow-color: #FFD36B;
    --ph365-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: var(--ph365-text-main); /* Text Main on dark body background */
    line-height: 1.6;
    background-color: var(--ph365-bg); /* Ensure dark background for the page content */
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing for desktop */
    padding-bottom: 50px;
    overflow: hidden;
    text-align: center;
}

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

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    color: #ffffff; /* Ensure white text on darkened hero image */
}

.page-gdpr__main-title {
    font-size: 3.2em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff; /* White text for main title */
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0; /* Slightly off-white for description */
}

.page-gdpr__section {
    padding: 60px 0;
    background-color: var(--ph365-bg);
}

.page-gdpr__section--dark {
    background-color: var(--ph365-card-bg);
}

.page-gdpr__section--dark-bg {
    background-color: var(--ph365-card-bg);
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--ph365-primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.page-gdpr__section-intro-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--ph365-text-main);
}

.page-gdpr__content-block {
    background-color: var(--ph365-card-bg);
    border: 1px solid var(--ph365-border-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: var(--ph365-secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.page-gdpr__list {
    list-style-type: disc;
    margin-left: 20px;
    color: var(--ph365-text-main);
}

.page-gdpr__list-item {
    margin-bottom: 10px;
}

.page-gdpr__list-item strong {
    color: var(--ph365-primary-color);
}

.page-gdpr__link {
    color: var(--ph365-secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: var(--ph365-primary-color);
    text-decoration: underline;
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.page-gdpr__image--inline {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-gdpr__contact-item {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--ph365-text-main);
}

/* CTA Section */
.page-gdpr__section--cta {
    padding: 80px 0;
    text-align: center;
    background-color: var(--ph365-card-bg);
}

.page-gdpr__cta-content {
    max-width: 800px;
}

.page-gdpr__cta-title {
    font-size: 2.8em;
    color: var(--ph365-primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-gdpr__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--ph365-text-main);
}

.page-gdpr__cta-button {
    display: inline-block;
    background: var(--ph365-button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.page-gdpr__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 211, 107, 0.4);
}

.page-gdpr__cta-button--secondary {
    background: #ffffff;
    color: var(--ph365-primary-color);
    border: 2px solid var(--ph365-primary-color);
}

.page-gdpr__cta-button--secondary:hover {
    background: var(--ph365-primary-color);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

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

.page-gdpr__faq-item {
    background-color: var(--ph365-card-bg);
    border: 1px solid var(--ph365-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item:hover {
    background-color: rgba(255, 211, 107, 0.05);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    color: var(--ph365-secondary-color);
    font-size: 1.2em;
    font-weight: 600;
}

.page-gdpr__faq-title {
    margin: 0;
    color: inherit;
    font-size: 1em; /* Adjust to fit within faq-question font-size */
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--ph365-primary-color);
}

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

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--ph365-text-main);
}

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

.page-gdpr__faq-answer p {
    margin-bottom: 10px;
    color: var(--ph365-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.5em;
    }
    .page-gdpr__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 100px) !important; /* Mobile header spacing */
        padding-bottom: 30px;
    }
    .page-gdpr__main-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-intro-text {
        font-size: 1em;
    }
    .page-gdpr__sub-title {
        font-size: 1.3em;
    }
    .page-gdpr__content-block {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-gdpr__list {
        margin-left: 15px;
    }
    .page-gdpr__cta-title {
        font-size: 1.8em;
    }
    .page-gdpr__cta-description {
        font-size: 1em;
    }
    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-gdpr__cta-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .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 20px 20px;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__content-block,
    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
    }
}