/* style/gdpr.css */

/* Base Styles for GDPR Page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Inherit from body or shared.css */
  padding-bottom: 60px;
}

.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;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #0a0a0a; /* Dark background for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-gdpr__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
  z-index: 1;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-gdpr__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__cta-button {
  display: inline-block;
  background-color: #017439; /* Main brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

/* General Section Styles */
.page-gdpr__section {
  padding: 60px 0;
  text-align: center;
}

.page-gdpr__section:nth-of-type(odd) {
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

.page-gdpr__section:nth-of-type(even) {
  background-color: #0d0d0d; /* Darker background */
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-gdpr__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-gdpr__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-gdpr__rights-image,
.page-gdpr__data-processing-image,
.page-gdpr__security-image {
  margin-top: 40px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Security Measures Section */
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-gdpr__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #f0f0f0;
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #017439; /* Brand color checkmark */
  font-weight: bold;
}

/* Contact Section */
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-gdpr__contact-list .page-gdpr__list-item {
  padding-left: 0;
  text-align: center;
}

.page-gdpr__contact-list .page-gdpr__list-item::before {
  content: none;
}

.page-gdpr__contact-link {
  color: #017439; /* Brand color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: #005a2e;
  text-decoration: underline;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-gdpr__faq-item summary {
  list-style: none;
}

/* Final CTA Section */
.page-gdpr__cta-final {
  background-color: #017439; /* Brand color background */
  color: #ffffff;
  padding: 80px 20px;
}

.page-gdpr__cta-content {
  max-width: 800px;
}

.page-gdpr__cta-final .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__cta-final .page-gdpr__paragraph {
  color: #ffffff;
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Custom red for register/login */
  color: #FFFF00; /* Custom yellow for register/login text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-top: 30px;
}

.page-gdpr__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 3em;
  }

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

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

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

  .page-gdpr__hero-section {
    padding: 60px 20px;
  }

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

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

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

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

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

  .page-gdpr__cards-grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__card {
    padding: 20px;
  }

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

  .page-gdpr__list-item {
    font-size: 1em;
  }

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

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

  .page-gdpr__cta-final {
    padding: 60px 20px;
  }

  /* Mobile specific overrides for images, videos, and 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: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .page-gdpr__cta-button,
  .page-gdpr__btn-primary {
    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;
  }

  .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;
  }
}