/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Dark background, so light text */
    background-color: var(--bg-color, #08160F); /* Body background from shared.css */
    padding-bottom: 60px; /* Add some padding at the bottom */
}

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

.page-gdpr__container--flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-gdpr__container--centered {
    text-align: center;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--card-bg, #11271B); /* Consistent background */
    overflow: hidden; /* Ensure image doesn't overflow */
}

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

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

.page-gdpr__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
    color: var(--text-main, #F2FFF6);
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main, #F2FFF6);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-gdpr__description {
    font-size: 1.1rem;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
}

.page-gdpr__dark-bg {
    background-color: var(--bg-color, #08160F);
    color: var(--text-main, #F2FFF6);
}

.page-gdpr__light-bg {
    background-color: var(--card-bg, #11271B); /* Using card bg for contrast */
    color: var(--text-main, #F2FFF6);
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: var(--glow, #57E38D);
}

.page-gdpr__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--gold, #F2C14E);
}

.page-gdpr__text-block {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__text-block--center {
    text-align: center;
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 0;
    color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

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

/* Image with Text Section */
.page-gdpr__image-text-section {
    padding: 60px 0;
    background-color: var(--card-bg, #11271B); /* Use card background for this section */
}

.page-gdpr__image-text-section--reverse .page-gdpr__container--flex {
    flex-direction: row-reverse;
}

.page-gdpr__image-wrapper {
    flex: 1;
    min-width: 300px; /* Minimum width for image wrapper */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__text-content {
    flex: 1;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-main, #F2FFF6);
    background-color: var(--deep-green, #0A4B2C); /* Use deep green for contrast */
}

/* Buttons */
.page-gdpr__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt */
}

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

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--glow, #57E38D);
    border: 2px solid var(--glow, #57E38D);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--glow, #57E38D);
    color: #08160F; /* Dark text on light background */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.page-gdpr__link {
    color: var(--gold, #F2C14E);
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: var(--glow, #57E38D);
}

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

.page-gdpr__faq-item {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--divider, #1E3A2A);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main, #F2FFF6);
    cursor: pointer;
    background-color: var(--card-bg, #11271B);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: var(--deep-green, #0A4B2C);
}

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

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Hide 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(--glow, #57E38D);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-gdpr__container--flex {
        flex-direction: column;
        gap: 30px;
    }

    .page-gdpr__image-text-section--reverse .page-gdpr__container--flex {
        flex-direction: column; /* Keep column for reverse on smaller screens */
    }

    .page-gdpr__text-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* Small top padding for header offset */
    }

    .page-gdpr__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-gdpr__description {
        font-size: 1rem;
        padding: 0 15px;
    }

    .page-gdpr__content-section {
        padding: 40px 0;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        padding: 0 15px;
        margin-bottom: 25px;
    }

    .page-gdpr__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
        padding: 0 15px;
        margin-top: 30px;
    }

    .page-gdpr__text-block,
    .page-gdpr__list-item {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .page-gdpr__list {
        margin-left: 0;
        padding-left: 35px; /* Indent list items */
    }

    .page-gdpr__image-text-section {
        padding: 40px 0;
    }

    .page-gdpr__image-wrapper {
        margin-left: 15px;
        margin-right: 15px;
    }

    .page-gdpr__text-content {
        padding: 20px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .page-gdpr__button-group {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        margin-top: 30px;
        padding: 0 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__faq-list {
        margin-left: 15px;
        margin-right: 15px;
    }

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

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

    /* Image responsive override */
    .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__image-wrapper,
    .page-gdpr__text-content { 
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Specific padding for sections/containers that need it */
    .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure content images are at least 200px where applicable */
.page-gdpr img:not(.page-gdpr__hero-image) { /* Exclude hero as it has dedicated sizing */
    min-width: 200px;
    min-height: 200px;
}

/* Color contrast fixes for buttons on dark background */
.page-gdpr__btn-primary {
    color: #ffffff; /* Explicitly set for contrast */
}

.page-gdpr__btn-secondary {
    color: var(--glow, #57E38D); /* Explicitly set for contrast */
}
.page-gdpr__btn-secondary:hover {
    color: #08160F; /* Dark text on light background */
}

/* Video responsive styles (if any video is added) */
.page-gdpr video,
.page-gdpr__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__video-section,
.page-gdpr__video-container,
.page-gdpr__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .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;
  }
}