/* style/gdpr.css */

/* Custom Colors */
:root {
    --page-gdpr-bg: #08160F;
    --page-gdpr-card-bg: #11271B;
    --page-gdpr-text-main: #F2FFF6;
    --page-gdpr-text-secondary: #A7D9B8;
    --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --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-bg);
    color: var(--page-gdpr-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    background-color: var(--page-gdpr-deep-green); /* Use a darker green for hero section background */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__main-title {
    font-weight: bold;
    color: var(--page-gdpr-text-main);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    /* No fixed font-size, rely on viewport/responsive scaling */
}

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

/* CTA Button */
.page-gdpr__cta-button {
    display: inline-block;
    background: var(--page-gdpr-button-gradient);
    color: var(--page-gdpr-text-main); /* Light text for dark button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button adapts to mobile */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-gdpr__section {
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--page-gdpr-divider);
}

.page-gdpr__section:last-of-type {
    border-bottom: none;
}

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

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

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

/* Grid Layout for Principles and Rights */
.page-gdpr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__grid--3-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card Styling */
.page-gdpr__card {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

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

.page-gdpr__card p {
    color: var(--page-gdpr-text-secondary);
    font-size: 0.95em;
    flex-grow: 1;
}

/* Content Images */
.page-gdpr__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 60px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Contact Section Specifics */
.page-gdpr__contact-gdpr .page-gdpr__cta-button {
    margin-top: 30px;
}

.page-gdpr__contact-note {
    margin-top: 20px;
    font-size: 1em;
    color: var(--page-gdpr-text-secondary);
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-gdpr__faq-item[open] {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-gdpr-text-main);
    background-color: var(--page-gdpr-card-bg);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: var(--page-gdpr-deep-green); /* Slightly darker on hover */
}

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

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 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: 40px 15px;
        padding-top: 10px !important;
    }
    .page-gdpr__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-gdpr__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-gdpr__cta-button {
        padding: 12px 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;
        margin-left: auto;
        margin-right: auto;
        display: block; /* Ensure it takes full width */
    }
    .page-gdpr__section {
        padding: 40px 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-gdpr__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__card {
        padding: 25px;
    }
    .page-gdpr__card-title {
        font-size: 1.2em;
    }
    .page-gdpr__content-image {
        margin-top: 40px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-gdpr__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px 20px;
    }

    /* Mobile image and container specific rules */
    .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,
    .page-gdpr__hero-section,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Specific for button containers if they existed */
    .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;
    }
}

/* Ensure color contrast for all elements */
.page-gdpr h1, .page-gdpr h2, .page-gdpr h3 {
    color: var(--page-gdpr-text-main);
}
.page-gdpr p, .page-gdpr li {
    color: var(--page-gdpr-text-secondary);
}
.page-gdpr__card {
    background-color: var(--page-gdpr-card-bg);
    color: var(--page-gdpr-text-secondary);
}
.page-gdpr__card-title {
    color: var(--page-gdpr-text-main);
}
.page-gdpr__faq-question {
    color: var(--page-gdpr-text-main);
}
.page-gdpr__faq-answer {
    color: var(--page-gdpr-text-secondary);
}
.page-gdpr__cta-button {
    color: var(--page-gdpr-text-main); /* White text on green gradient button */
}