/* 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 handled by shared.css */
}

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

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

.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #26A9E0;
    font-weight: bold;
}

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

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

.page-gdpr__section-description--light {
    color: #ffffff;
}

.page-gdpr__text-block {
    margin-bottom: 20px;
    text-align: left;
    color: #ffffff;
}

.page-gdpr__text-block--light {
    color: #ffffff;
}

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

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

.page-gdpr__list--light li {
    color: #ffffff;
}

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

.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.7); /* Dark overlay for text readability */
    z-index: 2;
}

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

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

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

.page-gdpr__hero-cta-button {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__hero-cta-button:hover {
    background-color: #1a7bb0;
}

/* General Section Backgrounds */
.page-gdpr__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-gdpr__light-bg .page-gdpr__section-title {
    color: #26A9E0;
}

.page-gdpr__light-bg .page-gdpr__section-description,
.page-gdpr__light-bg .page-gdpr__text-block,
.page-gdpr__light-bg .page-gdpr__list li,
.page-gdpr__light-bg .page-gdpr__contact-list li,
.page-gdpr__light-bg .page-gdpr__contact-list li a {
    color: #333333;
}

.page-gdpr__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Grid Container for Principles and User Rights */
.page-gdpr__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__grid-container--two-col {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Card Styles */
.page-gdpr__card-section {
    background-color: #f8f8f8; /* Lighter background for cards */
}

.page-gdpr__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-gdpr__card-image--right {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    height: auto; /* Allow height to adjust for user rights image */
    max-width: 800px; /* Example max-width */
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

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

.page-gdpr__text-block-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #26A9E0;
    text-align: left;
}

.page-gdpr__text-block-title--light {
    color: #ffffff;
}

/* Contact List */
.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__contact-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-gdpr__contact-list li strong {
    color: #26A9E0;
}

.page-gdpr__contact-list li a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__contact-list li a:hover {
    color: #1a7bb0;
    text-decoration: underline;
}

/* Video Section */
.page-gdpr__video-section {
    background-color: #0d0d0d;
    padding: 60px 20px;
}

.page-gdpr__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__video-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.page-gdpr__video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

.page-gdpr__btn-primary:hover {
    background-color: #1a7bb0;
    border-color: #1a7bb0;
}

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

.page-gdpr__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a7bb0;
    border-color: #1a7bb0;
}

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

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #26A9E0;
    font-weight: bold;
}

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

.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: #333333;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 20px 25px;
}

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

/* Responsive Design */
@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-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-gdpr__grid-container--two-col {
        grid-template-columns: 1fr;
    }
    .page-gdpr__card-image--right {
        margin-top: 20px;
        order: 2; /* Move image below text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__section {
        padding: 40px 15px;
    }
    .page-gdpr__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure spacing on mobile */
    }
    .page-gdpr__hero-content {
        padding: 15px;
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__card-image {
        height: 200px;
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-gdpr__card-image--right {
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-gdpr__video-wrapper {
        margin-left: 15px;
        margin-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-gdpr__video {
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-gdpr__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section has correct padding */
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .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;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__faq-question,
    .page-gdpr__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}