/* style/gdpr.css */

/* Base styles for GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from shared.css, set here for clarity */
  padding-top: 120px; /* Fixed header spacing for desktop */
}

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

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

.page-gdpr__main-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-gdpr__list strong {
  color: #FFD700;
}

.page-gdpr__text-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Color contrast helpers */
.page-gdpr__dark-bg {
  background-color: #1A202C;
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #282828;
  color: #f0f0f0;
}

/* Feature grid for aw8 commitment */
.page-gdpr__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__feature-card {
  background-color: #282828;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-gdpr__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-gdpr__feature-card p {
  font-size: 1em;
  color: #e0e0e0;
}

.page-gdpr__image-full-width {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-gdpr__image-spacing {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

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

.page-gdpr__right-card {
  background-color: #282828;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-gdpr__right-card:hover {
  background-color: #3a3a3a;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__right-card h3 {
  color: #FFD700;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-gdpr__right-card p {
  font-size: 0.95em;
  color: #cccccc;
}

/* Contact info */
.page-gdpr__contact-info {
  margin-top: 30px;
  font-size: 1.1em;
  color: #f0f0f0;
}

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

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

.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #282828;
  border-radius: 0 0 5px 5px;
  color: #e0e0e0;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1A202C;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-gdpr__faq-question:hover {
  background: #282828;
  border-color: #FFD700;
}

.page-gdpr__faq-question:active {
  background: #3a3a3a;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* CTA Section */
.page-gdpr__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #1A202C;
  border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.page-gdpr__cta-section .page-gdpr__section-title {
  color: #FFD700;
}

.page-gdpr__cta-section .page-gdpr__text-block {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.15em;
  color: #f0f0f0;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #1A202C;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(90deg, #FFA500, #FFD700);
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2.2em;
  }
  .page-gdpr__sub-title {
    font-size: 1.6em;
  }
  .page-gdpr__feature-grid, .page-gdpr__rights-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    padding-top: 100px; /* Fixed header spacing for mobile */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__hero-section, .page-gdpr__section, .page-gdpr__cta-section {
    padding: 40px 0;
  }
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__description {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
  }
  .page-gdpr__text-block, .page-gdpr__list li, .page-gdpr__contact-info p {
    font-size: 0.95em;
  }
  .page-gdpr__feature-grid, .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__feature-card, .page-gdpr__right-card {
    padding: 20px;
  }
  .page-gdpr__card-title {
    font-size: 1.3em;
  }
  .page-gdpr__faq-question {
    padding: 15px;
  }
  .page-gdpr__faq-question h3 {
    font-size: 1em;
  }
  .page-gdpr__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }
  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 1.05em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  /* Ensure all images are responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__hero-image, .page-gdpr__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__cta-section .page-gdpr__text-block {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__btn-primary {
    padding: 10px 20px;
    font-size: 1em;
  }
}