/* style/gdpr.css */

/* Custom Colors */
:root {
    --page-gdpr-primary-color: #FF8C1A; /* Main Orange */
    --page-gdpr-secondary-color: #FFA53A; /* Lighter Orange */
    --page-gdpr-background-dark: #0D0E12; /* Page Background */
    --page-gdpr-card-bg: #17191F; /* Card Background */
    --page-gdpr-text-main: #FFF3E6; /* Main Text Color */
    --page-gdpr-border-color: #A84F0C; /* Border Color */
    --page-gdpr-glow-color: #FFB04D; /* Glow Color */
    --page-gdpr-deep-orange: #D96800; /* Deep Orange */
    --page-gdpr-button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --page-gdpr-light-text: #ffffff; /* For dark backgrounds */
    --page-gdpr-dark-text: #333333; /* For light backgrounds */
    --page-gdpr-section-padding: 60px 20px;
    --page-gdpr-container-max-width: 1200px;
}

/* Base styles for .page-gdpr - ensure text color for body background */
.page-gdpr {
    color: var(--page-gdpr-text-main); /* Light text for dark body background */
    background-color: var(--page-gdpr-background-dark); /* Ensure consistency if main has its own bg */
}

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

.page-gdpr__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: var(--page-gdpr-container-max-width);
    margin-bottom: 30px; /* Space between image and content */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__hero-content {
    max-width: 800px;
    z-index: 1;
    color: var(--page-gdpr-text-main); /* Light text on dark background */
}

.page-gdpr__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--page-gdpr-primary-color); /* Brand color for H1 */
    margin-bottom: 20px;
}

.page-gdpr__description {
    font-size: 1.125rem; /* 18px */
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--page-gdpr-text-main);
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    min-width: 180px; /* Minimum width for buttons */
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-button-gradient);
    color: var(--page-gdpr-light-text);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

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

.page-gdpr__btn-secondary:hover {
    background: rgba(255, 140, 26, 0.1);
    transform: translateY(-2px);
}

/* Content Sections */
.page-gdpr__content-section {
    padding: var(--page-gdpr-section-padding);
    width: 100%;
    box-sizing: border-box;
}

.page-gdpr__container {
    max-width: var(--page-gdpr-container-max-width);
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for container */
    box-sizing: border-box;
    width: 100%; /* Ensure container takes full width on mobile */
}

.page-gdpr__section-title {
    font-size: 2.2rem; /* 35.2px */
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--page-gdpr-primary-color); /* Default brand color for section titles */
}

.page-gdpr__card-bg .page-gdpr__section-title {
    color: var(--page-gdpr-text-main); /* Light text on dark card background */
}

.page-gdpr__text-block {
    font-size: 1rem; /* 16px */
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-gdpr__list-item {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__list-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--page-gdpr-primary-color);
    font-weight: bold;
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
    max-width: 100%; /* Ensure images don't overflow */
}

/* Background color variants */
.page-gdpr__dark-section {
    background-color: var(--page-gdpr-background-dark);
    color: var(--page-gdpr-text-main);
}

.page-gdpr__light-bg {
    background-color: #ffffff; /* Use white for light background */
    color: var(--page-gdpr-dark-text); /* Dark text on light background */
}

.page-gdpr__card-bg {
    background-color: var(--page-gdpr-card-bg);
    color: var(--page-gdpr-text-main);
}

/* Text color variants */
.page-gdpr__text-main {
    color: var(--page-gdpr-text-main); /* For elements on dark backgrounds */
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.5rem; /* 40px */
    }
    .page-gdpr__section-title {
        font-size: 1.8rem; /* 28.8px */
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }

    .page-gdpr__hero-image-wrapper {
        margin-bottom: 20px;
    }

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

    .page-gdpr__description {
        font-size: 1rem; /* 16px */
        margin-bottom: 25px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        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;
        padding: 12px 20px;
        font-size: 0.95rem; /* 15.2px */
    }

    .page-gdpr__content-section {
        padding: 30px 15px;
    }

    .page-gdpr__container {
        padding: 0; /* Remove inner padding, section padding covers it */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__section-title {
        font-size: 1.5rem; /* 24px */
        margin-bottom: 20px;
    }

    .page-gdpr__text-block,
    .page-gdpr__list-item {
        font-size: 0.95rem; /* 15.2px */
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-gdpr__hero-image-wrapper,
    .page-gdpr__content-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

/* Ensure content area images are not smaller than 200px */
.page-gdpr__content-section img {
    min-width: 200px;
    min-height: 200px;
}