/* style/gdpr.css */

/* Variables from custom color scheme */
:root {
    --page-gdpr-primary-color: #FF8C1A;
    --page-gdpr-secondary-color: #FFA53A;
    --page-gdpr-card-bg: #17191F;
    --page-gdpr-background: #0D0E12;
    --page-gdpr-text-main: #FFF3E6;
    --page-gdpr-border-color: #A84F0C;
    --page-gdpr-glow-color: #FFB04D;
    --page-gdpr-deep-orange: #D96800;
    --page-gdpr-button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-gdpr-text-main); /* Light text for dark body background */
    background-color: var(--page-gdpr-background); /* Dark background */
    overflow-x: hidden; /* Prevent horizontal scroll on main content */
}

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

.page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    position: relative;
    overflow: hidden;
    background-color: var(--page-gdpr-background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-gdpr__hero-image-container {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

.page-gdpr__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    z-index: 1;
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
    color: var(--page-gdpr-primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-gdpr__subtitle {
    font-size: 1.25rem;
    color: var(--page-gdpr-text-main);
    margin-bottom: 30px;
}

.page-gdpr__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    min-width: 180px; /* Ensure buttons are not too small */
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-button-gradient);
    color: #ffffff;
    border: 2px solid var(--page-gdpr-deep-orange);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--page-gdpr-primary-color);
    border: 2px solid var(--page-gdpr-primary-color);
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--page-gdpr-primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 140, 26, 0.2);
}

.page-gdpr__content-section {
    padding: 60px 0;
    background-color: var(--page-gdpr-background);
}

.page-gdpr__dark-bg {
    background-color: var(--page-gdpr-card-bg); /* Use card background for contrast */
    color: var(--page-gdpr-text-main);
}

.page-gdpr__section-title {
    font-size: 2.5rem;
    color: var(--page-gdpr-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-gdpr__sub-title {
    font-size: 1.8rem;
    color: var(--page-gdpr-secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__text-block {
    font-size: 1.1rem;
    color: var(--page-gdpr-text-main);
    margin-bottom: 20px;
}

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

.page-gdpr__list {
    list-style-type: disc;
    padding-left: 30px;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.page-gdpr__list li strong {
    color: var(--page-gdpr-secondary-color);
}

.page-gdpr__image-section {
    padding: 60px 0;
    background-color: var(--page-gdpr-background);
}

.page-gdpr__image-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-gdpr__image-flex--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__image-flex .page-gdpr__content-image {
    flex: 1;
    min-width: 400px; /* Ensure image is not too small on desktop */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-height: 200px; /* Minimum size requirement */
}

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

.page-gdpr__contact-section {
    padding: 60px 0;
    background-color: var(--page-gdpr-card-bg);
    color: var(--page-gdpr-text-main);
}

.page-gdpr__contact-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-gdpr__contact-image {
    flex: 1;
    min-width: 300px; /* Ensure image is not too small on desktop */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-height: 200px; /* Minimum size requirement */
}

.page-gdpr__contact-info {
    flex: 1;
    font-size: 1.1rem;
}

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

.page-gdpr__contact-info .page-gdpr__btn-primary,
.page-gdpr__contact-info .page-gdpr__btn-secondary {
    margin-right: 15px;
    margin-bottom: 15px; /* For wrapping */
}

.page-gdpr__conclusion-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--page-gdpr-background);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-gdpr__container {
        padding: 15px;
    }

    .page-gdpr__hero-content {
        padding: 30px 15px;
    }

    .page-gdpr__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-gdpr__section-title {
        font-size: 2rem;
    }

    .page-gdpr__sub-title {
        font-size: 1.5rem;
    }

    .page-gdpr__image-flex,
    .page-gdpr__contact-flex {
        flex-direction: column;
        gap: 30px;
    }

    .page-gdpr__image-flex .page-gdpr__content-image,
    .page-gdpr__contact-image {
        min-width: unset; /* Allow to shrink */
        width: 100%;
        max-width: 800px; /* Constrain max width for larger tablets */
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-gdpr__hero-image-container {
        max-height: 400px; /* Adjust hero image height for mobile */
    }

    .page-gdpr__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-gdpr__hero-content {
        padding: 20px 15px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem); /* Adjust font size for smaller screens */
        margin-bottom: 15px;
    }

    .page-gdpr__subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* CTA Buttons */
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        min-width: unset; /* Allow buttons to fill width */
    }

    /* Content Sections */
    .page-gdpr__content-section,
    .page-gdpr__image-section,
    .page-gdpr__contact-section,
    .page-gdpr__conclusion-section {
        padding: 30px 0;
    }

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

    .page-gdpr__sub-title {
        font-size: 1.3rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-gdpr__text-block,
    .page-gdpr__list li {
        font-size: 1rem;
    }

    /* Image Flex sections */
    .page-gdpr__image-flex,
    .page-gdpr__image-flex--reverse,
    .page-gdpr__contact-flex {
        flex-direction: column;
        gap: 20px;
    }

    .page-gdpr__image-flex .page-gdpr__content-image,
    .page-gdpr__contact-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-gdpr__contact-info .page-gdpr__btn-primary,
    .page-gdpr__contact-info .page-gdpr__btn-secondary {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    .page-gdpr__contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* General image responsiveness for all img tags */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure all containing elements for images and buttons are correctly sized */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__content-section,
    .page-gdpr__image-section,
    .page-gdpr__contact-section,
    .page-gdpr__conclusion-section,
    .page-gdpr__image-flex,
    .page-gdpr__contact-flex {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__hero-section,
    .page-gdpr__content-section,
    .page-gdpr__image-section,
    .page-gdpr__contact-section,
    .page-gdpr__conclusion-section {
        padding-left: 0;
        padding-right: 0;
    }
}