/* style/gdpr.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --bg-color-dark: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-gdpr {
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--bg-color-dark);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__section-title {
  font-size: 2.5rem;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-gdpr__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: var(--text-secondary);
  list-style: disc inside;
}

.page-gdpr__list-item strong {
  color: var(--text-main);
}

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

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-gdpr__hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: var(--text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Dark background section */
.page-gdpr__dark-bg {
  background-color: var(--deep-green);
}

/* Grid layout for principles and rights sections */
.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-gdpr__grid-container--reverse {
  grid-template-columns: 1fr 1fr;
}

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

.page-gdpr__principles-list, .page-gdpr__rights-list, .page-gdpr__measures-list {
  list-style: none;
  padding-left: 0;
}

.page-gdpr__principles-list .page-gdpr__list-item, 
.page-gdpr__rights-list .page-gdpr__list-item, 
.page-gdpr__measures-list .page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.page-gdpr__principles-list .page-gdpr__list-item::before, 
.page-gdpr__rights-list .page-gdpr__list-item::before, 
.page-gdpr__measures-list .page-gdpr__list-item::before {
  content: '✓';
  color: var(--gold-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-bg);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: var(--deep-green);
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold-color);
  margin-left: 15px;
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.0rem;
  color: var(--text-secondary);
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__section-title {
    font-size: 2rem;
  }
  .page-gdpr__hero-content {
    padding: 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  }
  .page-gdpr__hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }
  .page-gdpr__grid-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-gdpr__grid-container--reverse {
    grid-template-columns: 1fr;
  }
  .page-gdpr__grid-container--reverse .page-gdpr__image {
    order: -1; /* Image appears above text on mobile */
  }
}

@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8rem;
  }
  .page-gdpr__text-block {
    font-size: 1rem;
  }
  .page-gdpr__list-item {
    font-size: 0.95rem;
  }
  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-content,
  .page-gdpr__grid-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-section {
    padding-top: 10px !important;
  }
  .page-gdpr__faq-question {
    font-size: 1.1rem;
  }
  .page-gdpr__faq-answer {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-gdpr__section-title {
    font-size: 1.5rem;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  }
  .page-gdpr__hero-description {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
  }
  .page-gdpr__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px 15px 15px;
  }
}