/* style/gdpr.css */

/* Custom Colors */
:root {
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-background: #08160F;
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-border: #2E7A4E;
  --page-gdpr-glow: #57E38D;
  --page-gdpr-gold: #F2C14E;
  --page-gdpr-divider: #1E3A2A;
  --page-gdpr-deep-green: #0A4B2C;
  --page-gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

.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;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-gdpr-deep-green); /* A slightly different dark green for hero background */
  overflow: hidden; /* Ensure no overflow */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__hero-content {
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(17, 39, 27, 0.8); /* Semi-transparent background for text readability */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-top: -60px; /* Overlap slightly with the image for visual flow */
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  color: var(--page-gdpr-gold); /* Gold for main title */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-gdpr__description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: var(--page-gdpr-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button adapts to container */
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-btn-gradient);
  color: var(--page-gdpr-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  opacity: 0.9;
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--page-gdpr-text-main);
  border: 2px solid var(--page-gdpr-glow);
  box-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
  margin-left: 15px;
}

.page-gdpr__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--page-gdpr-divider);
}

.page-gdpr__content-section:last-of-type {
  border-bottom: none;
}

.page-gdpr__dark-bg {
  background-color: var(--page-gdpr-background);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__light-bg {
  background-color: var(--page-gdpr-card-bg); /* Use card background for contrast */
  color: var(--page-gdpr-text-main);
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--page-gdpr-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--page-gdpr-glow);
  border-radius: 2px;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  color: var(--page-gdpr-text-secondary);
  max-width: 900px;
  margin: 0 auto;
}

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

.page-gdpr__text-block strong {
  color: var(--page-gdpr-text-main);
}

/* Two-column layout */
.page-gdpr__two-column-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-gdpr__column-text,
.page-gdpr__column-image {
  flex: 1;
}

.page-gdpr__column-image {
  text-align: center;
}

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

.page-gdpr__image--center {
  margin: 30px auto;
  max-width: 800px;
}

/* Reversed column layout */
.page-gdpr__two-column-layout--reversed {
  flex-direction: row-reverse;
}

/* Contact Info */
.page-gdpr__contact-info {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background-color: var(--page-gdpr-card-bg);
  border-radius: 10px;
  border: 1px solid var(--page-gdpr-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__contact-info strong {
  color: var(--page-gdpr-text-main);
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: var(--page-gdpr-card-bg);
  color: var(--page-gdpr-text-main);
}

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

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-background);
  border: 1px solid var(--page-gdpr-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--page-gdpr-text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-gdpr__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Lighter hover for dark background */
}

.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
  background-color: var(--page-gdpr-deep-green);
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-gdpr-glow);
}

.page-gdpr__faq-item details summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-item details summary {
  list-style: none;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .page-gdpr__two-column-layout {
    flex-direction: column;
    gap: 30px;
  }

  .page-gdpr__two-column-layout--reversed {
    flex-direction: column; /* Revert to column for smaller screens */
  }

  .page-gdpr__column-image {
    order: -1; /* Image appears first in column layout */
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px !important; /* Force padding for mobile */
  }

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

  .page-gdpr__hero-content {
    margin-top: -40px; /* Adjust overlap */
    padding: 15px;
  }

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

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

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important; /* Buttons take full width */
    max-width: 100% !important;
    margin-left: 0 !important; /* Remove margin for stacking */
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }

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

  /* Responsive images, videos, buttons - FORCE with !important */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper,
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* If buttons are in a flex container, ensure they stack or wrap */
  .page-gdpr__hero-content .page-gdpr__btn-primary {
    display: block;
    margin-bottom: 15px;
  }
  .page-gdpr__contact-info .page-gdpr__btn-secondary {
    display: block;
    margin-left: 0;
  }
}

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

/* Content area image size minimum check */
/* This rule applies to any img within .page-gdpr, effectively ensuring content images are not tiny */
.page-gdpr img:not(.shared-header__logo, .shared-footer__payment-icon, .shared-footer__social-icon) {
  min-width: 200px;
  min-height: 200px;
}