/* style/gdpr.css */

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

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

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

.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;
    text-align: center;
    background-color: var(--page-gdpr-background);
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
    max-width: 800px;
    padding: 0 20px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* H1 font size with clamp */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-gdpr-glow);
    letter-spacing: -0.5px;
}

.page-gdpr__description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Ensure padding/border included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-button-gradient);
    color: #ffffff; /* White text for gradient button */
    border: none;
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__dark-section {
    background-color: var(--page-gdpr-card-bg); /* Use card background for dark sections */
    color: var(--page-gdpr-text-main);
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--page-gdpr-glow);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-gdpr__text-block {
    font-size: 1rem;
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__card {
    background-color: var(--page-gdpr-card-bg); /* Dark background for cards */
    border: 1px solid var(--page-gdpr-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--page-gdpr-text-main); /* Light text for dark cards */
}

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

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

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

.page-gdpr__list,
.page-gdpr__ordered-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 20px auto;
    max-width: 900px;
}

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

.page-gdpr__list-item strong {
    color: var(--page-gdpr-text-main);
}

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

.page-gdpr__ordered-list .page-gdpr__list-item::before {
    content: counter(list-item) '.';
    counter-increment: list-item;
    color: var(--page-gdpr-glow);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1em;
    line-height: 1;
}

.page-gdpr__image-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 30px 0;
    overflow: hidden;
    box-sizing: border-box;
}

.page-gdpr__image-wrapper--inline {
    max-width: 800px; /* Constrain inline images */
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--page-gdpr-border);
}

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

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

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--page-gdpr-glow);
    cursor: pointer;
    background-color: var(--page-gdpr-deep-green);
    border-bottom: 1px solid var(--page-gdpr-divider);
}

/* Remove default details marker */
.page-gdpr__faq-item summary {
    list-style: none;
}
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate + to become X or - */
}

.page-gdpr__faq-answer {
    padding: 20px 25px;
    font-size: 0.95rem;
    color: var(--page-gdpr-text-secondary);
    border-top: 1px solid var(--page-gdpr-divider);
}

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

.page-gdpr__faq-answer a {
    color: var(--page-gdpr-gold); /* Link color in FAQ */
    text-decoration: underline;
}

.page-gdpr__faq-answer a:hover {
    color: var(--page-gdpr-glow);
}

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

.page-gdpr__cta-content {
    max-width: 900px;
    margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding: 0 30px;
    }
    .page-gdpr__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }
    .page-gdpr__main-title {
        font-size: 2rem;
    }
    .page-gdpr__description {
        font-size: 1rem;
    }
    .page-gdpr__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-gdpr__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__card-text,
    .page-gdpr__faq-answer {
        font-size: 0.9rem;
    }
    .page-gdpr__card-title {
        font-size: 1.2rem;
    }
    .page-gdpr__card-grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__section {
        padding: 40px 0;
    }

    /* Ensure content inside container has padding */
    .page-gdpr__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Ensure sections are full width and their content is contained by the internal container */
    .page-gdpr__section,
    .page-gdpr__hero-section,
    .page-gdpr__cta-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

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

    /* Video elements (if any) */
    .page-gdpr video,
    .page-gdpr__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-gdpr__video-section {
      padding-top: 10px !important;
    }
    .page-gdpr__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }

    /* Button responsiveness */
    .page-gdpr__cta-button,
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !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; /* Mobile buttons stack vertically */
    }

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