/* style/gdpr.css */

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

.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;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles main offset */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
    background-color: var(--background, #08160F);
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px; /* Max height for hero image */
    object-fit: cover;
    display: block;
    margin-bottom: 30px;
    border-radius: 10px;
}

.page-gdpr__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Using clamp for H1 */
    font-weight: 700;
    color: var(--gold, #F2C14E);
    margin-bottom: 20px;
    line-height: 1.2;
}

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

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

.page-gdpr__light-bg {
    background-color: var(--text-main, #F2FFF6); /* Light background for contrast */
    color: #333333; /* Dark text on light background */
}

.page-gdpr__dark-section {
    background-color: var(--deep-green, #0A4B2C); /* Darker brand green */
    color: var(--text-main, #F2FFF6);
}

.page-gdpr__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold, #F2C14E);
    text-align: center;
    margin-bottom: 40px;
}

.page-gdpr__section-title--white {
    color: var(--text-main, #F2FFF6);
}

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

.page-gdpr__sub-title--white {
    color: var(--text-main, #F2FFF6);
}

.page-gdpr__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__text-block--white {
    color: var(--text-main, #F2FFF6);
}

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

.page-gdpr__card {
    background-color: var(--card-bg, #11271B); /* Dark card background */
    color: var(--text-main, #F2FFF6);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.page-gdpr__card--dark {
    background-color: var(--card-bg, #11271B);
}

.page-gdpr__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold, #F2C14E);
    margin-bottom: 15px;
}

.page-gdpr__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.page-gdpr__list li {
    margin-bottom: 10px;
}

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

.page-gdpr__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

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

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

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: var(--deep-green, #0A4B2C);
}

.page-gdpr__faq-list {
    margin-top: 40px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border, #2E7A4E);
  overflow: hidden;
  background: var(--card-bg, #11271B); /* Dark background for FAQ item */
  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 25px;
  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: var(--divider, #1E3A2A); /* Slightly lighter dark on hover */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold, #F2C14E); /* Question text in gold */
}
.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--glow, #57E38D); /* Toggle icon in glow green */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 20px;
  background: var(--background, #08160F); /* Darker background for answer */
  border-radius: 0 0 10px 10px;
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
}

/* CTA Section */
.page-gdpr__cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--text-main, #F2FFF6); /* Light background for contrast */
    color: #333333; /* Dark text on light background */
}

.page-gdpr__cta-content {
    max-width: 800px;
}

.page-gdpr__cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--main-color, #11A84E);
    margin-bottom: 20px;
}

.page-gdpr__cta-description {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 30px;
}

.page-gdpr__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width for responsive */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--text-main, #F2FFF6);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-gdpr__btn-secondary {
    background: var(--text-main, #F2FFF6);
    color: var(--main-color, #11A84E);
    border: 2px solid var(--main-color, #11A84E);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.1);
}

.page-gdpr__btn-secondary:hover {
    background: var(--main-color, #11A84E);
    color: var(--text-main, #F2FFF6);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.3);
}

/* General image responsive styles */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-gdpr__section-title {
        font-size: 2rem;
    }
    .page-gdpr__sub-title {
        font-size: 1.6rem;
    }
    .page-gdpr__card-title {
        font-size: 1.3rem;
    }
    .page-gdpr__cta-title {
        font-size: 1.8rem;
    }
    .page-gdpr__hero-image {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    /* 1. Hero Section */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles main offset */
        padding-bottom: 30px;
    }
    .page-gdpr__hero-image {
        max-height: 300px;
        margin-bottom: 20px;
    }
}