/* style/gdpr.css */

/* Custom colors - these should ideally come from shared.css variables, but for self-containment, define here */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --bg-color: #08160F; /* Assuming body background is dark */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* General styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color, will be #F2FFF6 on dark background */
    background-color: var(--bg-color); /* #08160F */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, not --header-offset */
    padding-bottom: 40px;
    overflow: hidden;
    color: var(--text-main); /* Light text on dark background */
    background-color: var(--bg-color); /* #08160F */
}

.page-gdpr__hero-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    gap: 30px;
    padding: 0 20px;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-text-block {
    text-align: center;
    max-width: 800px;
}

.page-gdpr__main-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main); /* #F2FFF6 */
    line-height: 1.2;
}

.page-gdpr__description {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-secondary); /* #A7D9B8 */
}

/* CTA Buttons in Hero */
.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%; /* Ensure container takes full width for mobile adaptation */
    max-width: 600px; /* Limit width on desktop */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%; /* Ensure button itself adapts */
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--text-main); /* #F2FFF6 */
    border: 2px solid var(--border-color); /* #2E7A4E */
}

.page-gdpr__btn-secondary:hover {
    background: rgba(46, 122, 78, 0.2); /* #2E7A4E with opacity */
    transform: translateY(-2px);
}

/* Content Section */
.page-gdpr__content-section {
    padding: 60px 0;
    background-color: #f8f8f8; /* Light background for main content */
    color: #333333; /* Dark text on light background for readability */
}

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

.page-gdpr__section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color); /* #11A84E */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: left;
}

.page-gdpr__content-section p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333333;
}

.page-gdpr__content-section strong {
    color: var(--primary-color);
}

.page-gdpr__grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-gdpr__card {
    background-color: #ffffff; /* White card background */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Dark text on card */
    max-width: 100%; /* Ensure cards adapt */
    box-sizing: border-box;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.page-gdpr__card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color); /* #11A84E */
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-gdpr__card p {
    font-size: 15px;
    color: #555555;
    margin-bottom: 0;
}

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

.page-gdpr__list-item {
    font-size: 16px;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #333333;
}

.page-gdpr__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--secondary-color); /* #22C768 */
    font-size: 18px;
    line-height: 1;
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-gdpr__faq-section {
    margin-top: 40px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  border: 1px solid var(--border-color); /* #2E7A4E */
  overflow: hidden;
  background: var(--card-bg); /* #11271B */
  color: var(--text-main); /* #F2FFF6 */
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: rgba(46, 122, 78, 0.2); /* Hover effect with border color */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main); /* #F2FFF6 */
}
.page-gdpr__faq-toggle {
  font-size: 28px; /* Larger toggle */
  font-weight: bold;
  color: var(--gold-color); /* #F2C14E */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px; /* Larger area for toggle */
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: var(--deep-green); /* #0A4B2C */
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary); /* #A7D9B8 */
}
details.page-gdpr__faq-item .page-gdpr__faq-answer p {
    color: var(--text-secondary); /* Ensure paragraph text is secondary */
    margin-bottom: 0;
    font-size: 16px;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer a {
    color: var(--gold-color); /* Link color in FAQ answer */
    text-decoration: underline;
}

/* Global image styles for content area */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 38px;
    }
    .page-gdpr__description {
        font-size: 17px;
    }
    .page-gdpr__section-title {
        font-size: 28px;
    }
    .page-gdpr__grid-3-col {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__card-title {
        font-size: 18px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        padding: 12px 24px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Small top padding, not --header-offset */
        padding-bottom: 30px;
    }
    .page-gdpr__hero-content-wrapper {
        gap: 20px;
        padding: 0 15px;
    }
    .page-gdpr__main-title {
        font-size: 30px;
        margin-bottom: 15px;
    }
    .page-gdpr__description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 16px;
    }

    /* Content Section */
    .page-gdpr__content-section {
        padding: 40px 0;
    }
    .page-gdpr__container {
        padding: 0 15px;
        max-width: 100% !important; /* Ensure container adapts */
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__section-title {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-gdpr__content-section p,
    .page-gdpr__list-item,
    .page-gdpr__card p {
        font-size: 15px;
    }
    .page-gdpr__grid-3-col {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 15px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__card-title {
        font-size: 18px;
    }

    /* Images */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }

    /* FAQ Section */
    details.page-gdpr__faq-item {
        margin-bottom: 10px;
    }
    details.page-gdpr__faq-item summary.page-gdpr__faq-question {
        padding: 15px;
    }
    .page-gdpr__faq-qtext {
        font-size: 16px;
    }
    .page-gdpr__faq-toggle {
        font-size: 24px;
        width: 28px;
    }
    details.page-gdpr__faq-item .page-gdpr__faq-answer {
        padding: 0 15px 15px;
    }
    details.page-gdpr__faq-item .page-gdpr__faq-answer p {
        font-size: 15px;
    }
}