/* style/gdpr.css */

/* Base Styles */
.page-gdpr {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    scroll-behavior: smooth;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Stacks image above content */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden; /* Ensure no overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and text */
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    width: 100%; /* Ensure content block takes full width up to max-width */
    z-index: 1;
}

.page-gdpr__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive H1 font size */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 5px rgba(87, 227, 141, 0.3);
}

.page-gdpr__description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Sections */
.page-gdpr__intro-section,
.page-gdpr__data-processing-section,
.page-gdpr__cookie-section,
.page-gdpr__faq-section {
    background-color: #08160F; /* Background color */
    color: #F2FFF6; /* Text Main */
    padding: 60px 20px;
}

.page-gdpr__data-rights-section,
.page-gdpr__security-section,
.page-gdpr__contact-section {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    padding: 60px 20px;
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(87, 227, 141, 0.2);
}

.page-gdpr__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-gdpr__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__text-block {
    flex: 1;
    min-width: 300px;
}

.page-gdpr__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr p {
    margin-bottom: 1em;
    font-size: 1.05em;
    color: #A7D9B8; /* Text Secondary */
}

.page-gdpr strong {
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1.5em;
    color: #A7D9B8; /* Text Secondary */
}

.page-gdpr__list li {
    margin-bottom: 0.5em;
    font-size: 1.05em;
}

.page-gdpr__list li strong {
    color: #F2FFF6; /* Text Main */
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Glow */
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Glow */
    border: 2px solid #2E7A4E; /* Border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-secondary:hover {
    background-color: #2E7A4E; /* Deep Green */
    color: #F2FFF6; /* Text Main */
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

/* Links within text */
.page-gdpr a {
    color: #57E38D; /* Glow */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr a:hover {
    color: #2AD16F;
    text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-gdpr__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2E7A4E; /* Border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-item summary {
    display: block; /* For details tag */
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    position: relative;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

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

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

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Glow */
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotates the plus sign to an 'x' or diamond */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.7;
}

.page-gdpr__faq-answer p {
    margin-bottom: 0; /* Remove extra margin for paragraphs inside FAQ answer */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__content-grid {
        flex-direction: column;
        text-align: center;
    }

    .page-gdpr__content-grid--reverse {
        flex-direction: column; /* Keep consistent for tablet */
    }

    .page-gdpr__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-gdpr__hero-image {
        max-height: 500px;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

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

    .page-gdpr__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;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__container,
    .page-gdpr__intro-section,
    .page-gdpr__data-processing-section,
    .page-gdpr__cookie-section,
    .page-gdpr__faq-section,
    .page-gdpr__data-rights-section,
    .page-gdpr__security-section,
    .page-gdpr__contact-section {
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-gdpr__text-block,
    .page-gdpr__image-block {
        min-width: unset; /* Remove min-width for mobile */
        width: 100%;
    }

    .page-gdpr p,
    .page-gdpr__list li {
        font-size: 0.95em;
    }

    .page-gdpr__list {
        margin-left: 15px;
    }

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

    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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