/* style/gdpr.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --login-color: #EA7C07;
  --background-color: #FFFFFF;
  --black-color-custom: #000000;
}

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  box-sizing: border-box;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  color: var(--text-light);
}

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

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

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-gdpr__btn-primary:hover {
  background-color: #208bc4;
}

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

.page-gdpr__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-gdpr__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  line-height: 1.3;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: var(--secondary-color);
}

.page-gdpr__light-bg .page-gdpr__section-title {
  color: var(--primary-color);
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-gdpr__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-gdpr__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-gdpr__card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.page-gdpr__rights-list,
.page-gdpr__security-list,
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__rights-item,
.page-gdpr__security-item,
.page-gdpr__contact-item {
  background-color: var(--secondary-color);
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.page-gdpr__dark-bg .page-gdpr__rights-item, 
.page-gdpr__dark-bg .page-gdpr__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.page-gdpr__item-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-gdpr__dark-bg .page-gdpr__item-title {
  color: var(--secondary-color);
}

.page-gdpr__rights-item p,
.page-gdpr__security-item p,
.page-gdpr__contact-item p {
  font-size: 1rem;
  color: var(--text-dark);
}

.page-gdpr__dark-bg .page-gdpr__rights-item p,
.page-gdpr__dark-bg .page-gdpr__security-item p {
  color: rgba(255, 255, 255, 0.8);
}

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

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

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-light);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 15px;
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-gdpr__cta-section .page-gdpr__section-title {
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-gdpr__cta-section .page-gdpr__description {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    max-width: 700px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-gdpr__card {
    padding: 25px;
  }
}

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

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

  .page-gdpr__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-gdpr__hero-image,
  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__hero-content,
  .page-gdpr__content-area,
  .page-gdpr__grid-container,
  .page-gdpr__faq-list,
  .page-gdpr__cta-section,
  .page-gdpr__rights-list,
  .page-gdpr__security-list,
  .page-gdpr__contact-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .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: 12px 20px;
    font-size: 1rem;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-gdpr__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

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

  .page-gdpr__rights-item,
  .page-gdpr__security-item,
  .page-gdpr__contact-item {
    padding: 20px 15px;
    margin-bottom: 15px;
  }

  .page-gdpr__item-title {
    font-size: 1.15rem;
  }

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

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

  .page-gdpr__cta-section {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-gdpr__section-title {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
  }
  .page-gdpr__card-title {
    font-size: 1.1rem;
  }
  .page-gdpr__faq-question {
    font-size: 0.95rem;
  }
}