/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main on Body BG #0A0A0A */
  background-color: #0A0A0A; /* Body background */
}

/* Ensure images are responsive by default */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  /* body { padding-top: var(--header-offset); } is in shared.css, so only a small padding here */
  padding-top: 10px;
  background: linear-gradient(180deg, #1A1A1A 0%, #0A0A0A 100%); /* Slightly darker gradient for hero */
  border-bottom: 1px solid #3A2A12;
}

.page-gdpr__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px; /* Space between content and image */
}

.page-gdpr__hero-content {
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Using clamp for responsive H1 */
  font-weight: 700;
  color: #F2C14E; /* Primary color for title */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-gdpr__description {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1000px; /* Adjust max-width for hero image */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* General Section Styles */
.page-gdpr__section {
  padding: 50px 20px;
  border-bottom: 1px solid #3A2A12;
}

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

.page-gdpr__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
  line-height: 1.3;
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  color: #FFD36B;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 500;
}

.page-gdpr__paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-gdpr__paragraph strong {
  color: #F2C14E;
}

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

.page-gdpr__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1em;
  color: #FFF6D6;
}

.page-gdpr__list-item::before {
  content: '✔️'; /* Checkmark for list items */
  position: absolute;
  left: 0;
  color: #FFD36B;
  font-size: 0.9em;
  top: 0;
}

.page-gdpr__list-item strong {
  color: #FFD36B;
}

/* Card Grid for Rights Section */
.page-gdpr__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-gdpr__card-title {
  font-size: 1.3em;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__card img {
  width: 100%;
  height: auto;
  max-width: 250px; /* Smaller images for cards */
  margin-bottom: 15px;
  border-radius: 5px;
  object-fit: cover;
}

.page-gdpr__card-text {
  font-size: 0.95em;
  color: #FFF6D6;
  flex-grow: 1; /* Ensures text takes available space */
}

/* Contact List */
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__contact-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-gdpr__link {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

/* CTA Button */
.page-gdpr__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button is responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.5);
  filter: brightness(1.1);
}

/* FAQ Section */
.page-gdpr__section--faq {
  background-color: #111111; /* Card BG for FAQ section */
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #0A0A0A; /* Darker background for FAQ item */
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD36B; /* Auxiliary color for question */
  font-weight: 600;
  font-size: 1.1em;
}
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: rgba(255, 211, 107, 0.05); /* Slight hover effect */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 1em; /* Adjusted for summary font-size */
  line-height: 1.5;
  text-align: left;
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Plus to X effect */
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 20px;
  background: #111111; /* Card BG for answer */
  border-top: 1px solid #3A2A12;
  border-radius: 0 0 10px 10px;
  color: #FFF6D6; /* Text Main */
  font-size: 0.95em;
}
.page-gdpr__faq-answer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 2.5em);
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body padding-top is in shared.css */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-container {
    flex-direction: column;
    gap: 20px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
    margin-bottom: 10px;
  }
  .page-gdpr__description {
    font-size: 1em;
  }
  .page-gdpr__section {
    padding: 30px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
  }
  .page-gdpr__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__card {
    padding: 20px;
  }
  .page-gdpr__card-title {
    font-size: 1.2em;
  }
  .page-gdpr__list-item {
    font-size: 0.95em;
  }
  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-gdpr__faq-qtext {
    font-size: 0.95em;
  }
  .page-gdpr__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9em;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section { /* Added hero-section here for padding */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-section { /* Re-applying specific hero padding for mobile */
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
}