/* style/gdpr.css */

/* Base Styles */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from shared.css var(--dark-bg-1) */
}

.page-gdpr__section {
    padding: 60px 20px;
    text-align: center;
}

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

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

.page-gdpr__subsection-title {
    font-size: 1.8em;
    color: #26A9E0; /* Brand primary color */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__section-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light text for dark background */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 100px 20px 60px; /* Adjust padding-top for header offset */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0d0d0d; /* Dark background for hero */
    overflow: hidden;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin-bottom: 40px;
}

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

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

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

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay */
    filter: brightness(0.7); /* Darken the image without changing color */
}

/* CTA Button */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    margin-top: 20px;
}

.page-gdpr__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

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

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

/* Introduction Section */
.page-gdpr__introduction-section {
    background-color: #1a1a1a; /* Slightly lighter dark background */
    color: #f0f0f0;
}

/* Principles Section */
.page-gdpr__principles-section {
    background-color: #26A9E0; /* Brand primary color as background */
    color: #ffffff;
}

.page-gdpr__principles-section .page-gdpr__section-title {
    color: #ffffff; /* White title on blue background */
}

.page-gdpr__principles-section .page-gdpr__section-text {
    color: #f0f0f0; /* Light text on blue background */
}

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

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white card on blue background */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff; /* White text on card */
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
}

.page-gdpr__card-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Rights Section */
.page-gdpr__rights-section {
    background-color: #1a1a1a; /* Slightly lighter dark background */
    color: #f0f0f0;
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.05); /* Subtle background for list items */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #f0f0f0;
    border-left: 4px solid #26A9E0;
}

.page-gdpr__list-item strong {
    color: #26A9E0; /* Highlight strong text with brand color */
}

/* Compliance Section */
.page-gdpr__compliance-section {
    background-color: #26A9E0; /* Brand primary color as background */
    color: #ffffff;
}

.page-gdpr__compliance-section .page-gdpr__section-title {
    color: #ffffff;
}

.page-gdpr__compliance-section .page-gdpr__section-text {
    color: #f0f0f0;
}

.page-gdpr__compliance-section .page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-left: 4px solid #ffffff; /* White border for contrast */
}

.page-gdpr__compliance-section .page-gdpr__list-item strong {
    color: #ffffff;
}

/* Data Processing Section */
.page-gdpr__data-processing-section {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

.page-gdpr__data-processing-section .page-gdpr__subsection-title {
    color: #26A9E0;
}

.page-gdpr__data-processing-section .page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    color: #f0f0f0;
    border-left: 4px solid #26A9E0;
}

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

/* FAQ Section */
.page-gdpr__faq-section {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
}

.page-gdpr__faq-section .page-gdpr__section-title {
    color: #ffffff;
}

.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly darker for question */
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-gdpr__faq-question h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2em;
}

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

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

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0; /* Light text */
    text-align: left;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Ensure it expands fully */
    padding: 15px 25px 25px;
}

.page-gdpr__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

/* Contact Section */
.page-gdpr__contact-section {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

.page-gdpr__contact-info {
    margin-top: 30px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-gdpr__contact-info p {
    margin-bottom: 10px;
}

.page-gdpr__contact-info a {
    color: #26A9E0; /* Brand primary color for links */
    text-decoration: none;
    font-weight: bold;
}

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

/* Image Styling */
.page-gdpr__image-wrapper {
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure it behaves as block for max-width */
    margin: 0 auto; /* Center the image */
}

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

@media (max-width: 768px) {
    /* Mobile image adaptation - IMPORTANT */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__image-wrapper,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent overflow */
    }

    /* Mobile button adaptation - IMPORTANT */
    .page-gdpr__cta-button,
    .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; /* Allow text wrapping */
        word-wrap: break-word !important; /* Allow long words to break */
        padding-left: 15px; /* Ensure padding inside button */
        padding-right: 15px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .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;
        overflow: hidden !important;
        display: flex; /* Ensure flex container for buttons */
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px; /* Space between stacked buttons */
    }

    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure hero adjusts */
        padding-bottom: 40px;
    }
    .page-gdpr__hero-title {
        font-size: 2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__subsection-title {
        font-size: 1.5em;
    }
    .page-gdpr__section-text {
        font-size: 1em;
    }
    .page-gdpr__list-item {
        font-size: 0.95em;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-gdpr__faq-question h3 {
        font-size: 1.1em;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px 20px;
    }
}