/* style/gdpr.css */

/* Root variables for colors */
:root {
    --primary-color: #F2C14E; /* Main brand color */
    --secondary-color: #FFD36B; /* Auxiliary brand color */
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --card-bg: #111111;
    --page-bg: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --dark-text: #333333; /* For elements on light background */
    --light-text: #ffffff; /* For elements on dark background */
    --header-offset: 122px; /* Default, should be set by shared.css */
}

.page-gdpr {
    background-color: var(--page-bg);
    color: var(--text-main); /* Light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure space above footer */
}

/* Ensure padding-top is handled by body in shared.css,
   this section should only add a small visual top padding */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px; /* Default padding */
    padding-top: 10px; /* Small top padding for visual spacing, not for header offset */
    box-sizing: border-box;
    overflow: hidden; /* For images */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
    width: 100%;
    max-width: 900px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1; /* Ensure content is above any potential background effects */
}

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

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

.page-gdpr__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--bottom {
    margin-top: 40px;
}

.page-gdpr__section {
    padding: 40px 20px;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for content */
    box-sizing: border-box;
}

.page-gdpr__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.page-gdpr__text-block {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__text-block p {
    color: var(--text-main);
    margin-bottom: 20px;
}

.page-gdpr__text-block img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__subsection {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__subsection-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__subsection p {
    color: var(--text-main);
}

.page-gdpr__link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

/* FAQ Section Styling */
.page-gdpr__faq-section {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for question */
    color: var(--text-main);
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* For '-' effect */
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px; /* Initial padding */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-main);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to reveal content */
    padding: 15px 20px 20px 20px !important; /* Expanded padding */
}

.page-gdpr__faq-answer p {
    margin-bottom: 0; /* No bottom margin for last paragraph in answer */
}

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

    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Ensure small top padding on mobile */
    }

    .page-gdpr__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        text-align: center;
    }

    .page-gdpr__intro-text {
        font-size: 1rem;
        text-align: center;
    }

    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__section {
        padding: 30px 0; /* Adjust section padding */
    }

    .page-gdpr__container {
        padding: 0 15px; /* Ensure inner padding for mobile */
    }

    .page-gdpr__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-gdpr__text-block,
    .page-gdpr__subsection,
    .page-gdpr__faq-item {
        padding: 20px;
        margin-bottom: 15px;
    }

    .page-gdpr__subsection-title {
        font-size: clamp(1.3rem, 5vw, 1.6rem);
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__text-block,
    .page-gdpr__subsection,
    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Specific mobile button container padding for safety */
    .page-gdpr__hero-content,
    .page-gdpr__trust-and-security .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure all links and buttons have proper text color on hover/active */
.page-gdpr a:hover {
    color: var(--secondary-color);
}

.page-gdpr__cta-button:hover {
    color: var(--light-text); /* Ensure button text stays light on hover */
}

/* Color contrast check for specific elements on dark background */
.page-gdpr h1, .page-gdpr h2, .page-gdpr h3 {
    color: var(--primary-color); /* Primary or secondary for titles */
}
.page-gdpr p, .page-gdpr li {
    color: var(--text-main); /* Main text color */
}
.page-gdpr__faq-question {
    color: var(--text-main);
}
.page-gdpr__faq-toggle {
    color: var(--primary-color);
}

/* Ensure no filter on images */
.page-gdpr img {
    filter: none;
}