/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, 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 */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-gdpr__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    background-color: #017439; /* Brand color for hero background */
    color: #ffffff;
}

.page-gdpr__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFF00; /* Custom color for title, good contrast */
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
}

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

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.page-gdpr__section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    color: #FFFF00; /* Consistent title color */
}

/* Light background section with dark text */
.page-gdpr__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
}

/* Dark background section with light text */
.page-gdpr__dark-bg {
    background-color: #1a1a2e; /* Inherit from body or use a slightly different dark tone */
    color: #ffffff; /* Light text for dark background */
}

.page-gdpr__content-area {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__content-area p {
    margin-bottom: 20px;
    font-size: 1.05em;
}

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

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent for dark bg sections */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff; /* Light text for card on dark background */
}

.page-gdpr__light-bg .page-gdpr__card {
    background-color: #f8f8f8; /* Lighter background for cards in light sections */
    color: #333333; /* Dark text for card on light background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #017439; /* Brand color for card titles */
}

.page-gdpr__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 30px;
    font-size: 1.05em;
}

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

.page-gdpr__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__image-center {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Feature Grid for security measures */
.page-gdpr__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-gdpr__feature-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.page-gdpr__feature-title {
    font-size: 1.3em;
    color: #FFFF00; /* Highlighted title */
    margin-bottom: 10px;
}

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

.page-gdpr__faq-item {
    background-color: #f8f8f8; /* Light background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #ffffff;
    color: #333333;
    font-size: 1.1em;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: #017439; /* Brand color for FAQ question text */
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Change to '-' visually */
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px; /* Initial padding */
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f8f8f8;
    color: #555555;
}

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

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

/* Contact Section */
.page-gdpr__contact-section {
    padding: 60px 0;
    text-align: center;
    background-color: #017439; /* Brand color for contact section */
    color: #ffffff;
}

.page-gdpr__contact-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1em;
}

.page-gdpr__contact-info {
    margin-bottom: 30px;
    font-size: 1.1em;
}

.page-gdpr__contact-info a {
    color: #FFFF00; /* Highlight contact links */
    text-decoration: none;
    font-weight: bold;
}

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

/* Buttons */
.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Custom color for register/login buttons */
    color: #FFFF00; /* Custom font color for register/login buttons */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.5em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__grid,
    .page-gdpr__feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding: 60px 0;
    }
    .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__card,
    .page-gdpr__feature-item {
        padding: 20px;
    }
    .page-gdpr__card-title,
    .page-gdpr__feature-title {
        font-size: 1.2em;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-gdpr__faq-question h3 {
        font-size: 1em;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px;
    }
    .page-gdpr__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
    }

    /* Mobile responsive image adaptation */
    .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,
    .page-gdpr__content-area,
    .page-gdpr__feature-grid,
    .page-gdpr__faq-list,
    .page-gdpr__contact-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-gdpr__hero-section {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    /* Buttons responsive adaptation */
    .page-gdpr__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        /* Padding already handled by container, if not, add here */
    }
    /* If multiple buttons in a row, make them stack */
    .page-gdpr__hero-section .page-gdpr__container,
    .page-gdpr__contact-section .page-gdpr__container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px; /* Space between buttons if multiple */
    }
}