/* style/gdpr.css */

/* Base styles for GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--secondary-color); /* Inherit from shared, should be dark */
  padding-top: 120px; /* Space for fixed header on desktop */
}

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

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

.page-gdpr__section--intro {
  background-color: #1A1A2E;
}

.page-gdpr__section--principles {
  background-color: #121220;
}

.page-gdpr__section--rights {
  background-color: #1A1A2E;
}

.page-gdpr__section--protection {
  background-color: #121220;
}

.page-gdpr__section--contact {
  background-color: #1A1A2E;
  text-align: center;
}

.page-gdpr__section--faq {
  background-color: #121220;
}

.page-gdpr__heading {
  font-size: 36px;
  color: #FFD700; /* Gold for headings */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__sub-heading {
  font-size: 24px;
  color: #FFD700; /* Gold for sub-headings */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-gdpr__list-item {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  font-size: 17px;
  color: #f0f0f0;
}

.page-gdpr__list-item::before {
  content: '✔';
  color: #FFD700; /* Gold checkmark */  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* Hero Banner Specific Styles */
.page-gdpr__hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 400px; /* Fixed height for banner */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability, not color change */
  z-index: 1;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
}

.page-gdpr__hero-title {
  font-size: 48px;
  color: #FFD700; /* Gold title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 0;
}

/* Cards Grid for Rights Section */
.page-gdpr__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background-color: #2a2a40; /* Slightly lighter dark background for cards */
  border: 1px solid #FFD700; /* Gold border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
}

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

.page-gdpr__card-title {
  font-size: 22px;
  color: #FFD700; /* Gold for card titles */
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-text {
  font-size: 16px;
  color: #f0f0f0;
}

/* Content with Image Section */
.page-gdpr__content-with-image {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
}

.page-gdpr__text-block {
  flex: 2;
}

.page-gdpr__image-block {
  flex: 1;
  text-align: center;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Contact Section */
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__contact-item {
  font-size: 18px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-gdpr__contact-link {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #FFD700; /* Gold background */
  color: #1A1A2E; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  background-color: #fff;
  color: #FFD700;
}

.page-gdpr__link-inline {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__link-inline:hover {
  text-decoration: underline;
}

/* FAQ Section Styles */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: #1A1A2E; /* Dark background for FAQ item */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a40; /* Slightly lighter dark for question header */
  border: 1px solid #FFD700; /* Gold border */
  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: #3c3c5c;
  border-color: #ffd700;
}

.page-gdpr__faq-question:active {
  background: #4a4a6a;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: #f0f0f0; /* Light text for question */
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

.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 20px;
  opacity: 0;
  color: #f0f0f0;
  background-color: #1A1A2E; /* Dark background for answer content */
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* Use !important and large value to ensure expansion */
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
  border-top: 1px solid #FFD700; /* Gold line above answer */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 40px;
  }
  .page-gdpr__hero-description {
    font-size: 18px;
  }
  .page-gdpr__heading {
    font-size: 30px;
  }
  .page-gdpr__sub-heading {
    font-size: 22px;
  }
  .page-gdpr__cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-gdpr__content-with-image {
    flex-direction: column;
    align-items: center;
  }
  .page-gdpr__text-block, .page-gdpr__image-block {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    padding-top: 100px; /* Space for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__hero-banner {
    height: 300px;
  }
  .page-gdpr__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-gdpr__hero-description {
    font-size: 16px;
  }
  .page-gdpr__heading {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-gdpr__sub-heading {
    font-size: 20px;
  }
  .page-gdpr__paragraph, .page-gdpr__list-item, .page-gdpr__card-text {
    font-size: 15px;
  }
  .page-gdpr__cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__card {
    padding: 20px;
  }
  .page-gdpr__card-title {
    font-size: 20px;
  }
  .page-gdpr__contact-item {
    font-size: 16px;
  }
  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-gdpr__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-gdpr__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-gdpr__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }
  /* Mobile image specific rules */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-banner,
  .page-gdpr__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-banner {
    padding-left: 0;
    padding-right: 0;
  }
}