/* style/gdpr.css */

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

/* Base styles for the GDPR page content, assuming body has a dark background */
.page-gdpr {
  background-color: var(--color-background); /* #08160F */
  color: var(--color-text-main); /* #F2FFF6 */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Ensure content sections have appropriate padding and max-width */
.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 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: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--color-background);
  text-align: center;
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* CTA Button */
.page-gdpr__cta-button {
  display: inline-block;
  background: var(--color-button-gradient);
  color: var(--color-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__cta-button--bottom {
  margin-top: 40px;
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 20px;
  background-color: var(--color-background); /* Default to background color */
  color: var(--color-text-main);
}

.page-gdpr__dark-section {
  background-color: var(--color-card-bg); /* Use card background for dark sections */
  color: var(--color-text-main);
}

.page-gdpr__heading {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--color-primary); /* Use primary color for headings */
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

.page-gdpr__paragraph {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--color-text-main);
  text-align: justify;
}

.page-gdpr__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--color-text-main);
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary); /* Checkmark in primary color */
  font-weight: bold;
}

.page-gdpr__list-item strong {
  color: var(--color-primary);
}

/* Links within content */
.page-gdpr__paragraph a,
.page-gdpr__list-item a {
  color: var(--color-secondary); /* Use secondary color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__paragraph a:hover,
.page-gdpr__list-item a:hover {
  color: var(--color-gold);
}

/* Image within content */
.page-gdpr__image-wrapper {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

/* Ensure content area images do not get smaller than 200px (desktop) */
.page-gdpr__content-area img,
.page-gdpr__content-image {
  min-width: 200px;
  min-height: 200px;
}

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

  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

  .page-gdpr__heading {
    font-size: 1.8rem;
  }

  /* Mobile responsive images */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive image containers */
  .page-gdpr__image-wrapper,
  .page-gdpr__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Ensure content containers also adapt */
  .page-gdpr__content-section,
  .page-gdpr__dark-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile responsive buttons */
  .page-gdpr__cta-button {
    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;
  }
}

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