/* style/gdpr.css */

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

/* Base styles for .page-gdpr - assuming a dark background from shared.css */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--background);
    padding-bottom: 50px;
}

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

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding as body handles header offset */
    margin-bottom: 40px;
    overflow: hidden;
}

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

.page-gdpr__hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.page-gdpr__main-title {
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.4); /* Glow effect */
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 14px 28px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-gdpr__secondary-button {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-main);
}

.page-gdpr__secondary-button:hover {
    background: var(--deep-green);
    border-color: var(--glow);
}

.page-gdpr__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3); /* Subtle glow */
}

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

.page-gdpr__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

.page-gdpr__dark-section {
    background-color: var(--card-bg);
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 10px;
}

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

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

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-gdpr__card-title {
    font-size: 1.4em;
    color: var(--glow);
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-gdpr__rights-list,
.page-gdpr__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-gdpr__list-item {
    background-color: var(--background);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease;
}

.page-gdpr__list-item:hover {
    background-color: var(--deep-green);
}

.page-gdpr__list-title {
    font-size: 1.25em;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-gdpr__contact-info {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

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

.page-gdpr__contact-item a {
    color: var(--glow);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--text-main);
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider);
    transition: background-color 0.2s ease;
    list-style: none;
}

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

.page-gdpr__faq-question:hover {
    background-color: var(--border);
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    border-bottom: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__principles-grid,
    .page-gdpr__implementation-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
}

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

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

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-gdpr__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-gdpr__cta-button {
        padding: 12px 20px;
        font-size: 0.95em;
        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__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
        padding-top: 30px;
    }

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

    .page-gdpr__image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 20px auto;
    }
    
    .page-gdpr__hero-section,
    .page-gdpr__intro-section,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__implementation-section,
    .page-gdpr__security-measures,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-gdpr__principles-grid,
    .page-gdpr__implementation-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__card-title {
        font-size: 1.2em;
    }

    .page-gdpr__list-item {
        padding: 15px;
        margin-bottom: 10px;
    }

    .page-gdpr__list-title {
        font-size: 1.1em;
    }

    .page-gdpr__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-gdpr__faq-answer {
        padding: 15px;
    }
}