/* style/gdpr.css */

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

/* Base styles for the GDPR page content */
.page-gdpr {
  color: var(--aw8-text-main); /* Default text color for the page */
  background-color: var(--aw8-background); /* Page background */
  font-family: 'Arial', sans-serif; /* Example font */
  line-height: 1.6;
  padding-bottom: 60px; /* Space for footer */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding: 10px 20px 40px; /* Small top padding, more bottom padding */
  background-color: var(--aw8-deep-green); /* Example background for hero section */
  overflow: hidden; /* Ensure content doesn't overflow */
}

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

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

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 2; /* Ensure text is above image if any overlap happens */
  padding: 0 20px; /* Inner padding for content */
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  color: var(--aw8-gold); /* Gold color for main title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-gdpr__description {
  font-size: 1.1em;
  color: var(--aw8-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 1.05em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button fits mobile screens */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-gdpr__cta-button--primary {
  background: var(--aw8-button-gradient);
  color: var(--aw8-text-main);
  border: 2px solid transparent;
}

.page-gdpr__cta-button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 255, 0, 0.2);
}

.page-gdpr__cta-button--secondary {
  background: var(--aw8-deep-green); /* Darker green background */
  color: var(--aw8-text-main);
  border: 2px solid var(--aw8-primary); /* Border with primary color */
  margin-left: 20px; /* Space between primary and secondary */
}

.page-gdpr__cta-button--secondary:hover {
  transform: translateY(-3px);
  background: var(--aw8-primary);
  box-shadow: 0 8px 15px rgba(0, 255, 0, 0.1);
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px; /* Gap between buttons */
  margin-top: 40px;
  max-width: 100%;
  box-sizing: border-box;
}

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 20px;
  background-color: var(--aw8-background);
  color: var(--aw8-text-main);
}

.page-gdpr__section--dark {
  background-color: var(--aw8-card-bg); /* Darker background for contrast */
  color: var(--aw8-text-main);
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--aw8-primary);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
  line-height: 1.3;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--aw8-text-secondary);
}

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

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 30px;
  border-top: 1px solid var(--aw8-divider);
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--aw8-divider);
  padding-bottom: 15px;
  color: var(--aw8-text-main);
  background-color: transparent; /* Ensure no conflicting background */
}

.page-gdpr__faq-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--aw8-text-main);
  transition: color 0.3s ease;
}

.page-gdpr__faq-item summary:hover {
  color: var(--aw8-primary);
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  line-height: 1;
  margin-left: 15px;
  color: var(--aw8-primary);
}

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

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

/* Image Grid for Data Collection */
.page-gdpr__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

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

.page-gdpr__image-item:hover {
  transform: translateY(-5px);
}

/* Links within content */
.page-gdpr__link-email,
.page-gdpr__link-page {
  color: var(--aw8-gold); /* Gold color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link-email:hover,
.page-gdpr__link-page:hover {
  color: var(--aw8-glow);
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    padding: 10px 15px 30px;
  }

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

  .page-gdpr__section {
    padding: 50px 15px;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.2em);
  }
}

@media (max-width: 768px) {
  /* Mobile specific overrides for images, videos, buttons */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__cta-buttons,
  .page-gdpr__image-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

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

  .page-gdpr__main-title {
    font-size: clamp(1.6em, 7vw, 2.5em); /* Adjust for smaller screens */
  }

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

  .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: 12px 15px !important;
    margin-left: 0 !important; /* Remove margin for single column layout */
  }

  .page-gdpr__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.4em, 6vw, 2em);
  }

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

  .page-gdpr__faq-item summary {
    font-size: 1em;
  }

  .page-gdpr__faq-answer {
    font-size: 0.9em;
  }

  .page-gdpr__image-grid {
    grid-template-columns: 1fr; /* Single column for image grid */
    gap: 20px;
  }
}

/* Ensure content area images are at least 200x200px and no filters */
.page-gdpr img:not(.shared-logo):not(.shared-icon) {
  min-width: 200px;
  min-height: 200px;
  filter: none !important; /* Absolutely no filters */
}