/* style/gdpr.css */

/* General page styling */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding as per rule */
  padding-bottom: 60px;
  text-align: center;
  background-color: #0A0A0A; /* Ensure background consistency */
}

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

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 */
  font-weight: 700;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Glow effect */
}

.page-gdpr__description {
  font-size: 1.15rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

.page-gdpr__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Main color */
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-gdpr__content-section {
  padding: 60px 0;
}

.page-gdpr__dark-section {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-gdpr__light-section {
  background-color: #ffffff; /* White background for contrast */
  color: #333333; /* Dark text for contrast */
}

.page-gdpr__light-section .page-gdpr__section-title,
.page-gdpr__light-section .page-gdpr__list-title {
  color: #F2C14E; /* Main color on light background */
}

.page-gdpr__light-section p {
  color: #333333;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-gdpr__list-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__light-section .page-gdpr__list-item {
  background-color: #f8f8f8; /* Lighter card background for light section */
  border-color: #e0e0e0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__light-section .page-gdpr__list-item:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFD36B; /* Glow color */
  margin-bottom: 10px;
}

.page-gdpr__list-item p {
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
}

.page-gdpr__light-section .page-gdpr__list-item p {
  color: #333333;
}

/* CTA Section */
.page-gdpr__cta-section {
  padding: 80px 0;
  text-align: center;
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("[GALLERY:bg:1920x1080:tin88,gdpr,cta_background,secure_platform]");
  background-size: cover;
  background-position: center;
}

.page-gdpr__cta-content {
  max-width: 800px;
}

.page-gdpr__cta-section .page-gdpr__section-title {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.page-gdpr__cta-section p {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Prevent overflow */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button doesn't exceed container */
  box-sizing: border-box; /* Include padding and border in width */
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for contrast on bright button */
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

.page-gdpr__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow color */
  border: 2px solid #FFD36B; /* Glow color border */
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

.page-gdpr__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 211, 107, 0.1);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.4);
}

.page-gdpr__inline-link {
  color: #FFD36B; /* Use accent color for inline links */
  text-decoration: underline;
}

.page-gdpr__inline-link:hover {
  color: #F2C14E;
}

/* FAQ styles */
.page-gdpr__faq-section {
  padding: 60px 0;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0; /* Border for light section */
  overflow: hidden;
  background: #fff;
  color: #333333; /* Dark text for FAQ items on light background */
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: #f5f5f5;
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Dark text */
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555; /* Slightly lighter dark text for answer */
}

/* Responsive styles for all modules */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 20px 15px;
  }

  /* Hero Section */
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-gdpr__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* General Section Titles & Padding */
  .page-gdpr__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 25px;
  }

  .page-gdpr__content-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__faq-section,
  .page-gdpr__cta-section {
    padding: 40px 0;
  }

  /* Images */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__image {
    margin: 30px auto;
  }

  /* List Items */
  .page-gdpr__list-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-gdpr__list-title {
    font-size: 1.3rem;
  }

  .page-gdpr__list-item p {
    font-size: 0.95rem;
  }

  /* CTA Buttons */
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

  /* FAQ */
  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 15px; }
  details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }
}