/* style/gdpr.css */

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

/* Base styles for the page content, considering body background is dark */
.page-gdpr {
    background-color: var(--color-background); /* #08160F */
    color: var(--color-text-main); /* #F2FFF6 */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

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

.page-gdpr__container--centered {
    text-align: center;
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--color-background);
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay to make text readable */
    display: block;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(8, 22, 15, 0.7); /* Semi-transparent background for text readability */
    border-radius: 10px;
    margin-top: 60px; /* Push content down from image top */
}

.page-gdpr__main-title {
    color: var(--color-gold); /* Gold for main title */
    font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Subtle glow */
}

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

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--color-glow);
    border: 2px solid var(--color-glow);
}

.page-gdpr__btn-secondary:hover {
    background-color: rgba(87, 227, 141, 0.1);
    transform: translateY(-3px);
}

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

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

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

.page-gdpr__subtitle {
    color: var(--color-primary);
    font-size: 1.8em;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-gdpr__text-block {
    color: var(--color-text-main);
    margin-bottom: 20px;
    font-size: 1.05em;
}

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

.page-gdpr__list-item {
    position: relative;
    color: var(--color-text-main);
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-gdpr__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--color-glow);
    font-size: 1.2em;
    line-height: 1;
}

.page-gdpr__list-item strong {
    color: var(--color-glow);
}

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

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

.page-gdpr__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-gdpr__card {
    background-color: var(--color-card-bg); /* #11271B */
    border: 1px solid var(--color-border); /* #2E7A4E */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--color-text-main);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--color-glow);
}

.page-gdpr__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it behaves as a block element */
}

.page-gdpr__card-title {
    color: var(--color-primary);
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-gdpr__card-text {
    color: var(--color-text-secondary); /* #A7D9B8 */
    font-size: 0.95em;
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    display: block; /* Ensure it behaves as a block element */
}

.page-gdpr__rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-gdpr__card--right {
    background-color: var(--color-deep-green); /* #0A4B2C */
    border: 1px solid var(--color-border);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__card--right .page-gdpr__card-title {
    color: var(--color-glow); /* Lighter green for titles in these cards */
}

.page-gdpr__card--right .page-gdpr__card-text {
    color: var(--color-text-secondary);
}

.page-gdpr__text-block--contact {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
}

.page-gdpr__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

.page-gdpr__feature-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-gdpr__feature-item:hover {
    transform: translateY(-5px);
}

.page-gdpr__feature-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-gdpr__text-block--security-commitment {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: var(--color-text-secondary);
}

.page-gdpr__contact-list {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
    text-align: center;
}

.page-gdpr__contact-item {
    color: var(--color-text-main);
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-gdpr__contact-item strong {
    color: var(--color-glow);
}

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

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

.page-gdpr__faq-item[open] {
    background-color: var(--color-deep-green);
    border-color: var(--color-primary);
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    background-color: var(--color-deep-green);
}

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

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

.page-gdpr__faq-question::marker {
    display: none;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--color-text-main); /* Ensure question text is visible */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-qtext {
    color: var(--color-glow);
}

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

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

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

.page-gdpr__cta-final {
    background-color: var(--color-deep-green);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--color-divider);
}

.page-gdpr__cta-title {
    color: var(--color-gold);
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-gdpr__cta-text {
    color: var(--color-text-main);
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding: 30px 15px;
    }
    .page-gdpr__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }
}