/* style/gdpr.css */

/* Root variables for colors */
:root {
  --page-gdpr-primary-color: #C91F17;
  --page-gdpr-secondary-color: #E53935;
  --page-gdpr-button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --page-gdpr-card-bg: #D32F2F;
  --page-gdpr-bg: #B71C1C;
  --page-gdpr-text-main: #FFF5E1;
  --page-gdpr-border-color: #F2B544;
  --page-gdpr-glow-color: #FFCC66;
  --page-gdpr-gold-color: #F4D34D;
  --page-gdpr-deep-red: #7A0E0E;
}

/* Base styles for the GDPR page */
.page-gdpr {
  background-color: var(--page-gdpr-bg); /* Using custom background color */
  color: var(--page-gdpr-text-main); /* Text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-gdpr__dark-bg {
  background-color: var(--page-gdpr-deep-red);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__section-title {
  font-size: clamp(2em, 3.5vw, 3em);
  color: var(--page-gdpr-gold-color);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(255, 204, 102, 0.7);
}

.page-gdpr__sub-title {
  font-size: clamp(1.5em, 2.5vw, 2em);
  color: var(--page-gdpr-gold-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-main);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__note {
  font-style: italic;
  opacity: 0.9;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: 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: 1200px;
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--page-gdpr-gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
  text-shadow: 0 0 10px var(--page-gdpr-glow-color);
}

.page-gdpr__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--page-gdpr-text-main);
  line-height: 1.7;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background: var(--page-gdpr-button-gradient);
  color: #333333; /* Dark text for light gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

/* Card Grid Layout */
.page-gdpr__card-grid .page-gdpr__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background-color: var(--page-gdpr-card-bg);
  color: var(--page-gdpr-text-main);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-gdpr-border-color);
  height: 100%; /* Ensure cards in grid have equal height */
  box-sizing: border-box;
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: var(--page-gdpr-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card p {
  font-size: 1em;
  color: var(--page-gdpr-text-main);
}

/* Data Usage Section */
.page-gdpr__usage-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__usage-item {
  text-align: left;
  padding: 25px;
  background-color: rgba(var(--page-gdpr-card-bg), 0.7); /* Slightly lighter background */
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-gdpr-border-color);
}

.page-gdpr__usage-title {
  font-size: 1.4em;
  color: var(--page-gdpr-gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

/* User Rights Section */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-gdpr__right-item {
  background-color: var(--page-gdpr-card-bg);
  color: var(--page-gdpr-text-main);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-gdpr-border-color);
}

.page-gdpr__right-title {
  font-size: 1.3em;
  color: var(--page-gdpr-gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

/* Data Security & Retention */
.page-gdpr__list {
  text-align: left;
  max-width: 900px;
  margin: 20px auto;
  padding-left: 25px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-gdpr__list strong {
  color: var(--page-gdpr-gold-color);
}

/* Contact Us Section */
.page-gdpr__contact-info {
  margin-top: 30px;
  margin-bottom: 40px;
  font-size: 1.1em;
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
}

.page-gdpr__contact-link {
  color: var(--page-gdpr-gold-color);
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__contact-link:hover {
  text-decoration: underline;
  color: var(--page-gdpr-glow-color);
}

/* Images within content */
.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-gdpr__image-margin-top {
  margin-top: 60px;
}

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

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-gdpr-gold-color);
  cursor: pointer;
  background-color: var(--page-gdpr-deep-red);
  border-bottom: 1px solid var(--page-gdpr-border-color);
  position: relative;
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

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

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

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: var(--page-gdpr-text-main);
  background-color: var(--page-gdpr-card-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-image-wrapper {
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px;
  }

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

  .page-gdpr__main-title {
    font-size: clamp(2em, 8vw, 2.8em); /* Adjusted clamp for mobile */
  }

  .page-gdpr__section-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjusted clamp for mobile */
  }

  .page-gdpr__intro-text {
    font-size: 1em;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px;
  }

  .page-gdpr__hero-content .page-gdpr__btn-primary {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__video-section {
    padding-top: 10px !important;
  }

  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-gdpr__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__card-grid .page-gdpr__grid-layout,
  .page-gdpr__usage-points,
  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
  }
}