/* style/gdpr.css */
/* Custom Colors */
:root {
  --gdpr-bg: #08160F;
  --gdpr-card-bg: #11271B;
  --gdpr-text-main: #F2FFF6;
  --gdpr-text-secondary: #A7D9B8;
  --gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --gdpr-border: #2E7A4E;
  --gdpr-glow: #57E38D;
  --gdpr-gold: #F2C14E;
  --gdpr-divider: #1E3A2A;
  --gdpr-deep-green: #0A4B2C;
}

/* Base styles for the GDPR page */
.page-gdpr {
  background-color: var(--gdpr-bg);
  color: var(--gdpr-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Ensure space above footer */
}

/* Header and Footer are handled by shared components, no direct styling here */

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 40px auto 0; /* Space below image */
  text-align: center;
  padding: 0 20px;
  z-index: 1;
  color: var(--gdpr-text-main);
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gdpr-gold); /* Using gold for main title for emphasis */
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
}

.page-gdpr__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--gdpr-text-secondary);
}

.page-gdpr__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--gdpr-btn-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--gdpr-glow);
  border: 2px solid var(--gdpr-glow);
}

.page-gdpr__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.2);
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--gdpr-divider);
}

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

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

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

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gdpr-glow);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--gdpr-gold);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__paragraph {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--gdpr-text-secondary);
  text-align: justify;
}

.page-gdpr__paragraph--note {
  font-style: italic;
  text-align: center;
  margin-top: 30px;
}

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

.page-gdpr__card {
  background-color: var(--gdpr-card-bg);
  border: 1px solid var(--gdpr-border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--gdpr-text-main);
}

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

.page-gdpr__card-title {
  font-size: 1.4rem;
  color: var(--gdpr-glow);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-text {
  font-size: 1rem;
  color: var(--gdpr-text-secondary);
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
  display: block;
}

.page-gdpr__image--centered {
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  max-width: 50%;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  max-width: 50%;
}

.page-gdpr__content-section::after {
  content: "";
  display: table;
  clear: both;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--gdpr-text-secondary);
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-gdpr__contact-info {
  margin-top: 30px;
  text-align: center;
}

.page-gdpr__contact-item {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--gdpr-text-main);
}

.page-gdpr__contact-link {
  color: var(--gdpr-glow);
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-gdpr__faq-item {
  background-color: var(--gdpr-card-bg);
  border: 1px solid var(--gdpr-border);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--gdpr-gold);
  background-color: var(--gdpr-deep-green);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-question:hover {
  background-color: var(--gdpr-border);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: var(--gdpr-border);
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--gdpr-text-secondary);
  border-top: 1px solid var(--gdpr-divider);
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-gdpr__hero-image--left,
  .page-gdpr__hero-image--right {
    float: none;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

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

  .page-gdpr__hero-description {
    font-size: 1rem;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-gdpr__content-section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__card-text {
    font-size: 0.95rem;
  }

  .page-gdpr__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__card-title {
    font-size: 1.2rem;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  
  .page-gdpr__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
}