/* style/gdpr.css */

/* Global styles for .page-gdpr scope */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color from custom colors */
  background-color: var(--background, #08160F); /* Default background color from custom colors */
}

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

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 20px;
  margin-top: -100px; /* Overlap slightly with image for visual appeal, but not over text */
  position: relative;
  z-index: 2; /* Ensure content is above image if any overlap */
  background: var(--background, #08160F); /* Match body background */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.page-gdpr__main-title {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1.2;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  max-width: 700px;
  margin: 0 auto;
}

.page-gdpr__content-section {
  padding: 60px 0;
  background-color: var(--background, #08160F);
}

.page-gdpr__dark-section {
  background-color: var(--card-bg, #11271B); /* Use Card BG for dark sections */
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 15px;
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--glow, #57E38D); /* Use Glow color for underline */
  border-radius: 2px;
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--gold, #F2C14E); /* Use Gold color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__text-block {
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__text-block p {
  margin-bottom: 1em;
}

.page-gdpr__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

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

.page-gdpr__image-left,
.page-gdpr__image-right {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  min-width: 200px; /* Ensure minimum size */
}

.page-gdpr__image-left img,
.page-gdpr__image-right img {
  width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__image-text-block .page-gdpr__text-block {
  flex: 1;
  margin-bottom: 0;
}

.page-gdpr__description {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__rights-item {
  background-color: var(--background, #08160F); /* Use background for item cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 1px solid var(--divider, #1E3A2A); /* Use Divider for border */
}

.page-gdpr__rights-title {
  font-size: 1.3em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__rights-item p {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
}

.page-gdpr__steps-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-gdpr__steps-item {
  display: flex;
  align-items: flex-start;
  background-color: var(--background, #08160F);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border: 1px solid var(--divider, #1E3A2A);
}

.page-gdpr__step-number {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--gold, #F2C14E);
  margin-right: 15px;
  flex-shrink: 0;
}

.page-gdpr__steps-item p {
  color: var(--text-secondary, #A7D9B8);
  margin: 0;
}

.page-gdpr__contact-info {
  text-align: center;
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-top: 30px;
}

.page-gdpr__link {
  color: var(--glow, #57E38D); /* Use Glow color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: var(--background, #08160F);
}

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

.page-gdpr__faq-item {
  background-color: var(--card-bg, #11271B); /* Use Card BG for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--divider, #1E3A2A);
  overflow: hidden;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow, #57E38D);
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for open state */
}

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

.page-gdpr__faq-answer p {
  margin: 0;
}

.page-gdpr__cta-block {
  text-align: center;
  margin-top: 40px;
}

.page-gdpr__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  min-width: 200px; /* Ensure minimum size */
}

.page-gdpr__cta-section {
  padding: 80px 0;
  background-color: var(--deep-green, #0A4B2C); /* Use Deep Green for CTA section */
  text-align: center;
}

.page-gdpr__cta-container {
  max-width: 900px;
}

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

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

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #ffffff; /* White text for button */
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  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__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
  }
  .page-gdpr__cta-title {
    font-size: 2.2em;
  }
  .page-gdpr__image-text-block {
    flex-direction: column;
    gap: 20px;
  }
  .page-gdpr__image-text-block--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  /* Ensure all images are responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all image containers are responsive */
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-text-block,
  .page-gdpr__image-left,
  .page-gdpr__image-right,
  .page-gdpr__cta-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Ensure all content containers have padding and max-width */
  .page-gdpr__container,
  .page-gdpr__hero-content,
  .page-gdpr__faq-list,
  .page-gdpr__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px !important;
  }

  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.3em;
  }
  .page-gdpr__hero-description,
  .page-gdpr__description,
  .page-gdpr__cta-description {
    font-size: 1em;
  }
  .page-gdpr__rights-list {
    grid-template-columns: 1fr;
  }
  .page-gdpr__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-gdpr__cta-title {
    font-size: 1.8em;
  }
  .page-gdpr__btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1.1em !important;
    padding: 12px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* For multiple buttons in a group, ensure vertical stacking */
  .page-gdpr__button-group { /* If such a class were used */
    flex-direction: column !important;
    gap: 10px !important;
  }
}

/* Color contrast enforcement (assuming a dark body background from var(--background)) */
.page-gdpr {
  color: var(--text-main, #F2FFF6); /* Light text for dark background */
}

.page-gdpr__card { /* Placeholder for any general card style */
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__rights-item,
.page-gdpr__steps-item {
  background-color: var(--background, #08160F); /* Darker background, use light text */
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__faq-item {
  background-color: var(--card-bg, #11271B); /* Darker background, use light text */
  color: var(--text-main, #F2FFF6);
}

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

.page-gdpr__faq-answer p {
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__btn-primary {
  color: #ffffff; /* Explicitly white for buttons on dark gradient */
}

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

/* Ensure no filter on images */
.page-gdpr img {
  filter: none !important;
}