/* style/gdpr.css */

/* Root variables for colors */
:root {
    --primary-color: #F2C14E; /* Main color: Black Gold */
    --secondary-color: #FFD36B; /* Auxiliary color */
    --background-color: #0A0A0A; /* Body background */
    --card-background: #111111; /* Card Background */
    --text-main-color: #FFF6D6; /* Main Text Color */
    --border-color: #3A2A12; /* Border Color */
    --glow-color: #FFD36B; /* Glow Color */
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Gradient */
}

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Light text for dark background */
    background-color: var(--background-color); /* Dark background */
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for non-hero first section, if hero is not full bleed, or if no hero */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack image and content vertically */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px 40px; /* Adjust padding as needed, but no large top padding */
    box-sizing: border-box;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure image wrapper takes full width */
    overflow: hidden;
    position: relative;
    margin-bottom: 30px; /* Space between image and text */
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure text is above any subtle background elements */
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: bold;
    color: var(--secondary-color); /* Use a bright color for H1 */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.4); /* Subtle glow */
}

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

/* CTA Button - Primary */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: var(--button-gradient);
    color: #ffffff; /* White text for button */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
    border: none;
    cursor: pointer;
}

.page-gdpr__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
    opacity: 0.9;
}

/* CTA Button - Secondary (for Learn More type actions) */
.page-gdpr__cta-button--secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
    margin-left: 20px;
}

.page-gdpr__cta-button--secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    box-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
    transform: translateY(-3px);
}

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

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

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

.page-gdpr__section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-gdpr__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-main-color);
    text-align: justify;
}

/* Feature Grid for "Why GDPR is Crucial" */
.page-gdpr__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__feature-card {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
}

.page-gdpr__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(242, 193, 78, 0.2);
}

.page-gdpr__feature-icon {
    width: 100%; /* Ensure images are responsive within cards */
    height: auto;
    max-width: 400px; /* Max width for feature images */
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
}

.page-gdpr__card-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card-text {
    font-size: 1rem;
    color: var(--text-main-color);
}

/* GDPR Principles List */
.page-gdpr__principles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__principle-item {
    background-color: var(--card-background);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-main-color);
}

.page-gdpr__principle-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__principle-description {
    font-size: 1rem;
    color: var(--text-main-color);
}

/* Player Rights List */
.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gdpr__rights-list .page-gdpr__list-item {
    background-color: var(--card-background);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
    color: var(--text-main-color);
}

.page-gdpr__rights-list .page-gdpr__list-item strong {
    color: var(--primary-color);
}

/* Implementation Grid */
.page-gdpr__implementation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__implementation-item {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-main-color);
    transition: background-color 0.3s ease;
}

.page-gdpr__implementation-item:hover {
    background-color: rgba(242, 193, 78, 0.05); /* Subtle hover effect */
}

.page-gdpr__item-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__item-description {
    font-size: 1rem;
    color: var(--text-main-color);
}

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

.page-gdpr__faq-item {
    background-color: var(--card-background);
    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);
    color: var(--text-main-color);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Plus to X/minus for active state */
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1rem;
    color: var(--text-main-color);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px; /* Adjust padding for expanded state */
}

.page-gdpr__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
}


/* CTA Section at the bottom */
.page-gdpr__cta-section {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, rgba(242, 193, 78, 0.1), rgba(255, 211, 107, 0.1));
}

.page-gdpr__cta-content {
    max-width: 900px;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-gdpr__section-title {
        font-size: 2rem;
    }
    .page-gdpr__intro-text {
        font-size: 1.1rem;
    }
}

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

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

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-top: 20px; /* Ensure H1 has some space from the top on mobile if image is above it */
    }

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

    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

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

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

    .page-gdpr__text-block {
        font-size: 1rem;
    }

    .page-gdpr__feature-grid,
    .page-gdpr__principles-list,
    .page-gdpr__implementation-grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 20px;
    }

    .page-gdpr__feature-card,
    .page-gdpr__principle-item,
    .page-gdpr__implementation-item {
        padding: 20px;
    }

    .page-gdpr__card-title,
    .page-gdpr__principle-title,
    .page-gdpr__item-title {
        font-size: 1.3rem;
    }

    .page-gdpr__rights-list .page-gdpr__list-item {
        padding: 15px;
        font-size: 1rem;
    }

    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    .page-gdpr__faq-question h3 {
        font-size: 1.1rem;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 10px 20px 20px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }
    .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-button--secondary {
        margin-left: 0; /* Remove margin-left on mobile for stacked buttons */
    }

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

    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}