/* style/gdpr.css */

/* Custom Colors */
:root {
  --page-gdpr-primary-color: #11A84E;
  --page-gdpr-secondary-color: #22C768;
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-background: #08160F;
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-border: #2E7A4E;
  --page-gdpr-glow: #57E38D;
  --page-gdpr-gold: #F2C14E;
  --page-gdpr-divider: #1E3A2A;
  --page-gdpr-deep-green: #0A4B2C;
}

/* Base styles for the GDPR page */
.page-gdpr {
  background-color: var(--page-gdpr-background);
  color: var(--page-gdpr-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  background-color: var(--page-gdpr-background);
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--page-gdpr-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: var(--page-gdpr-text-main);
  border: none;
}

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

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: var(--page-gdpr-text-main);
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__text-block {
  font-size: 1em;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__link {
  color: var(--page-gdpr-secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: var(--page-gdpr-glow);
  text-decoration: underline;
}

/* Dark Background Sections */
.page-gdpr__dark-bg {
  background-color: var(--page-gdpr-card-bg);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__dark-bg .page-gdpr__text-block {
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: var(--page-gdpr-text-main);
}

/* Principles Section */
.page-gdpr__principles .page-gdpr__section-title {
  color: var(--page-gdpr-text-main);
}

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

.page-gdpr__card {
  background-color: var(--page-gdpr-background);
  border: 1px solid var(--page-gdpr-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--page-gdpr-text-main);
  margin-bottom: 10px;
}

.page-gdpr__card-description {
  font-size: 0.95em;
  color: var(--page-gdpr-text-secondary);
}

/* User Rights Section */
.page-gdpr__user-rights .page-gdpr__section-title {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__list-item {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.05em;
  color: var(--page-gdpr-text-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-item strong {
  color: var(--page-gdpr-text-main);
}

/* Data Processing Section */
.page-gdpr__data-protection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__data-protection-item {
  background-color: var(--page-gdpr-background);
  border: 1px solid var(--page-gdpr-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__data-protection-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-gdpr__data-protection-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--page-gdpr-text-main);
  margin-bottom: 10px;
}

.page-gdpr__data-protection-description {
  font-size: 0.95em;
  color: var(--page-gdpr-text-secondary);
}

/* Contact DPO Section */
.page-gdpr__contact-dpo .page-gdpr__section-title {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__contact-info {
  margin-top: 30px;
  text-align: center;
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__contact-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__contact-item:last-child {
  margin-bottom: 0;
}

/* FAQ Section */
.page-gdpr__faq .page-gdpr__section-title {
  color: var(--page-gdpr-text-main);
}

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

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-background);
  border: 1px solid var(--page-gdpr-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--page-gdpr-text-main);
  cursor: pointer;
  background-color: var(--page-gdpr-card-bg);
  border-bottom: 1px solid var(--page-gdpr-divider);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: var(--page-gdpr-deep-green);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-gdpr-secondary-color);
}

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

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: var(--page-gdpr-text-secondary);
}

/* Hide default details marker */
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-gdpr__faq-item summary::marker {
  display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
  }
  .page-gdpr__hero-image-wrapper {
    max-height: 400px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-gdpr__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
  .page-gdpr__text-block {
    font-size: 0.95em;
  }
  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }
  .page-gdpr__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-gdpr__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
  }
  .page-gdpr__hero-description {
    font-size: 0.9em;
  }
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 30px;
  }
  .page-gdpr__text-block {
    font-size: 0.9em;
  }

  /* Images responsiveness */
  .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,
  .page-gdpr__hero-section,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__data-protection-grid,
  .page-gdpr__contact-info,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 0.95em;
  }
  .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;
  }
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* FAQ responsiveness */
  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-gdpr__faq-answer {
    padding: 15px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-image-wrapper {
    max-height: 200px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.4em, 7vw, 2em);
  }
  .page-gdpr__hero-description {
    font-size: 0.85em;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.3em, 6vw, 1.8em);
  }
  .page-gdpr__card-title {
    font-size: 1.2em;
  }
  .page-gdpr__data-protection-title {
    font-size: 1.1em;
  }
  .page-gdpr__contact-item {
    font-size: 1em;
  }
}