/* style/gdpr.css */
:root {
  --primary-color: #007BFF;
  --secondary-color: #FFC107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #212529;
  --border-color: #e0e0e0;
}

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

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

.page-gdpr .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: bold;
}

.page-gdpr h1 {
  font-size: 3.2em;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr h2 {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-gdpr h3 {
  font-size: 1.6em;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

.page-gdpr ul li {
  margin-bottom: 8px;
  font-size: 1.05em;
}

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

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

.page-gdpr .cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr .cta-button:hover {
  background: #e0a800; /* Slightly darker secondary for hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-gdpr .hero-section {
  position: relative;
  width: 100%;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Darker shade of primary */
  color: var(--text-light);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-gdpr .hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr .hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
}

/* Intro Section */
.page-gdpr .intro-section {
  padding: 80px 0 40px;
  background-color: var(--bg-light);
}

.page-gdpr .intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr .intro-content p {
  max-width: 800px;
  text-align: justify;
}

.page-gdpr .intro-content .content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Principles Section */
.page-gdpr .principles-section {
  padding: 40px 0 80px;
  background-color: #f0f4f8; /* A lighter shade for contrast */
}

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

.page-gdpr .principle-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr .principle-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-gdpr .principle-item h3 {
  color: var(--primary-color);
  margin-top: 0;
}

.page-gdpr .principle-item p {
  font-size: 1em;
  text-align: justify;
}

/* Data Collection Section */
.page-gdpr .data-collection-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

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

.page-gdpr .data-type-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr .data-type-item h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.4em;
}

.page-gdpr .data-type-item ul {
  list-style: circle;
  margin-left: 20px;
  margin-bottom: 0;
}

.page-gdpr .data-type-item .content-image-small {
  width: 100%;
  height: auto;
  max-width: 400px; /* Adjust max-width for smaller content images */
  display: block;
  margin: 20px auto 0;
  border-radius: 6px;
  object-fit: cover;
}

/* User Rights Section */
.page-gdpr .user-rights-section {
  padding: 80px 0;
  background-color: #f0f4f8;
}

.page-gdpr .rights-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-gdpr .rights-list li {
  background: #ffffff;
  padding: 20px 25px;
  border-left: 5px solid var(--primary-color);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  font-weight: bold;
  color: var(--text-dark);
  transition: border-left-color 0.3s ease;
}

.page-gdpr .rights-list li:hover {
  border-left-color: var(--secondary-color);
}

/* Security Measures Section */
.page-gdpr .security-measures-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

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

.page-gdpr .security-feature-item {
  text-align: center;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-gdpr .security-feature-item .feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-gdpr .security-feature-item h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.5em;
}

/* Cookies Section */
.page-gdpr .cookies-section {
  padding: 80px 0;
  background-color: #f0f4f8;
}

.page-gdpr .cookies-section .content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Contact DPO Section */
.page-gdpr .contact-dpo-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  text-align: center;
}

.page-gdpr .contact-dpo-section p {
  font-size: 1.15em;
  margin-bottom: 20px;
}

/* Commitment Section */
.page-gdpr .commitment-section {
  padding: 80px 0;
  background-color: #f0f4f8;
}

.page-gdpr .commitment-section .content-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-gdpr .faq-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.page-gdpr .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-gdpr .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-question:hover {
  background: #f5f5f5;
}

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

.page-gdpr .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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

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

.page-gdpr .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 25px;
  border-top: 1px solid var(--border-color);
}

.page-gdpr .faq-answer p {
  margin: 0;
  font-size: 1.05em;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr .section-title {
    font-size: 2em;
  }
  .page-gdpr h1 {
    font-size: 2.5em;
  }
  .page-gdpr h2 {
    font-size: 1.8em;
  }
  .page-gdpr h3 {
    font-size: 1.4em;
  }
  .page-gdpr .principles-grid,
  .page-gdpr .data-types-list,
  .page-gdpr .rights-list,
  .page-gdpr .security-features-grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr .hero-section {
    padding: 80px 0;
    min-height: 300px;
  }
  .page-gdpr .hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-gdpr .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }
  .page-gdpr h1 {
    font-size: 2em;
  }
  .page-gdpr h2 {
    font-size: 1.6em;
  }
  .page-gdpr h3 {
    font-size: 1.3em;
  }
  .page-gdpr p,
  .page-gdpr ul li,
  .page-gdpr .cta-button {
    font-size: 1em;
  }
  .page-gdpr .hero-section {
    padding: 60px 0;
  }
  .page-gdpr .intro-section,
  .page-gdpr .principles-section,
  .page-gdpr .data-collection-section,
  .page-gdpr .user-rights-section,
  .page-gdpr .security-measures-section,
  .page-gdpr .cookies-section,
  .page-gdpr .contact-dpo-section,
  .page-gdpr .commitment-section,
  .page-gdpr .faq-section {
    padding: 50px 0;
  }
  .page-gdpr .faq-question {
    padding: 15px 20px;
  }
  .page-gdpr .faq-answer {
    padding: 20px;
  }
  .page-gdpr .faq-question h3 {
    font-size: 1.1em;
  }
  .page-gdpr .faq-toggle {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-gdpr .hero-content h1 {
    font-size: 1.8em;
  }
  .page-gdpr .hero-content p {
    font-size: 0.95em;
  }
  .page-gdpr .cta-button {
    padding: 12px 25px;
    font-size: 0.95em;
  }
  .page-gdpr .intro-content .content-image,
  .page-gdpr .cookies-section .content-image,
  .page-gdpr .commitment-section .content-image {
    margin: 20px 0;
  }
  .page-gdpr .data-type-item .content-image-small {
    max-width: 100%;
  }
}