/* style/gdpr.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #1E90FF;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light: #f9f9f9;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.08);
  --card-bg-light-mode: #ffffff;
  --border-color: #e0e0e0;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherited from shared.css, but set explicitly for clarity */
  padding-top: 120px; /* Space for fixed header */
}

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

/* Sections */
.page-gdpr__hero-section {
  background: linear-gradient(135deg, #0a0a0a 0%, rgba(30, 144, 255, 0.2) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
  padding-top: 10px; /* Adjust for fixed header in hero section */
}

.page-gdpr__content-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 60px 0;
}

.page-gdpr__principles-section {
  background-color: #1a1a1a;
  color: var(--text-light);
  padding: 60px 0;
}

.page-gdpr__rights-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 60px 0;
}

.page-gdpr__security-section {
  background-color: #1a1a1a;
  color: var(--text-light);
  padding: 60px 0;
}

.page-gdpr__contact-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 60px 0;
}

.page-gdpr__commitment-section {
  background: linear-gradient(45deg, rgba(255, 215, 0, 0.2) 0%, #0a0a0a 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
}

/* Headings */
.page-gdpr__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

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

.page-gdpr__rights-item-title {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* Paragraphs and Descriptions */
.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-gdpr__section-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

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

.page-gdpr__text-block p a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-gdpr__text-block p a:hover {
  color: var(--primary-color);
}

/* Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-gdpr__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Lists */
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-gdpr__rights-item {
  background-color: var(--card-bg-light-mode);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__rights-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__rights-item p {
  color: var(--text-dark);
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  text-align: center;
  font-size: 1.1em;
  color: var(--text-dark);
}

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

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

.page-gdpr__contact-item a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

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

.page-gdpr__card {
  background-color: var(--card-bg-dark-mode);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-gdpr__card p {
  color: #f0f0f0;
}

.page-gdpr__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Image Styling */
.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 20px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__hero-section {
    padding: 60px 0;
    padding-top: 10px !important; /* Mobile hero section adjustment */
  }

  .page-gdpr__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

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

  .page-gdpr__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-gdpr__section-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-gdpr__text-block p {
    font-size: 1em;
  }

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

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    width: 100% !important; /* Mobile button full width */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-gdpr__card {
    padding: 20px;
  }

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

  .page-gdpr__rights-item {
    padding: 20px;
  }

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

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-left: 0;
    margin-right: 0;
    border-radius: 5px;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  /* Ensure all sections and containers are responsive */
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__contact-section,
  .page-gdpr__commitment-section,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__cta-buttons {
    padding-left: 0;
    padding-right: 0;
  }
}

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

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

  .page-gdpr__cta-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}