/* style/gdpr.css */

/* Root variables for colors */
:root {
  --page-gdpr-primary-color: #11A84E;
  --page-gdpr-secondary-color: #22C768;
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-background: #08160F;
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-border: #2E7A4E;
  --page-gdpr-glow: #57E38D;
  --page-gdpr-gold: #F2C14E;
  --page-gdpr-divider: #1E3A2A;
  --page-gdpr-deep-green: #0A4B2C;
  --page-gdpr-light-bg-text: #333333;
  --page-gdpr-light-bg-card: #ffffff;
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-gdpr-text-main); /* Default text color for dark background */
  background-color: var(--page-gdpr-background);
}

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

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

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-gdpr__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-main);
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: clamp(1em, 1.8vw, 1.25em);
  margin-bottom: 40px;
  color: var(--page-gdpr-text-secondary);
}

/* Content Sections */
.page-gdpr__content-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__contact-section,
.page-gdpr__updates-section,
.page-gdpr__faq-section,
.page-gdpr__cta-section {
  padding: 60px 0;
}

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

.page-gdpr__light-bg {
  background-color: var(--page-gdpr-light-bg-card);
  color: var(--page-gdpr-light-bg-text);
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit from section for contrast */
}

.page-gdpr__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 15px;
  color: inherit;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__image-in-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

/* Principle Grid */
.page-gdpr__principle-grid {
  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: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-gdpr-border);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

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

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

/* Rights List */
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-gdpr__rights-item {
  background-color: var(--page-gdpr-card-bg);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  border-left: 5px solid var(--page-gdpr-primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

.page-gdpr__rights-description {
  font-size: 1em;
  color: var(--page-gdpr-text-secondary);
}

/* Security Features */
.page-gdpr__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__feature-item {
  background-color: var(--page-gdpr-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-gdpr-border);
}

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

.page-gdpr__feature-description {
  font-size: 1em;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__feature-description a {
  color: var(--page-gdpr-primary-color);
  text-decoration: none;
}

.page-gdpr__feature-description a:hover {
  text-decoration: underline;
}

/* Contact Info */
.page-gdpr__contact-info {
  text-align: center;
  margin-top: 40px;
}

.page-gdpr__contact-text {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__contact-text a:hover {
  text-decoration: underline;
}

.page-gdpr__last-updated {
  text-align: center;
  font-style: italic;
  color: var(--page-gdpr-light-bg-text);
  margin-top: 30px;
}

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

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

.page-gdpr__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--page-gdpr-text-main);
  position: relative;
  user-select: none;
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: var(--page-gdpr-gold);
}

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

.page-gdpr__faq-answer a {
  color: var(--page-gdpr-primary-color);
  text-decoration: none;
}

.page-gdpr__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: var(--page-gdpr-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--page-gdpr-primary-color);
  border: 2px solid var(--page-gdpr-primary-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-text-main);
}

/* General link styling within content */
.page-gdpr p a,
.page-gdpr li a {
  color: var(--page-gdpr-primary-color);
  text-decoration: none;
}

.page-gdpr p a:hover,
.page-gdpr li a:hover {
  text-decoration: underline;
}

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

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

  .page-gdpr__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }

  .page-gdpr__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: 2.2em;
  }

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

  .page-gdpr__section-title {
    font-size: 2em;
  }

  .page-gdpr__sub-title {
    font-size: 1.6em;
  }

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

  .page-gdpr__principle-grid,
  .page-gdpr__security-features {
    grid-template-columns: 1fr;
  }

  .page-gdpr__card,
  .page-gdpr__feature-item,
  .page-gdpr__rights-item {
    padding: 20px;
  }

  .page-gdpr__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__container,
  .page-gdpr__content-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__contact-section,
  .page-gdpr__updates-section,
  .page-gdpr__faq-section,
  .page-gdpr__cta-section,
  .page-gdpr__card,
  .page-gdpr__feature-item,
  .page-gdpr__rights-item,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}