/* style/gdpr.css */

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

.page-gdpr {
    background-color: var(--gdpr-background);
    color: var(--gdpr-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    text-align: center;
    overflow: hidden;
}

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

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

.page-gdpr__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: 40px; /* Space between image and content */
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: bold;
    color: var(--gdpr-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    color: var(--gdpr-text-secondary);
    margin-bottom: 30px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background: var(--gdpr-btn-gradient);
    color: var(--gdpr-text-main);
    border: none;
}

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

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

.page-gdpr__btn-secondary:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__section {
    padding: 60px 20px;
    margin-bottom: 0; /* Sections handle their own padding */
}

.page-gdpr__overview-section {
    background-color: var(--gdpr-background);
}

.page-gdpr__rights-section {
    background-color: var(--gdpr-card-bg);
}

.page-gdpr__security-section {
    background-color: var(--gdpr-background);
}

.page-gdpr__contact-section {
    background-color: var(--gdpr-card-bg);
}

.page-gdpr__faq-section {
    background-color: var(--gdpr-background);
}

.page-gdpr__cta-final-section {
    background-color: var(--gdpr-card-bg);
    text-align: center;
}

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

.page-gdpr__container--flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.page-gdpr__text-block {
    font-size: 1.1em;
    color: var(--gdpr-text-secondary);
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__card {
    background-color: var(--gdpr-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--gdpr-border-color);
    height: 100%; /* Ensure cards in a row have same height */
    display: flex;
    flex-direction: column;
    color: var(--gdpr-text-secondary);
}

.page-gdpr__card-title {
    font-size: 1.5em;
    color: var(--gdpr-text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card-text {
    font-size: 1em;
    line-height: 1.7;
    flex-grow: 1;
}

.page-gdpr__list {
    list-style: disc;
    padding-left: 20px;
    color: var(--gdpr-text-secondary);
    margin-top: 15px;
}

.page-gdpr__list li {
    margin-bottom: 10px;
}

.page-gdpr__grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-gdpr__card--transparent {
    background-color: transparent;
    border: 1px solid var(--gdpr-border-color);
    box-shadow: none;
}

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

.page-gdpr__feature-card {
    background-color: var(--gdpr-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--gdpr-border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-gdpr__feature-title {
    font-size: 1.4em;
    color: var(--gdpr-text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__feature-text {
    font-size: 1em;
    color: var(--gdpr-text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

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

.page-gdpr__contact-card {
    background-color: var(--gdpr-card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--gdpr-border-color);
    text-align: center;
}

.page-gdpr__link {
    color: var(--gdpr-text-main);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: var(--gdpr-secondary-color);
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.page-gdpr__image--centered {
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__image--margin-top {
    margin-top: 40px;
}

.page-gdpr__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

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

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

.page-gdpr__faq-item[open] summary {
    border-bottom: 1px solid var(--gdpr-divider-color);
}

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

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

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

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

/* Text Colors */
.page-gdpr__text-main {
    color: var(--gdpr-text-main);
}

.page-gdpr__text-secondary {
    color: var(--gdpr-text-secondary);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
}

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

    .page-gdpr__hero-section {
        padding: 10px 15px 40px;
    }

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

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

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

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-gdpr__container {
        padding: 0;
    }

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

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

    .page-gdpr__card-grid,
    .page-gdpr__grid-3-cols,
    .page-gdpr__feature-grid,
    .page-gdpr__contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__card,
    .page-gdpr__card--transparent,
    .page-gdpr__feature-card,
    .page-gdpr__contact-card {
        padding: 20px;
    }

    .page-gdpr__card-title,
    .page-gdpr__feature-title {
        font-size: 1.3em;
    }

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

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

    /* Mobile image adaptation */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__hero-content,
    .page-gdpr__cta-buttons,
    .page-gdpr__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Add side padding to content containers to prevent edge-to-edge content */
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    /* Remove explicit padding for elements that should stretch full width but have content padding */
    .page-gdpr__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-gdpr__overview-section .page-gdpr__container,
    .page-gdpr__rights-section .page-gdpr__container,
    .page-gdpr__security-section .page-gdpr__container,
    .page-gdpr__contact-section .page-gdpr__container,
    .page-gdpr__faq-section .page-gdpr__container,
    .page-gdpr__cta-final-section .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__video-section {
        padding-top: 10px !important;
    }

    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: clamp(1.6em, 8vw, 2em);
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        font-size: 0.9em;
        padding: 10px 15px;
    }
}