/* style/gdpr.css */
:root {
  --primary-color: #1A237E;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #1A237E;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark);
  line-height: 1.6;
  background-color: var(--background-light);
}

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

.page-gdpr-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3f51b5 100%);
  color: var(--text-color-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-gdpr-hero h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-gdpr-hero p {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  opacity: 0.9;
}

.page-gdpr-cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr-cta-button:hover {
  background-color: #ffc107; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-gdpr-section:last-of-type {
  border-bottom: none;
}

.page-gdpr-section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

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

.page-gdpr-section h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-gdpr-section p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-gdpr-section ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

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

.page-gdpr-section ul li strong {
  color: var(--primary-color);
}

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

.page-gdpr-card {
  background-color: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-gdpr-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-gdpr-card h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-gdpr-card p {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-gdpr-image-full {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* FAQ Section Styling */
.page-gdpr-faq .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--card-background);
}

.page-gdpr-faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-gdpr-faq .faq-question:hover {
  background: #f0f0f0;
}

.page-gdpr-faq .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

.page-gdpr-faq .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

.page-gdpr-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555555;
}

.page-gdpr-faq .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 25px;
}

.page-gdpr-faq .faq-answer p {
  margin: 0;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-gdpr-contact a, .page-gdpr-faq a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr-contact a:hover, .page-gdpr-faq a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr-hero h1 {
    font-size: 2.8em;
  }
  .page-gdpr-hero p {
    font-size: 1.1em;
  }
  .page-gdpr-section h2 {
    font-size: 2.2em;
  }
  .page-gdpr-section h3 {
    font-size: 1.5em;
  }
  .page-gdpr-section p, .page-gdpr-section ul li {
    font-size: 1em;
  }
  .page-gdpr-card h3 {
    font-size: 1.4em;
  }
  .page-gdpr-card p {
    font-size: 0.95em;
  }
}

@media (max-width: 768px) {
  .page-gdpr-hero {
    padding: 60px 15px;
  }
  .page-gdpr-hero h1 {
    font-size: 2.2em;
  }
  .page-gdpr-hero p {
    font-size: 1em;
  }
  .page-gdpr-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-gdpr-section {
    padding: 40px 0;
  }
  .page-gdpr-section h2 {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-gdpr-section h3 {
    font-size: 1.3em;
    margin-top: 30px;
  }
  .page-gdpr-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr-card {
    padding: 20px;
  }
  .page-gdpr-faq .faq-question {
    padding: 15px 20px;
  }
  .page-gdpr-faq .faq-question h3 {
    font-size: 1.1em;
  }
  .page-gdpr-faq .faq-toggle {
    font-size: 1.5em;
  }
  .page-gdpr-faq .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-gdpr-hero h1 {
    font-size: 1.8em;
  }
  .page-gdpr-hero p {
    font-size: 0.9em;
  }
  .page-gdpr-section h2 {
    font-size: 1.6em;
  }
  .page-gdpr-section h3 {
    font-size: 1.2em;
  }
  .page-gdpr-section p, .page-gdpr-section ul li {
    font-size: 0.9em;
  }
  .page-gdpr-faq .faq-question h3 {
    font-size: 1em;
  }
}