/* style/gdpr.css */

/* Global styles for .page-gdpr scoped content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Using custom color: #F2FFF6 */
  background-color: var(--background); /* Using custom color: #08160F */
  padding-bottom: 40px; /* Ensure space above footer */
}

/* Variables for custom colors */
:root {
  --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: #0A4B2C;

  /* RGB values for rgba usage where needed, derived from custom colors */
  --text-main-rgb: 242, 255, 246;
  --glow-color-rgb: 87, 227, 141;
  --deep-green-rgb: 10, 75, 44;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 10px 0 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden; /* Ensure content doesn't spill */
}

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

.page-gdpr__hero-content {
  position: relative; /* Not absolute, to maintain document flow */
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

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

.page-gdpr__description {
  font-size: 1.1em;
  color: var(--text-secondary); /* Using custom color: #A7D9B8 */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styling */
.page-gdpr__content-section {
  padding: 60px 0;
  background-color: var(--background); /* Using custom color: #08160F */
  border-bottom: 1px solid var(--divider-color); /* Using custom color: #1E3A2A */
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--text-main); /* Using custom color: #F2FFF6 */
  text-align: center;
  margin-bottom: 50px;
  font-weight: 600;
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  color: var(--gold-color); /* Using custom color: #F2C14E */
  margin-bottom: 15px;
  font-weight: 500;
}

.page-gdpr__text-block {
  background-color: var(--card-bg); /* Using custom color: #11271B */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-secondary); /* Using custom color: #A7D9B8 */
  margin-bottom: 20px; /* For mobile stacking */
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
}

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

.page-gdpr__grid--two-col {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

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

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

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.page-gdpr__rights-item {
  background-color: var(--card-bg); /* Using custom color: #11271B */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border-left: 5px solid var(--gold-color); /* Using custom color: #F2C14E */
}

.page-gdpr__rights-item p {
  color: var(--text-secondary); /* Using custom color: #A7D9B8 */
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gdpr__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-secondary); /* Using custom color: #A7D9B8 */
}

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

.page-gdpr__contact-list a:hover {
  color: var(--gold-color); /* Using custom color: #F2C14E */
  text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: var(--card-bg); /* Using custom color: #11271B */
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color); /* Using custom color: #2E7A4E */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 500;
  color: var(--text-main); /* Using custom color: #F2FFF6 */
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(var(--text-main-rgb), 0.05); /* Slight hover effect */
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: "−"; /* Changed by JS */
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-secondary); /* Using custom color: #A7D9B8 */
}

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

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

/* CTA Section */
.page-gdpr__cta-section {
  text-align: center;
  padding: 60px 0;
  background-color: var(--deep-green); /* Using custom color: #0A4B2C */
}

.page-gdpr__cta-section .page-gdpr__section-title {
  color: var(--text-main); /* Using custom color: #F2FFF6 */
}

.page-gdpr__cta-section .page-gdpr__description {
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--button-gradient); /* Using custom gradient */
  color: var(--text-main); /* Using custom color: #F2FFF6 */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(var(--glow-color-rgb), 0.3); /* Using custom color: #57E38D for glow */
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(var(--glow-color-rgb), 0.4);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--glow-color); /* Using custom color: #57E38D */
  border: 2px solid var(--glow-color); /* Using custom color: #57E38D */
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--glow-color);
  color: rgba(var(--deep-green-rgb), 1); /* Text color changes to dark on hover */
  transform: translateY(-3px);
}

/* Image styling for content sections - ensure min size 200x200px */
.page-gdpr__content-section img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

  .page-gdpr__section-title {
    font-size: 2em;
  }

  .page-gdpr__grid--two-col {
    grid-template-columns: 1fr; /* Stack columns on smaller screens */
  }
}

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

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

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

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

  .page-gdpr__description {
    font-size: 1em;
  }

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

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-gdpr__sub-title {
    font-size: 1.4em;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__grid {
    grid-template-columns: 1fr; /* Stack all grids */
    gap: 20px;
  }

  .page-gdpr__rights-list {
    grid-template-columns: 1fr; /* Stack rights items */
    gap: 15px;
  }

  /* Force responsive for images */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All containers with images/content */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific top padding for hero/video section */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Force responsive for buttons */
  .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;
  }
  
  /* Button containers mobile adaptation */
  .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; /* Allow wrapping */
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically */
  }
}

/* Ensure content images meet minimum size requirements */
.page-gdpr__content-section img:not(.page-gdpr__hero-image) {
  min-width: 200px;
  min-height: 200px;
}