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

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

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

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
}

.page-gdpr__main-title {
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

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

.page-gdpr__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-gdpr__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Slightly reverse gradient on hover */
}

.page-gdpr__cta-button--large {
    padding: 15px 40px;
    font-size: 1.1em;
}

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

.page-gdpr__section:nth-child(even) {
    background-color: var(--card-bg);
}

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

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

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

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

.page-gdpr__list-item {
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-gdpr__list-item::before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
}

.page-gdpr__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
}

.page-gdpr__commitment-section .page-gdpr__container,
.page-gdpr__data-usage-section .page-gdpr__container,
.page-gdpr__security-section .page-gdpr__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-gdpr__commitment-section .page-gdpr__image,
.page-gdpr__data-usage-section .page-gdpr__image,
.page-gdpr__security-section .page-gdpr__image {
    float: none;
    margin: 20px auto;
}

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

.page-gdpr__faq-list {
    margin-top: 30px;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-main);
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
    list-style: none; /* For details/summary */
}

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

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
    padding: 20px;
    color: var(--text-secondary);
}

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

/* Ensure contrast for links within dark sections */
.page-gdpr__dark-bg a {
    color: var(--gold-color);
}

/* Clear floats */
.page-gdpr__container::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-gdpr__commitment-section .page-gdpr__container,
    .page-gdpr__data-usage-section .page-gdpr__container,
    .page-gdpr__security-section .page-gdpr__container {
        grid-template-columns: 1fr 1fr;
    }
    .page-gdpr__commitment-section .page-gdpr__image,
    .page-gdpr__data-usage-section .page-gdpr__image,
    .page-gdpr__security-section .page-gdpr__image {
        margin: 0;
    }
    .page-gdpr__data-collection-section .page-gdpr__list,
    .page-gdpr__rights-section .page-gdpr__list {
        column-count: 2;
        column-gap: 30px;
    }
    .page-gdpr__main-title {
        font-size: clamp(2em, 3.5vw, 3.5em);
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-content {
        padding: 15px;
    }
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__intro-text {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-gdpr__cta-button--large {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        float: none;
        margin: 20px auto !important;
    }
    .page-gdpr__commitment-section .page-gdpr__container,
    .page-gdpr__data-usage-section .page-gdpr__container,
    .page-gdpr__security-section .page-gdpr__container {
        grid-template-columns: 1fr;
    }
    .page-gdpr__faq-question {
        padding: 15px;
    }
    .page-gdpr__faq-answer {
        padding: 15px;
    }
    .page-gdpr__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important;
    }
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }
    .page-gdpr__cta-buttons {
      display: flex;
      flex-direction: column;
    }
}