/* style/gdpr.css */

/* Root variables for colors based on custom palette */
:root {
    --page-gdpr-primary-color: #11A84E; /* Main color */
    --page-gdpr-secondary-color: #22C768; /* Auxiliary color */
    --page-gdpr-background-color: #08160F; /* Background */
    --page-gdpr-card-bg: #11271B; /* Card Background */
    --page-gdpr-text-main: #F2FFF6; /* Main text color */
    --page-gdpr-text-secondary: #A7D9B8; /* Secondary text color */
    --page-gdpr-border-color: #2E7A4E; /* Border color */
    --page-gdpr-glow-color: #57E38D; /* Glow color */
    --page-gdpr-gold-color: #F2C14E; /* Gold color */
    --page-gdpr-divider-color: #1E3A2A; /* Divider color */
    --page-gdpr-deep-green-color: #0A4B2C; /* Deep Green color */
    --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */

    /* For light sections, ensuring contrast on a light background */
    --page-gdpr-light-section-bg: #f8f9fa; /* A light background for contrast */
    --page-gdpr-light-section-text: #333333; /* Dark text for light background */
}

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

/* Ensure body padding-top is handled by shared.css, not here */

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding for first section */
    overflow: hidden;
    background-color: var(--page-gdpr-deep-green-color); /* Background for hero section */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width if needed */
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--page-gdpr-gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__lead-text {
    font-size: 1.25rem;
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-gdpr__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--page-gdpr-button-gradient);
    color: #ffffff; /* White text for button */
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Sections */
.page-gdpr__introduction-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__commitment-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
    padding: 80px 0;
    text-align: center;
}

.page-gdpr__dark-section {
    background-color: var(--page-gdpr-background-color);
    color: var(--page-gdpr-text-main);
}

.page-gdpr__light-bg {
    background-color: var(--page-gdpr-light-section-bg); /* Light background for contrast */
    color: var(--page-gdpr-light-section-text); /* Dark text for light background */
}

.page-gdpr__section-title {
    font-size: 2.5rem;
    color: var(--page-gdpr-gold-color);
    margin-bottom: 40px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.page-gdpr__light-bg .page-gdpr__section-title {
    color: var(--page-gdpr-primary-color); /* Primary color for titles on light background */
}

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

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

.page-gdpr__card {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-gdpr-text-main); /* Text for card, on dark bg */
}
.page-gdpr__light-bg .page-gdpr__card {
    background-color: #ffffff; /* White background for cards in light section */
    color: var(--page-gdpr-light-section-text); /* Dark text for cards in light section */
    border-color: #e0e0e0;
}


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

.page-gdpr__card-title {
    font-size: 1.5rem;
    color: var(--page-gdpr-gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}
.page-gdpr__light-bg .page-gdpr__card-title {
    color: var(--page-gdpr-primary-color);
}

.page-gdpr__card-text {
    font-size: 1rem;
    color: var(--page-gdpr-text-secondary);
}
.page-gdpr__light-bg .page-gdpr__card-text {
    color: var(--page-gdpr-light-section-text);
}

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

/* Rights List */
.page-gdpr__rights-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__right-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    color: var(--page-gdpr-text-main);
}

.page-gdpr__right-title {
    font-size: 1.3rem;
    color: var(--page-gdpr-gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

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

/* Contact Section */
.page-gdpr__contact-info {
    margin-top: 30px;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__contact-item {
    margin-bottom: 10px;
}

.page-gdpr__contact-link {
    color: var(--page-gdpr-secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
    color: var(--page-gdpr-glow-color);
    text-decoration: underline;
}

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

.page-gdpr__faq-item {
    background-color: #ffffff; /* White background for FAQ item */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: left;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--page-gdpr-primary-color); /* Primary color for FAQ question */
    cursor: pointer;
    list-style: none; /* Remove default marker */
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-gdpr-secondary-color);
}

.page-gdpr__faq-item[open] summary {
    background-color: #f0f0f0;
}

.page-gdpr__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--page-gdpr-light-section-text); /* Dark text for answer */
    line-height: 1.5;
}
.page-gdpr__faq-answer p {
    margin-bottom: 10px;
}
.page-gdpr__faq-answer p:last-child {
    margin-bottom: 0;
}

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

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .page-gdpr__hero-section {
        padding: 40px 0;
        padding-top: 10px;
    }
    .page-gdpr__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-gdpr__lead-text {
        font-size: 1.1rem;
    }
    .page-gdpr__section-title {
        font-size: 2rem;
    }
    .page-gdpr__card-grid,
    .page-gdpr__commitment-grid,
    .page-gdpr__rights-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__hero-section {
        padding: 30px 0;
        padding-top: 10px !important; /* Ensure small top padding */
    }
    .page-gdpr__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-gdpr__lead-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-gdpr__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__introduction-section,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__commitment-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section {
        padding: 50px 0;
    }

    .page-gdpr__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-gdpr__text-block {
        font-size: 1rem;
    }

    .page-gdpr__card-grid,
    .page-gdpr__commitment-grid,
    .page-gdpr__rights-list {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .page-gdpr__card,
    .page-gdpr__right-item {
        padding: 20px;
    }
    .page-gdpr__card-title,
    .page-gdpr__right-title {
        font-size: 1.3rem;
    }
    .page-gdpr__card-text,
    .page-gdpr__right-description {
        font-size: 0.9rem;
    }

    .page-gdpr__content-image {
        margin: 30px auto;
    }

    .page-gdpr__contact-info {
        font-size: 1rem;
    }

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

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

    /* Mobile container adaptation */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__hero-content {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }

    /* Ensure video elements and containers also adapt (though no video on this page) */
    .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 specific mobile adaptation */
    .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;
    }
}

/* Ensure content area images are at least 200px wide (desktop) */
.page-gdpr__content-area img,
.page-gdpr__card img,
.page-gdpr__rights-list img {
    min-width: 200px;
    min-height: 200px;
}
@media (max-width: 768px) {
  /* For content area images, remove min-width/height on mobile to allow full responsiveness */
  .page-gdpr__content-area img,
  .page-gdpr__card img,
  .page-gdpr__rights-list img {
    min-width: unset;
    min-height: unset;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Contrast fix if needed (though with dark bg and light text, should be fine) */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}