/* style/gdpr.css */

/* Variables based on custom color scheme */
:root {
    --phdream-primary: #F2C14E;
    --phdream-secondary: #FFD36B;
    --phdream-card-bg: #111111;
    --phdream-background: #0A0A0A;
    --phdream-text-main: #FFF6D6;
    --phdream-border: #3A2A12;
    --phdream-glow: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-gdpr {
    background-color: var(--phdream-background); /* #0A0A0A */
    color: var(--phdream-text-main); /* #FFF6D6 */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure space above footer */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 40px;
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for hero image */
}

.page-gdpr__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly for visual effect, but not on image */
    position: relative;
    z-index: 1;
    background: rgba(17, 17, 17, 0.9); /* Card BG with transparency for content readability */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--phdream-border); /* #3A2A12 */
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem); /* Responsive H1 font size */
    color: var(--phdream-secondary); /* #FFD36B */
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
}

.page-gdpr__hero-description {
    font-size: 1.1rem;
    color: var(--phdream-text-main); /* #FFF6D6 */
    max-width: 700px;
    margin: 0 auto;
}

.page-gdpr__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-gdpr__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-gdpr__dark-section {
    background-color: var(--phdream-card-bg); /* #111111 */
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 12px;
    border: 1px solid var(--phdream-border); /* #3A2A12 */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--phdream-primary); /* #F2C14E */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--phdream-secondary); /* #FFD36B */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--phdream-text-main); /* #FFF6D6 */
}

.page-gdpr__text-block a {
    color: var(--phdream-primary); /* #F2C14E */
    text-decoration: underline;
}

.page-gdpr__image-container {
    margin: 40px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid var(--phdream-border); /* #3A2A12 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Ensure images and buttons are responsive for mobile */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
        padding-bottom: 40px;
    }

    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Ensure small top padding for video section */
        margin-bottom: 20px;
    }

    .page-gdpr__hero-content {
        margin-top: -60px; /* Adjust overlap for mobile */
        padding: 20px 15px;
        border-radius: 0;
        box-shadow: none;
        background: var(--phdream-card-bg); /* Match background for seamless look */
    }

    .page-gdpr__main-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .page-gdpr__hero-description {
        font-size: 1rem;
    }

    .page-gdpr__section {
        padding: 40px 0;
        margin-bottom: 10px;
    }

    .page-gdpr__content-area {
        padding: 0 15px;
    }

    .page-gdpr__dark-section {
        padding: 40px 15px;
        margin: 20px 0;
        border-radius: 0;
        box-shadow: none;
    }

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

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

    .page-gdpr__text-block {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

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

    .page-gdpr__image-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin: 20px auto;
        padding: 0; /* Remove internal padding if any */
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    /* Buttons responsiveness (if any were added) */
    .page-gdpr__cta-button,
    .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__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

/* Ensure contrast for links in dark sections */
.page-gdpr__dark-section a {
    color: var(--phdream-secondary); /* #FFD36B */
}