/* style/gdpr.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --card-bg-color: #11271B;
    --background-color-page: #08160F;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the GDPR page */
.page-gdpr {
    background-color: var(--background-color-page);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    text-align: center;
    background-color: var(--card-bg-color);
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    color: var(--text-main-color);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-gdpr__hero-description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    color: var(--text-secondary-color);
    margin-bottom: 30px;
}

/* Section Titles */
.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 30px;
    margin-top: 50px;
    font-weight: 600;
}

/* Dark Section */
.page-gdpr__dark-section {
    background-color: var(--card-bg-color);
    padding: 60px 0;
}

.page-gdpr__dark-section p,
.page-gdpr__dark-section li {
    color: var(--text-secondary-color);
}

/* Content Area */
.page-gdpr__introduction-section, 
.page-gdpr__data-collection-section, 
.page-gdpr__user-rights-section, 
.page-gdpr__data-retention-section, 
.page-gdpr__faq-section {
    padding: 60px 0;
}

.page-gdpr__data-list, 
.page-gdpr__purpose-list, 
.page-gdpr__rights-list, 
.page-gdpr__steps-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-gdpr__steps-list {
    list-style-type: decimal;
}

.page-gdpr__data-list li,
.page-gdpr__purpose-list li,
.page-gdpr__rights-list li,
.page-gdpr__steps-list li {
    margin-bottom: 10px;
    color: var(--text-secondary-color);
}

.page-gdpr__data-list strong,
.page-gdpr__purpose-list strong,
.page-gdpr__rights-list strong,
.page-gdpr__steps-list strong {
    color: var(--text-main-color);
}

.page-gdpr p {
    margin-bottom: 20px;
    color: var(--text-secondary-color);
    font-size: 1.05em;
}

.page-gdpr a {
    color: var(--glow-color);
    text-decoration: underline;
}

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

/* Buttons */
.page-gdpr__btn-primary {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-centered {
    display: block;
    margin: 30px auto;
    max-width: fit-content;
}

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

.page-gdpr__protection-item {
    background-color: var(--background-color-page);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__protection-icon {
    width: 100%; /* Ensure image fills card */
    height: auto;
    max-width: 400px; /* Example max width */
    max-height: 300px; /* Example max height */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-gdpr__protection-title {
    font-size: 1.3em;
    color: var(--text-main-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__protection-item p {
    color: var(--text-secondary-color);
    font-size: 0.95em;
}

/* Contact Info */
.page-gdpr__contact-info {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 10px;
}

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

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

.page-gdpr__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--text-main-color);
    position: relative;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--text-main-color);
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: '−';
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: var(--text-secondary-color);
}

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

/* 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;
    }

    .page-gdpr__main-title {
        font-size: 2em;
    }

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

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

    .page-gdpr__introduction-section,
    .page-gdpr__data-collection-section,
    .page-gdpr__user-rights-section,
    .page-gdpr__data-retention-section,
    .page-gdpr__faq-section,
    .page-gdpr__dark-section {
        padding: 40px 0;
    }

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

    /* Mobile responsive images */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__protection-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }

    /* Mobile responsive buttons */
    .page-gdpr__btn-primary {
        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__btn-centered {
        margin-left: 0;
        margin-right: 0;
    }

    .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;
    }

    .page-gdpr__faq-item summary {
        font-size: 1em;
        padding: 15px;
    }

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