/* style/gdpr.css */

/* Variables */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #26A9E0; /* Using primary color for dark sections */
  --login-button-color: #EA7C07;
}

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  background-color: var(--background-light);
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

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

.page-gdpr__dark-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-gdpr__section-title {
  font-size: 3em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__section-title--light {
  color: var(--text-light);
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__sub-title--light {
  color: var(--text-light);
}

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

.page-gdpr__paragraph--light {
  color: var(--text-light);
}

.page-gdpr__paragraph--cta {
  text-align: center;
  margin-top: 40px;
  font-size: 1.2em;
  font-weight: bold;
}

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

.page-gdpr__link:hover {
  text-decoration: underline;
}

.page-gdpr__link--light {
  color: var(--secondary-color);
}

.page-gdpr__link--light:hover {
  text-decoration: underline;
}

/* Buttons */
.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;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-gdpr__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-primary:hover {
  background-color: #1a8cc7; /* Manually darkened version of #26A9E0 */
  border-color: #1a8cc7;
}

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

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  background-color: var(--primary-color);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  padding: 60px 0; /* Adjusted: page-gdpr handles top offset */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  z-index: 1;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.page-gdpr__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--text-light);
}

.page-gdpr__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

.page-gdpr__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Cards */
.page-gdpr__card {
  background-color: var(--background-light);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-gdpr__card--dark-bg {
  background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white on dark background */
  color: var(--text-light);
  box-shadow: none;
}

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

.page-gdpr__card--dark-bg .page-gdpr__card-title {
  color: var(--secondary-color);
}

.page-gdpr__card-text {
  font-size: 1em;
  line-height: 1.6;
}

/* Lists */
.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-gdpr__list--light {
  color: var(--text-light);
}

.page-gdpr__list-item {
  margin-bottom: 10px;
}

.page-gdpr__list-item--light {
  color: var(--text-light);
}

/* Images in content */
.page-gdpr__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-gdpr__faq-question:hover {
  background-color: #f0f0f0;
}

.page-gdpr__faq-title {
  font-size: 1.2em;
  color: var(--primary-color);
  margin: 0;
  font-weight: bold;
}

.page-gdpr__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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