/* style/gdpr.css */

/* Root variables for colors */
:root {
  --fc-primary-color: #F2C14E;
  --fc-secondary-color: #FFD36B;
  --fc-card-bg: #111111;
  --fc-site-bg: #0A0A0A;
  --fc-text-main: #FFF6D6;
  --fc-border-color: #3A2A12;
  --fc-glow-color: #FFD36B;
  --fc-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-gdpr {
  color: var(--fc-text-main); /* Default text color for the page */
  background-color: var(--fc-site-bg); /* Ensure body background is respected from shared.css */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--fc-site-bg);
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 40px; /* Space between image and content */
}

.page-gdpr__hero-content {
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
  color: var(--fc-text-main);
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--fc-text-main);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-gdpr__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__section {
  padding: 80px 0;
}

.page-gdpr__dark-bg {
  background-color: var(--fc-site-bg);
  color: var(--fc-text-main);
}

.page-gdpr__light-bg {
  background-color: var(--fc-card-bg);
  color: var(--fc-text-main);
}

.page-gdpr__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--fc-primary-color);
  line-height: 1.3;
}

.page-gdpr__introduction-section,
.page-gdpr__data-security-section,
.page-gdpr__cookie-policy-section,
.page-gdpr__conclusion-section {
  padding: 80px 0;
}

.page-gdpr__introduction-section p,
.page-gdpr__cookie-policy-section p,
.page-gdpr__conclusion-section p {
  font-size: 1.05rem;
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: center;
}

.page-gdpr__principles-section {
  padding: 80px 0;
}

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

.page-gdpr__card {
  background-color: var(--fc-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--fc-text-main);
  border: 1px solid var(--fc-border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__card-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-gdpr__card p {
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
  color: var(--fc-text-main);
}

.page-gdpr__rights-section {
  padding: 80px 0;
}

.page-gdpr__rights-section > p {
  font-size: 1.05rem;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

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

.page-gdpr__right-item {
  background-color: var(--fc-card-bg);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--fc-border-color);
  color: var(--fc-text-main);
}

.page-gdpr__right-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fc-primary-color);
}

.page-gdpr__right-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--fc-text-main);
}

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

.page-gdpr__security-item {
  background-color: var(--fc-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--fc-border-color);
  color: var(--fc-text-main);
}

.page-gdpr__security-icon {
  width: 100%;
  height: auto;
  max-width: 300px; /* Ensure images are not too small */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fc-primary-color);
}

.page-gdpr__feature-title + p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--fc-text-main);
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-gdpr__btn-primary {
  background: var(--fc-button-gradient);
  color: var(--fc-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-gdpr__btn-secondary:hover {
  background-color: var(--fc-primary-color);
  color: var(--fc-card-bg);
  transform: translateY(-2px);
}

.page-gdpr__inline-link {
  color: var(--fc-primary-color);
  text-decoration: underline;
}

.page-gdpr__inline-link:hover {
  color: var(--fc-secondary-color);
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 80px 0;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-gdpr__faq-item {
  background-color: var(--fc-card-bg);
  border: 1px solid var(--fc-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--fc-text-main);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fc-primary-color);
  background-color: var(--fc-card-bg);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-gdpr__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
  content: '−'; /* Visually change to minus, actual text change in JS */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fc-text-main);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 25px 25px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-image {
    margin-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-gdpr__card-image,
  .page-gdpr__security-icon {
    max-width: 300px;
  }
}