/* style/gdpr.css */

/* Base styles for the page, assuming a dark body background from shared.css */
.page-gdpr {
  color: #F2FFF6; /* Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #08160F; /* Background */
}

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

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

.page-gdpr__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-gdpr__subtitle {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-gdpr__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

/* Section Titles */
.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  border-bottom: 2px solid #2E7A4E; /* Border */
  padding-bottom: 15px;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: #22C768; /* Accent color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Content Blocks */
.page-gdpr__content-block p {
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__content-block ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__content-block li {
  margin-bottom: 8px;
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Specific Section Styles */
.page-gdpr__intro-section,
.page-gdpr__rights-section,
.page-gdpr__contact-section {
  background-color: #08160F; /* Background */
  padding: 40px 0;
}

.page-gdpr__principles-section,
.page-gdpr__implementation-section,
.page-gdpr__faq-section {
  background-color: #11271B; /* Card BG */
  padding: 40px 0;
}

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

.page-gdpr__faq-item {
  background-color: #08160F; /* Background */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  transition: background-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: #1E3A2A; /* Divider - slightly darker for hover */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #2AD16F; /* Button start gradient */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 15px 25px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    padding: 0 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-gdpr__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }
  .page-gdpr__sub-title {
    font-size: clamp(1.2em, 3vw, 1.6em);
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-gdpr__hero-image-wrapper {
    max-height: 300px;
  }
  .page-gdpr__hero-content {
    padding: 0;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-gdpr__subtitle {
    font-size: 1em;
  }
  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-gdpr__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 30px;
    padding-top: 30px;
  }
  .page-gdpr__sub-title {
    font-size: clamp(1.1em, 3.5vw, 1.4em);
    margin-top: 25px;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__content-image {
    margin: 20px 0 !important;
  }
  
  /* Sections and content containers responsive */
  .page-gdpr__intro-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__implementation-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section {
    padding: 30px 0 !important;
  }
  .page-gdpr__content-block,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-gdpr__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-image-wrapper {
    max-height: 200px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }
  .page-gdpr__subtitle {
    font-size: 0.9em;
  }
  .page-gdpr__cta-button {
    font-size: 0.85em;
  }
}