/* style/gdpr.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-color-dark: #08160F;
    --bg-color-card: #11271B;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --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%);
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Default text color for dark background */
    background-color: var(--bg-color-dark);
    line-height: 1.6;
}

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

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

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--bg-color-dark);
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-gdpr__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 20px 60px;
    max-width: 900px;
}

.page-gdpr__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.page-gdpr__intro-text {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    max-width: 800px;
    margin: 0 auto;
}

/* General Text Styles */
.page-gdpr__paragraph {
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-gdpr__paragraph a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-gdpr__dark-bg {
    background-color: var(--bg-color-dark);
    color: var(--text-main-color);
}

.page-gdpr__light-bg {
    background-color: var(--bg-color-card);
    color: var(--text-main-color);
}

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

.page-gdpr__principle-card {
    background-color: var(--bg-color-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

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

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

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

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

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

.page-gdpr__rights-description {
    font-size: 0.95em;
    color: var(--text-secondary-color);
}

/* Security Features */
.page-gdpr__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__security-item {
    text-align: center;
    background-color: var(--bg-color-dark);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__security-icon {
    width: 100%;
    height: auto;
    max-width: 150px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

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

.page-gdpr__security-description {
    font-size: 0.9em;
    color: var(--text-secondary-color);
}

/* CTA Wrapper */
.page-gdpr__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

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

.page-gdpr__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

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

.page-gdpr__faq-item {
    background-color: var(--bg-color-card);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    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: bold;
    color: var(--primary-color);
    font-size: 1.2em;
    outline: none;
}

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

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-gdpr__intro-text {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__hero-content {
        padding: 30px 15px 40px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-gdpr__intro-text {
        font-size: 0.95em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__principles-grid, .page-gdpr__security-features {
        grid-template-columns: 1fr;
    }
    .page-gdpr__principle-card, .page-gdpr__rights-item, .page-gdpr__security-item, .page-gdpr__faq-item {
        padding: 20px;
    }
    .page-gdpr__principle-title, .page-gdpr__rights-title, .page-gdpr__security-title {
        font-size: 1.3em;
    }
    .page-gdpr__security-icon {
        max-width: 100px;
    }
    .page-gdpr__faq-item summary {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-gdpr__faq-answer {
        padding: 0 15px 15px;
    }
    .page-gdpr__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
    }

    /* Mobile specific image and container rules */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__hero-image-wrapper, .page-gdpr__container, .page-gdpr__principles-grid, .page-gdpr__rights-list, .page-gdpr__security-features, .page-gdpr__faq-list, .page-gdpr__cta-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-gdpr__section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-gdpr__cta-button, .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__cta-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }
}