/* style/gdpr.css */

/* Custom Colors */
:root {
  --bg-primary: #08160F;
  --bg-card: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Base styles for the GDPR page */
.page-gdpr {
  background-color: var(--bg-primary); /* Assuming body is dark from shared.css */
  color: var(--text-main); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 0; /* Handled by body padding-top in shared.css */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  color: var(--text-main);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above image */
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color);
}

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

.page-gdpr__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-gdpr__btn-primary {
  background: var(--btn-gradient);
  color: var(--text-main);
  border: none;
}

.page-gdpr__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-gdpr__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 20px;
  border-bottom: 1px solid var(--divider-color);
}

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

.page-gdpr__dark-bg {
  background-color: var(--bg-card);
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--gold-color);
}

.page-gdpr__sub-title {
  font-size: clamp(1.5em, 2.5vw, 2.2em);
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--glow-color);
}

.page-gdpr__text-block {
  font-size: 1em;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-gdpr__text-block a {
  color: var(--glow-color);
  text-decoration: none;
}

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

.page-gdpr__text-block--center {
  text-align: center;
  margin-top: 30px;
  font-style: italic;
}

.page-gdpr__highlight {
  color: var(--gold-color);
  font-weight: bold;
}

.page-gdpr__two-columns {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-gdpr__two-columns--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__text-column,
.page-gdpr__image-column {
  flex: 1;
}

.page-gdpr__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--glow-color);
  font-weight: bold;
}

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

.page-gdpr__card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
}

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

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

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

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 20px;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

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

.page-gdpr__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main);
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-item summary:hover {
  background-color: var(--deep-green);
}

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

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

.page-gdpr__faq-answer .page-gdpr__text-block {
  margin-bottom: 0;
}

/* Contact Section */
.page-gdpr__contact-section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--deep-green);
}

.page-gdpr__contact-section .page-gdpr__description {
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__two-columns {
    flex-direction: column;
  }

  .page-gdpr__two-columns--reverse {
    flex-direction: column;
  }

  .page-gdpr__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 10px 15px 40px;
  }

  .page-gdpr__main-title {
    font-size: 2em; /* Smaller on mobile */
  }

  .page-gdpr__description {
    font-size: 1em;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-gdpr__content-section {
    padding: 40px 15px;
  }

  .page-gdpr__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__card-text {
    font-size: 0.9em;
  }

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

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

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

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

  .page-gdpr__contact-section {
    padding: 40px 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }

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

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

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

  .page-gdpr__card-grid {
    gap: 20px;
  }
}