/* style/gdpr.css */

:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --text-color-dark-bg: #ffffff;
    --text-color-light-bg: #333333;
    --background-dark: #0a0a0a;
    --background-light: #f8f9fa;
    --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
    --card-bg-light-mode: #ffffff;
    --border-color: #e0e0e0;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark-bg); /* Body background is dark, so text is light */
    background-color: var(--background-dark);
    padding-top: var(--header-offset, 120px);
}

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

.page-gdpr__hero-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: var(--text-color-dark-bg);
    margin-bottom: 40px;
}

.page-gdpr__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-color-dark-bg);
}

.page-gdpr__description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-gdpr__cta-button--primary {
    background-color: var(--secondary-color);
    color: var(--text-color-light-bg);
}

.page-gdpr__cta-button--primary:hover {
    background-color: #e6b000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--secondary {
    background-color: transparent;
    color: var(--text-color-dark-bg);
    border: 2px solid var(--text-color-dark-bg);
}

.page-gdpr__cta-button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.page-gdpr__subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-dark-bg);
}

.page-gdpr__intro-section, .page-gdpr__data-usage-section, .page-gdpr__security-section, .page-gdpr__contact-section, .page-gdpr__policy-changes-section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: var(--background-dark);
    color: var(--text-color-dark-bg);
}

.page-gdpr__data-collection-section, .page-gdpr__data-retention-section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
}

.page-gdpr__your-rights-section, .page-gdpr__policy-changes-section.page-gdpr__light-bg {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: var(--background-light);
    color: var(--text-color-light-bg);
}

.page-gdpr__your-rights-section .page-gdpr__section-title, .page-gdpr__your-rights-section .page-gdpr__subtitle {
    color: var(--primary-color);
}

.page-gdpr__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-gdpr__content-wrapper--reversed {
    flex-direction: row-reverse;
}

.page-gdpr__image {
    flex-shrink: 0;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    width: 50%;
    height: auto;
    max-width: 100%;
    display: block;
}

.page-gdpr__image--left {
    margin-right: 20px;
}

.page-gdpr__image--right {
    margin-left: 20px;
}

.page-gdpr__text-block {
    flex-grow: 1;
}

.page-gdpr__text-block p {
    margin-bottom: 15px;
    font-size: 16px;
}

.page-gdpr__text-block ul {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
}

.page-gdpr__text-block li {
    margin-bottom: 8px;
}

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

.page-gdpr__card {
    background-color: var(--card-bg-dark-mode);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-color-dark-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    max-width: 100%;
    box-sizing: border-box;
}

.page-gdpr__your-rights-section .page-gdpr__card {
    background-color: var(--card-bg-light-mode);
    color: var(--text-color-light-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-gdpr__your-rights-section .page-gdpr__card-title {
    color: var(--primary-color);
}

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

.page-gdpr__right-item {
    background-color: var(--card-bg-light-mode);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-color-light-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.page-gdpr__right-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-gdpr__right-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-gdpr__text-center {
    text-align: center;
    margin-top: 40px;
    font-size: 18px;
}

.page-gdpr__contact-info {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
}

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

.page-gdpr__contact-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
    color: #e6b000;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr__main-title {
        font-size: 40px;
    }

    .page-gdpr__description {
        font-size: 18px;
    }

    .page-gdpr__section-title {
        font-size: 32px;
    }

    .page-gdpr__subtitle {
        font-size: 16px;
    }

    .page-gdpr__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .page-gdpr__content-wrapper--reversed {
        flex-direction: column;
    }

    .page-gdpr__image {
        width: 100%;
        margin: 0 !important;
    }

    .page-gdpr__text-block {
        padding: 0 15px;
    }

    .page-gdpr__cards-grid, .page-gdpr__rights-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .page-gdpr__card, .page-gdpr__right-item {
        padding: 25px;
    }

    .page-gdpr__card-title, .page-gdpr__right-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-gdpr__hero-section {
        padding: 60px 15px;
    }

    .page-gdpr__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-gdpr__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .page-gdpr__cta-button {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-gdpr__subtitle {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .page-gdpr__intro-section, .page-gdpr__data-collection-section, .page-gdpr__data-usage-section, .page-gdpr__your-rights-section, .page-gdpr__security-section, .page-gdpr__data-retention-section, .page-gdpr__contact-section, .page-gdpr__policy-changes-section {
        padding: 40px 0;
    }

    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__content-wrapper {
        gap: 20px;
    }

    .page-gdpr__image {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        display: block !important;
        margin: 0;
    }
    
    .page-gdpr__text-block p, .page-gdpr__text-block li {
        font-size: 15px;
    }

    .page-gdpr__cards-grid, .page-gdpr__rights-grid {
        gap: 20px;
    }

    .page-gdpr__card, .page-gdpr__right-item {
        padding: 20px;
    }

    .page-gdpr__card-title, .page-gdpr__right-title {
        font-size: 18px;
    }

    .page-gdpr__contact-info p {
        font-size: 16px;
    }
}

/* Ensure no CSS filters are used for images */
.page-gdpr img {
    filter: none;
}