/* style/gdpr.css */

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

/* --- General Styles --- */
.page-gdpr {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* #F2FFF6 on dark background #08160F */
  background-color: var(--background); /* #08160F */
  line-height: 1.6;
}

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

.page-gdpr__section {
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--text-main); /* #F2FFF6 */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__section-description {
  font-size: 1.1em;
  color: var(--text-secondary); /* #A7D9B8 */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-gdpr__link {
  color: var(--glow-color); /* #57E38D */
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-gdpr__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image-centered {
  margin-left: auto;
  margin-right: auto;
}

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

/* --- Hero Section --- */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: var(--background); /* #08160F */
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0; /* No border-radius for hero image */
  box-shadow: none;
  margin-bottom: 40px; /* Space between image and content */
}

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

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

.page-gdpr__lead-text {
  font-size: 1.2em;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  background: var(--button-gradient); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* --- Principles Section --- */
.page-gdpr__principles-section {
  background-color: var(--background); /* #08160F */
}

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

.page-gdpr__card {
  background-color: var(--card-bg); /* #11271B */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color); /* #2E7A4E */
  color: var(--text-main); /* #F2FFF6 */
}

.page-gdpr__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 1em;
  color: var(--text-secondary); /* #A7D9B8 */
}

/* --- Rights Section --- */
.page-gdpr__rights-section {
  background-color: var(--deep-green-color); /* #0A4B2C */
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 800px;
}

.page-gdpr__list-item {
  background-color: var(--card-bg); /* #11271B */
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid var(--glow-color); /* #57E38D */
  color: var(--text-main); /* #F2FFF6 */
  font-size: 1.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-gdpr__list-item strong {
  color: var(--glow-color); /* #57E38D */
}

/* --- Security Measures Section --- */
.page-gdpr__security-measures-section {
  background-color: var(--background); /* #08160F */
}

/* --- DPO Contact Section --- */
.page-gdpr__dpo-contact-section {
  background-color: var(--deep-green-color); /* #0A4B2C */
}

.page-gdpr__contact-info {
  background-color: var(--card-bg); /* #11271B */
  padding: 30px;
  border-radius: 12px;
  max-width: 700px;
  margin: 40px auto 0;
  text-align: center;
  border: 1px solid var(--border-color); /* #2E7A4E */
  color: var(--text-main); /* #F2FFF6 */
}

.page-gdpr__contact-info p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-gdpr__contact-info strong {
  color: var(--text-main); /* #F2FFF6 */
}

/* --- FAQ Section --- */
.page-gdpr__faq-section {
  background-color: var(--background); /* #08160F */
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-gdpr__faq-item {
  background-color: var(--card-bg); /* #11271B */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--divider-color); /* #1E3A2A */
  overflow: hidden;
  color: var(--text-main); /* #F2FFF6 */
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  outline: none;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--card-bg); /* #11271B */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: var(--text-main); /* #F2FFF6 */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color); /* #57E38D */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-secondary); /* #A7D9B8 */
  border-top: 1px solid var(--divider-color); /* #1E3A2A */
  margin-top: -1px; /* Overlap border */
}

.page-gdpr__faq-answer p {
  margin-top: 20px;
  margin-bottom: 0;
}

/* --- Final CTA Section --- */
.page-gdpr__cta-final {
  background-color: var(--deep-green-color); /* #0A4B2C */
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-gdpr__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

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

  .page-gdpr__lead-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-gdpr__grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__card-title {
    font-size: 1.3em;
  }

  .page-gdpr__list {
    margin: 30px auto 0;
  }

  .page-gdpr__list-item {
    padding: 18px 20px;
    font-size: 1em;
  }

  .page-gdpr__contact-info {
    padding: 25px;
  }

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

  .page-gdpr__faq-item summary {
    padding: 18px 20px;
    font-size: 1em;
  }

  .page-gdpr__faq-answer {
    padding: 0 20px 18px;
  }

  /* Mobile responsive image adaptation */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive video adaptation (if any) */
  /* No video on this page, but keeping the boilerplate for safety */
  .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; /* body already handles --header-offset */
  }

  /* Mobile responsive button 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;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .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;
  }
  
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  /* Content area containers for mobile */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}