/* style/gdpr.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-color-light: #ffffff; /* For dark backgrounds */
  --text-color-dark: #333333; /* For light backgrounds */
  --bg-dark: #121212; /* Body background */
  --card-bg-dark: rgba(255, 255, 255, 0.1); /* Light transparent for dark bg */
  --card-bg-light: #ffffff; /* White for light bg */
  --border-color: #e0e0e0;
}

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherits from shared, but explicit for context */
  padding-top: 120px; /* Adjust for fixed header */
}

.page-gdpr__hero-section {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 0, 0, 0.2)), url('[GALLERY:gdpr:yeu88,gdpr,security,privacy,banner]') center/cover no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background-color: rgba(18, 18, 18, 0.85); /* Slightly darker overlay for text readability */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-gdpr__main-title {
  font-size: 42px;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

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

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

.page-gdpr__cta-button--secondary:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__content-section {
  padding: 80px 20px;
}

.page-gdpr__dark-section {
  background-color: rgba(255, 215, 0, 0.05); /* Slightly lighter dark background */
  color: var(--text-color-light);
}

.page-gdpr__content-container,
.page-gdpr__faq-container,
.page-gdpr__commitment-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-gdpr__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-gdpr__subsection-title {
  font-size: 28px;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.page-gdpr p {
  margin-bottom: 20px;
  font-size: 17px;
  color: var(--text-color-light);
}

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

.page-gdpr__card {
  background: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-light);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-gdpr__principle-title, .page-gdpr__feature-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-gdpr__rights-list li {
  background-color: var(--card-bg-dark);
  border-left: 5px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 16px;
  color: var(--text-color-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__rights-list li strong {
  color: var(--primary-color);
}

.page-gdpr__security-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no color filters */
}

.page-gdpr__security-item {
  text-align: center;
}

.page-gdpr__faq-section {
  padding: 80px 20px;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 215, 0, 0.03);
  border-radius: 0 0 5px 5px;
  color: var(--text-color-light);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-dark);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-gdpr__faq-question:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--primary-color);
}

.page-gdpr__faq-question:active {
  background: rgba(255, 215, 0, 0.15);
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

.page-gdpr__commitment-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--bg-dark);
}

.page-gdpr__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-gdpr__commitment-list li {
  background-color: var(--card-bg-dark);
  border-left: 5px solid var(--secondary-color);
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 16px;
  color: var(--text-color-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__commitment-list li strong {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 38px;
  }
  .page-gdpr__section-title {
    font-size: 32px;
  }
  .page-gdpr__subsection-title {
    font-size: 26px;
  }
  .page-gdpr p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    padding-top: 100px; /* Mobile header adjustment */
  }
  .page-gdpr__hero-section {
    padding: 40px 15px;
    min-height: 300px;
  }
  .page-gdpr__hero-container {
    padding: 30px 20px;
  }
  .page-gdpr__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .page-gdpr__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__cta-button {
    width: 100%;
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__content-section, .page-gdpr__faq-section, .page-gdpr__commitment-section {
    padding: 50px 15px;
  }
  .page-gdpr__content-container, .page-gdpr__faq-container, .page-gdpr__commitment-container {
    padding: 0;
  }
  .page-gdpr__section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  .page-gdpr__subsection-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-gdpr p {
    font-size: 15px;
  }
  .page-gdpr__principles-grid, .page-gdpr__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__card {
    padding: 25px;
  }
  .page-gdpr__principle-title, .page-gdpr__feature-title {
    font-size: 20px;
  }
  .page-gdpr__rights-list li, .page-gdpr__commitment-list li {
    font-size: 15px;
    padding: 12px 15px;
  }
  .page-gdpr__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-gdpr__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
  }
  .page-gdpr__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 26px;
  }
  .page-gdpr__section-title {
    font-size: 24px;
  }
  .page-gdpr__subsection-title {
    font-size: 20px;
  }
  .page-gdpr__hero-container {
    padding: 20px 15px;
  }
  .page-gdpr__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
  .page-gdpr__faq-question h3 {
    font-size: 15px;
  }
}