/* style/gdpr.css */

/* Variables for consistency */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-color-dark-bg: #ffffff;
    --text-color-light-bg: #333333;
    --background-dark: #0a0a0a; /* Body background */
    --background-light: #f8f8f8;
    --border-color: #333333;
    --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark-bg); /* Default text color on dark body background */
    background-color: var(--background-dark); /* Should match body background from shared.css */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-color-dark-bg);
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.2; /* Make background image subtle */
}

.page-gdpr__container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 15px; /* Inner padding for container */
}

.page-gdpr__main-title {
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-dark-bg);
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background-color: var(--primary-color);
    color: #000000; /* Black text on gold for better contrast */
}

.page-gdpr__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-gdpr__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color-dark-bg);
    border: 1px solid var(--primary-color);
}

.page-gdpr__btn-secondary:hover {
    background-color: #7a0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 20px;
    margin-bottom: 0; /* Sections handle their own padding */
}

.page-gdpr__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__list {
    list-style-type: disc;
    max-width: 800px;
    margin: 0 auto 30px auto;
    padding-left: 40px;
}

.page-gdpr__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--text-color-dark-bg);
}

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

.page-gdpr__image {
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

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

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

/* Color contrast fixes based on body background */
.page-gdpr__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-color-dark-bg);
}

.page-gdpr__light-bg {
    background-color: var(--background-light);
    color: var(--text-color-light-bg);
}

/* Call to Action Section */
.page-gdpr__call-to-action {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(45deg, var(--secondary-color), var(--background-dark));
    color: var(--text-color-dark-bg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__image {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-gdpr__main-title {
        font-size: 2.2em;
    }
    .page-gdpr__description,
    .page-gdpr__paragraph,
    .page-gdpr__list-item {
        font-size: 1em;
    }
    .page-gdpr__section {
        padding: 40px 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__cta-button {
        width: 100%;
        max-width: 300px; /* Limit width for single column buttons */
        margin: 0 auto;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-gdpr__list {
        padding-left: 20px;
    }
    .page-gdpr__image {
        max-width: 100% !important;
        height: auto !important;
        margin: 30px auto;
    }
    .page-gdpr__hero-image {
        max-width: 100% !important;
        height: auto !important;
    }
    /* Ensure all images are responsive */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__section,
    .page-gdpr__container,
    .page-gdpr__call-to-action {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-gdpr__cta-buttons {
        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-button {
        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;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__cta-button {
        font-size: 0.9em;
        padding: 10px 15px;
    }
}