/* style/gdpr.css */

/* --- Base Styles for .page-gdpr Scope --- */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color, #FFF6D6); /* Default text color for dark background */
    background-color: var(--background-color, #0A0A0A); /* Inherited from shared.css body */
    padding-top: 10px; /* Small top padding for the first section, body handles --header-offset */
}

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

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

.page-gdpr__section:nth-child(even) {
    background-color: var(--card-bg-color, #111111);
}

.page-gdpr__section-title {
    font-size: 2.5rem;
    color: var(--primary-color, #F2C14E);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-gdpr__subsection-title {
    font-size: 1.8rem;
    color: var(--secondary-color, #FFD36B);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__section-text {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-main-color, #FFF6D6);
}

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

.page-gdpr__link:hover {
    text-decoration: none;
    color: #FFF6D6;
}

/* --- Buttons --- */
.page-gdpr__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button color */
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #FFE87A 0%, #EAA820 100%);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
    background: var(--background-color, #0A0A0A); /* Dark background */
    padding: var(--header-offset, 120px) 0 60px; /* Desktop padding-top */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
    max-width: 800px;
}

.page-gdpr__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* H1 clamp font size */
    color: var(--text-main-color, #FFF6D6);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-gdpr__hero-description {
    font-size: 1.1rem;
    color: rgba(255, 246, 214, 0.8); /* Slightly lighter text */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Adjust based on desired hero image size */
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

/* Ensure image is on top, content below for HERO */
.page-gdpr__hero-section .page-gdpr__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-gdpr__hero-section .page-gdpr__hero-image-wrapper {
    order: 1; /* Image first */
    margin-bottom: 40px; /* Spacing between image and content */
}
.page-gdpr__hero-section .page-gdpr__hero-content {
    order: 2; /* Content second */
    margin-top: 0; /* Reset default margin */
}


/* --- Content Layout --- */
.page-gdpr__content-flex {
    display: flex;
    gap: 40px;
    align-items: center;
}

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

.page-gdpr__content-text-block {
    flex: 1;
}

.page-gdpr__content-image-wrapper {
    flex: 1;
    min-width: 300px; /* Minimum width for image block */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-gdpr__content-image--center {
    margin: 30px auto 0;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- Lists --- */
.page-gdpr__list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-gdpr__list-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-main-color, #FFF6D6);
}

.page-gdpr__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color, #FFD36B);
    font-weight: bold;
}

.page-gdpr__list--grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
}

.page-gdpr__list--grid .page-gdpr__list-item {
    background-color: var(--card-bg-color, #111111);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color, #3A2A12);
}

.page-gdpr__list--grid .page-gdpr__list-item::before {
    top: 20px;
}

.page-gdpr__list--security .page-gdpr__list-item::before {
    content: '🔒'; /* Custom icon for security list */
    color: var(--secondary-color, #FFD36B);
    font-size: 1.2em;
    left: -5px;
}
.page-gdpr__list--security .page-gdpr__list-item {
    padding-left: 30px;
}


/* --- FAQ Section --- */
.page-gdpr__faq-section {
    background-color: var(--background-color, #0A0A0A);
}

.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: var(--card-bg-color, #111111);
    border: 1px solid var(--border-color, #3A2A12);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-title {
    font-size: 1.1rem;
    color: var(--text-main-color, #FFF6D6);
    margin: 0;
    font-weight: bold;
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    color: var(--secondary-color, #FFD36B);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* For '-' symbol, visually rotates '+' */
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px; /* Initial padding is 0 for collapse */
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 20px; /* Padding when expanded */
    color: var(--text-main-color, #FFF6D6);
}

.page-gdpr__faq-text {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--text-main-color, #FFF6D6);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .page-gdpr__section-title {
        font-size: 2rem;
    }
    .page-gdpr__subsection-title {
        font-size: 1.5rem;
    }
    .page-gdpr__content-flex {
        flex-direction: column;
        gap: 30px;
    }
    .page-gdpr__content-flex--reverse {
        flex-direction: column; /* Consistent column layout for mobile */
    }
    .page-gdpr__hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    .page-gdpr__hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
        padding-top: 0; /* Handled by body and hero-section specific padding */
    }

    /* HERO section padding for mobile, overriding desktop */
    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
        padding-bottom: 40px;
    }

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

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

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

    .page-gdpr__subsection-title {
        font-size: 1.3rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card, /* No specific cards used, but for general safety */
    .page-gdpr__container,
    .page-gdpr__hero-section .page-gdpr__container,
    .page-gdpr__content-flex {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    /* Mobile button responsiveness */
    .page-gdpr__btn-primary,
    .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;
        text-align: center; /* Center button text if it wraps */
    }
    
    .page-gdpr__cta-buttons, /* If there were multiple 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;
        display: flex; /* Ensure flex is active for wrapping/column */
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

    .page-gdpr__list--grid {
        grid-template-columns: 1fr;
    }
}

/* Color Contrast and Specific Brand Colors */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg-color: #111111;
    --background-color: #0A0A0A; /* Body background from shared */
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
}

/* Ensure text colors are applied to elements on dark backgrounds */
.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr p, .page-gdpr li, .page-gdpr__faq-title, .page-gdpr__faq-text {
    color: var(--text-main-color, #FFF6D6);
}

.page-gdpr__link {
    color: var(--secondary-color, #FFD36B);
}

.page-gdpr__faq-question {
    background-color: rgba(255, 255, 255, 0.05); /* Light overlay for question on dark card bg */
}

/* No CSS filters for images */
.page-gdpr img {
    filter: none;
}