/* style/gdpr.css */

/* --- Base Styles & Variables (Inherited/Default) --- */
/* body padding-top handled by shared.css var(--header-offset) */

/* Color Variables based on provided custom colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --bg-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

/* --- Page Specific Styles --- */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Light text on dark background */
  background-color: var(--bg-color); /* Deep green background from shared */
}

/* Sections for light/dark background adaptation */
.page-gdpr__dark-bg {
  background-color: var(--bg-color);
  color: var(--text-main-color);
}

.page-gdpr__light-bg {
  background-color: var(--text-main-color); /* Using text-main as light background for contrast */
  color: var(--bg-color); /* Dark text on light background */
}
/* Adjusting light-bg text/link colors for readability */
.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__text-block,
.page-gdpr__light-bg .page-gdpr__list-item,
.page-gdpr__light-bg .page-gdpr__contact-info {
  color: #333333; /* Ensuring dark text on light background */
}
.page-gdpr__light-bg .page-gdpr__link {
  color: var(--primary-color); /* Primary color for links on light background */
}


/* --- Hero Section --- */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Stacks image then content */
  align-items: center;
  padding: 0 20px 40px 20px; /* Adjust padding, image is above content */
  background-color: var(--bg-color);
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 20px; /* Space between image and text */
}

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

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--gold-color); /* Using gold for main title */
}

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

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

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Inner padding for container */
  box-sizing: border-box;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}
.page-gdpr__dark-bg .page-gdpr__section-title {
  color: var(--gold-color);
}
.page-gdpr__light-bg .page-gdpr__section-title {
  color: var(--deep-green-color); /* Darker color for title on light background */
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: inherit; /* Inherits from parent section */
}
.page-gdpr__list-item strong {
  color: inherit;
}

.page-gdpr__link {
  color: var(--secondary-color); /* Green for links on dark background */
  text-decoration: underline;
}
.page-gdpr__link:hover {
  color: var(--glow-color);
}

.page-gdpr__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --- FAQ Section --- */
.page-gdpr__faq-section {
  padding: 60px 20px;
}

.page-gdpr__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--text-main-color);
  background-color: var(--card-bg-color);
  border-bottom: 1px solid var(--divider-color);
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Changes + to x or similar */
}

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

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
}
.page-gdpr__faq-answer p:last-child {
  margin-bottom: 0;
}

/* --- Contact Section --- */
.page-gdpr__contact-section {
  padding: 60px 20px;
}

.page-gdpr__contact-info {
  margin-top: 30px;
  text-align: center;
  font-size: 1.1em;
  color: #333333; /* Dark text on light background */
}
.page-gdpr__contact-info p {
  margin-bottom: 10px;
}
.page-gdpr__contact-info .page-gdpr__link {
  color: var(--primary-color);
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Crucial for button responsiveness */
  max-width: 100%; /* Ensure it doesn't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* --- Update Section --- */
.page-gdpr__update-section {
  padding: 40px 20px;
  text-align: center;
}
.page-gdpr__update-section .page-gdpr__text-block {
  color: var(--text-secondary-color);
}

/* --- Conclusion Section --- */
.page-gdpr__conclusion-section {
  padding: 60px 20px;
  text-align: center;
}
.page-gdpr__conclusion-section .page-gdpr__text-block {
  color: #333333; /* Dark text on light background */
}


/* --- Responsive Styles (Mobile First) --- */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
  }

  .page-gdpr__hero-section {
    padding: 0 10px 30px 10px;
  }

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

  .page-gdpr__hero-description {
    font-size: 1em;
  }

  .page-gdpr__content-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section,
  .page-gdpr__update-section,
  .page-gdpr__conclusion-section {
    padding: 40px 15px; /* Adjust section padding */
  }

  .page-gdpr__container {
    padding: 0; /* Remove inner container padding on mobile */
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 20px;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item {
    font-size: 0.95em;
  }

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

  /* Image container responsiveness */
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__container,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section,
  .page-gdpr__update-section,
  .page-gdpr__conclusion-section,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Add horizontal padding to main content areas */
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Specific padding for hero-section to avoid double padding */
  .page-gdpr__hero-section {
      padding-left: 0 !important;
      padding-right: 0 !important;
  }
  .page-gdpr__hero-content {
      padding-left: 15px !important;
      padding-right: 15px !important;
  }

  /* FAQ item padding adjustment for mobile */
  .page-gdpr__faq-item {
    padding-left: 0;
    padding-right: 0;
  }
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness */
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px; /* Add padding to button container */
    padding-right: 15px;
  }

  .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-left: 15px; /* Ensure button text has internal padding */
    padding-right: 15px;
  }
}