/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  color: #FFF6D6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body handles the main background color */
}

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

.page-gdpr__section {
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H2 size, avoids fixed large values */
  color: #F2C14E; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__sub-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #FFD36B; /* Brand auxiliary color for sub-titles */
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-gdpr__mini-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: #FFD36B;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-gdpr p {
  margin-bottom: 15px;
}

.page-gdpr a {
  color: #FFD36B; /* Link color */
  text-decoration: underline;
}

.page-gdpr a:hover {
  text-decoration: none;
  color: #F2C14E; /* Hover effect */
}

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

.page-gdpr__hero-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Ensure image is visible */
}

.page-gdpr__hero-content-wrapper {
  position: relative; /* Position relative to allow z-index for content */
  z-index: 2;
  padding: 40px 0;
  width: 100%;
  background-color: #0A0A0A; /* Dark background for text visibility */
}

.page-gdpr__main-title {
  font-size: clamp(3rem, 5vw, 4.5rem); /* Larger H1 for hero */
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
}

.page-gdpr__intro-description {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for contrast on light button */
  margin-right: 20px;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-gdpr__btn-secondary {
  background: #111111; /* Card BG color */
  color: #F2C14E; /* Brand primary color */
  border: 2px solid #3A2A12; /* Border color */
}

.page-gdpr__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  border-color: #F2C14E;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

/* Content Images */
.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Card styles for Rights section */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #FFF6D6; /* Text Main color */
}

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

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

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: #111111; /* Card BG */
  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: #F2C14E; /* Primary color for questions */
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #F2C14E;
}

.page-gdpr__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color for toggle */
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

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

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

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

  .page-gdpr__container {
    padding: 0 15px;
  }

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

  .page-gdpr__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-gdpr__sub-title {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-gdpr__mini-title {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  /* Hero Section Mobile */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
  }

  .page-gdpr__hero-image {
    min-height: 250px;
  }

  .page-gdpr__hero-content-wrapper {
    padding: 30px 0;
  }

  .page-gdpr__main-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .page-gdpr__intro-description {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }

  /* Buttons Mobile */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    margin-right: 0 !important; /* Remove margin for stacking */
  }

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

  /* Images Mobile */
  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

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

  .page-gdpr__card {
    padding: 20px;
  }

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

  /* FAQ Mobile */
  .page-gdpr__faq-question {
    padding: 15px 20px;
  }

  .page-gdpr__faq-question h3 {
    font-size: 1rem;
  }

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