/* style/gdpr.css */

/* Variables for colors */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --background-color: #0A0A0A;
    --card-bg-color: #111111;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --header-offset: 122px; /* Placeholder, actual value from shared.css */
}

/* Base styles for the page-gdpr scope */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Default text color for dark background */
    background-color: var(--background-color); /* Main page background */
    line-height: 1.6;
    font-size: 16px;
}

/* Ensure all images are responsive by default */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure images fill their space nicely */
}

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

/* Section styling */
.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-gdpr__section:last-of-type {
    border-bottom: none;
}

.page-gdpr__section-title {
    font-size: 32px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    /* body already handles padding-top from header, so only small decorative top padding here */
    padding-top: 10px;
    background-color: var(--card-bg-color); /* A slightly different dark background for hero */
    overflow: hidden; /* Ensure no image overflow */
}

.page-gdpr__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure flex item takes full width */
}

.page-gdpr__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px; /* Match container border-radius */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px; /* Constrain content width for readability */
}

.page-gdpr__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive font size for H1 */
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Soft glow for title */
}

.page-gdpr__intro-text {
    font-size: 18px;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
}

.page-gdpr__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__cta-button--small {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 15px;
}

/* Paragraphs and lists */
.page-gdpr p {
    margin-bottom: 15px;
    color: var(--text-main-color); /* Ensure text is visible on dark background */
}

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

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

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

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

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

/* Contact List */
.page-gdpr__contact-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-gdpr__contact-list li {
    margin-bottom: 10px;
    color: var(--text-main-color);
}

.page-gdpr__contact-list li strong {
    color: var(--primary-color);
}

/* Image within content */
.page-gdpr__section img {
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

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

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

details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--primary-color);
    font-weight: bold;
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
    display: none;
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
    background: #1A1A1A; /* Slightly lighter dark for hover */
}

.page-gdpr__faq-qtext {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}

.page-gdpr__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
    transition: transform 0.3s ease;
}

details.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 20px 20px;
    background: #0E0E0E; /* Slightly different dark for answer background */
    border-radius: 0 0 8px 8px;
    color: var(--text-main-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 15px;
        line-height: 1.5;
    }

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

    .page-gdpr__hero-image {
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .page-gdpr__hero-image img {
        border-radius: 8px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-gdpr__main-title {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 15px;
    }

    .page-gdpr__intro-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        margin-top: 15px;
        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: 40px 0;
    }

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

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

    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    /* Ensure content image containers are also responsive */
    .page-gdpr__section,
    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    details.page-gdpr__faq-item summary.page-gdpr__faq-question {
        padding: 15px;
    }

    .page-gdpr__faq-qtext {
        font-size: 16px;
    }

    .page-gdpr__faq-toggle {
        font-size: 20px;
        width: 24px;
        margin-left: 10px;
    }

    details.page-gdpr__faq-item .page-gdpr__faq-answer {
        padding: 0 15px 15px;
    }
}