/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-secondary); /* A7D9B8 - light text for dark background */
  background-color: var(--bg-color); /* #08160F - dark background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--deep-green); /* #0A4B2C */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  margin-bottom: 30px; /* Space between image and content */
  overflow: hidden;
  border-radius: 8px;
}

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

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

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
}

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider); /* #1E3A2A */
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-main); /* #F2FFF6 */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text-main); /* #F2FFF6 */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-gdpr__text-block {
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 20px;
}

.page-gdpr__keyword {
  color: var(--glow); /* #57E38D */
  font-weight: bold;
}

/* Image Wrapper for content images */
.page-gdpr__image-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-gdpr__card {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-secondary); /* #A7D9B8 */
}

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

.page-gdpr__card-title {
  font-size: 1.35rem;
  color: var(--glow); /* #57E38D */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__card-text {
  font-size: 0.95rem;
  color: var(--text-secondary); /* #A7D9B8 */
}

/* Security List */
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-secondary); /* #A7D9B8 */
  font-size: 1rem;
}

.page-gdpr__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--glow); /* #57E38D */
  font-weight: bold;
}

/* Contact Section */
.page-gdpr__contact-info {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 12px;
  padding: 30px;
  margin: 30px auto;
  max-width: 700px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__contact-item strong {
  color: var(--glow); /* #57E38D */
}

.page-gdpr__contact-link {
  color: var(--gold); /* #F2C14E */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: var(--glow); /* #57E38D */
  text-decoration: underline;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main); /* #F2FFF6 */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-contact {
  margin-top: 30px;
}

/* FAQ Section */
.page-gdpr__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__faq-item {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-gdpr__faq-item:hover {
  background-color: var(--deep-green); /* #0A4B2C */
  border-color: var(--glow); /* #57E38D */
}

.page-gdpr__faq-item summary {
  list-style: none; /* Hide default marker for details tag */
}
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main); /* #F2FFF6 */
  cursor: pointer;
  transition: color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  color: var(--glow); /* #57E38D */
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold); /* #F2C14E */
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  line-height: 1.7;
}

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
}
.page-gdpr__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
  }
  .page-gdpr__grid-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset, this is decorative */
  }

  .page-gdpr__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-gdpr__hero-description {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    margin-bottom: 25px;
  }

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

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

  .page-gdpr__sub-title {
    font-size: clamp(1.1rem, 4vw, 1.6rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr__text-block,
  .page-gdpr__card-text,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer {
    font-size: 0.9rem;
  }

  .page-gdpr__card {
    padding: 25px;
  }

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

  .page-gdpr__btn-primary {
    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;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__contact-info {
    padding: 25px;
  }

  .page-gdpr__contact-item {
    font-size: 1rem;
  }

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

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile container responsiveness for images/videos/buttons */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-wrapper,
  .page-gdpr__contact-info,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Add horizontal padding to main content containers to prevent edge-to-edge content */
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific override for hero-section to avoid double padding */
  .page-gdpr__hero-section.page-gdpr__section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-gdpr__hero-section .page-gdpr__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure video/button containers also adapt */
  .page-gdpr__btn-container,
  .page-gdpr__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

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

/* Ensure color contrast for elements */
/* Body background is dark (#08160F), so text should be light */
.page-gdpr,
.page-gdpr p,
.page-gdpr li,
.page-gdpr__card-text,
.page-gdpr__faq-answer p {
  color: var(--text-secondary); /* A7D9B8 is light enough */
}

.page-gdpr__main-title,
.page-gdpr__section-title,
.page-gdpr__sub-title,
.page-gdpr__card-title,
.page-gdpr__faq-question,
.page-gdpr__contact-item {
  color: var(--text-main); /* F2FFF6 is light */
}

.page-gdpr__btn-primary {
  color: var(--text-main); /* F2FFF6 */
}

/* Dark backgrounds */
.page-gdpr__card,
.page-gdpr__contact-info {
  background-color: var(--card-bg); /* #11271B is dark */
}

/* Links */
.page-gdpr a {
  color: var(--gold); /* #F2C14E */
}
.page-gdpr a:hover {
  color: var(--glow); /* #57E38D */
}

/* No CSS filters for images */
.page-gdpr img {
  filter: none;
}