/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page specific background if needed, but body uses shared */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

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

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

.page-gdpr__hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  color: #F2C14E; /* Brand primary color for title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-gdpr__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6; /* Main text color */
}

/* General Sections */
.page-gdpr__section {
  padding: 60px 20px;
  border-bottom: 1px solid #3A2A12; /* Border color */
}

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

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

.page-gdpr__heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2C14E; /* Brand primary color for H2 */
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.page-gdpr__sub-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #FFD36B; /* Brand auxiliary color for H3 */
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #FFF6D6; /* Main text color */
}

/* Card Layout for Rights Section */
.page-gdpr__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-gdpr__card {
  background-color: #111111; /* Card background color */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
  color: #FFF6D6; /* Card text color */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-gdpr__card-title {
  font-size: 1.3rem;
  color: #FFD36B; /* Auxiliary color for card titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__card-text {
  font-size: 0.95rem;
  color: #FFF6D6; /* Card text color */
}

/* Image with Text Grid */
.page-gdpr__image-with-text-grid {
  display: grid;
  grid-template-columns: 1fr; /* Default to single column */
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .page-gdpr__image-with-text-grid {
    grid-template-columns: 1fr 2fr; /* Two columns on larger screens */
  }
}

.page-gdpr__image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

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

.page-gdpr__text-content {
  color: #FFF6D6;
}

/* Lists */
.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-gdpr__contact-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 30px;
}

/* Links */
.page-gdpr__inline-link {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: underline;
}

.page-gdpr__inline-link:hover {
  color: #F2C14E; /* Primary color on hover */
}

.page-gdpr__image-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 8px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Ensure padding/border included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for light button */
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Primary color for text */
  border: 2px solid #F2C14E; /* Primary color for border */
}

.page-gdpr__btn-secondary:hover {
  background: #F2C14E;
  color: #111111; /* Dark text for primary color background */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

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

.page-gdpr__faq-item {
  background-color: #111111; /* Card background color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111;
  color: #FFD36B; /* Auxiliary color for FAQ questions */
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #1a1a1a;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Primary color for toggle icon */
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate to form an 'x' or '-' */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Main text color for answers */
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 20px;
}

.page-gdpr__faq-answer p {
  margin: 0;
  font-size: 0.95rem;
  color: #FFF6D6;
}

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

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

  .page-gdpr__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

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

  .page-gdpr__heading {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 25px;
  }

  .page-gdpr__sub-heading {
    font-size: clamp(1.3rem, 6vw, 1.6rem);
  }

  .page-gdpr__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__card-title {
    font-size: 1.2rem;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to button container */
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-gdpr__image-with-text-grid {
    grid-template-columns: 1fr; /* Single column */
  }

  .page-gdpr__content-image,
  .page-gdpr__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all image containers are responsive */
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-container,
  .page-gdpr__image-wrapper,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-gdpr__faq-answer {
    padding: 0 20px;
  }

  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 10px 20px 15px;
  }
}

/* Color Contrast Enforcement */
/* Assuming body background is dark (#0A0A0A) from shared.css */
/* Text Main: #FFF6D6 */
/* Card BG: #111111 */
/* Background: #0A0A0A */
/* Buttons: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%) -> dark text */
/* Buttons Secondary: transparent background, #F2C14E text -> dark background for hover */

/* All text on .page-gdpr sections should be #FFF6D6 by default */
.page-gdpr p,
.page-gdpr li,
.page-gdpr__card-text {
  color: #FFF6D6; /* Ensure light text on dark background */
}

/* Headings use brand colors, which are light enough for dark background */
.page-gdpr__main-title,
.page-gdpr__heading,
.page-gdpr__sub-heading,
.page-gdpr__card-title,
.page-gdpr__faq-question h3 {
  /* Colors already defined (#F2C14E, #FFD36B) are high contrast on #0A0A0A / #111111 */
}

/* Buttons already define their own text colors based on their backgrounds */