/* style/gdpr.css */

/* Custom properties for colors from the prompt */
:root {
  --gdpr-bg-primary: #08160F; /* Background */
  --gdpr-card-bg: #11271B; /* Card BG */
  --gdpr-text-main: #F2FFF6; /* Text Main */
  --gdpr-text-secondary: #A7D9B8; /* Text Secondary */
  --gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  --gdpr-border-color: #2E7A4E; /* Border */
  --gdpr-glow-color: #57E38D; /* Glow */
  --gdpr-gold-color: #F2C14E; /* Gold */
  --gdpr-divider-color: #1E3A2A; /* Divider */
  --gdpr-deep-green: #0A4B2C; /* Deep Green */
}

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  color: var(--gdpr-text-main); /* Default text color for the page */
  background-color: var(--gdpr-bg-primary); /* Use custom background color for the main content area if body is not already this color */
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom before footer */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--gdpr-bg-primary); /* Ensure consistent background */
  overflow: hidden; /* Prevent image overflow */
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and text */
}

.page-gdpr__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
  color: var(--gdpr-text-main);
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  color: var(--gdpr-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-gdpr__subtitle {
  font-size: 1.25rem;
  color: var(--gdpr-text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section common styles */
.page-gdpr__section {
  padding: 60px 0;
}

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

.page-gdpr__light-bg {
  background-color: var(--gdpr-card-bg); /* Using card bg for 'light' sections in dark theme */
  color: var(--gdpr-text-main);
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--gdpr-gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3); /* Subtle glow */
}

.page-gdpr__sub-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gdpr-glow-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

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

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

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

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

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

/* List styles */
.page-gdpr__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--gdpr-text-secondary);
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gdpr-glow-color);
  font-weight: bold;
}

.page-gdpr__contact-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

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

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

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-gdpr__btn-primary {
  background: var(--gdpr-btn-gradient);
  color: var(--gdpr-text-main); /* Light text on green gradient */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  opacity: 0.9;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--gdpr-glow-color); /* Green text */
  border: 2px solid var(--gdpr-glow-color);
  box-shadow: 0 4px 10px rgba(87, 227, 141, 0.2);
}

.page-gdpr__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: var(--gdpr-glow-color);
  color: var(--gdpr-bg-primary); /* Dark text on green background */
  box-shadow: 0 6px 15px rgba(87, 227, 141, 0.4);
}

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

.page-gdpr__text-center {
  text-align: center;
}

/* Images */
.page-gdpr__illustration,
.page-gdpr__compliance-badge {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto; /* Center images */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Inline links */
.page-gdpr__inline-link {
  color: var(--gdpr-glow-color);
  text-decoration: none;
  border-bottom: 1px solid var(--gdpr-glow-color);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-gdpr__inline-link:hover {
  color: var(--gdpr-gold-color);
  border-color: var(--gdpr-gold-color);
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding-bottom: 80px;
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: var(--gdpr-card-bg);
  border: 1px solid var(--gdpr-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gdpr-text-main);
  cursor: pointer;
  background-color: var(--gdpr-deep-green); /* Slightly darker for question header */
  border-bottom: 1px solid var(--gdpr-divider-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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


.page-gdpr__faq-question:hover {
  background-color: rgba(10, 75, 44, 0.8); /* Darker hover */
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: var(--gdpr-text-main);
}

.page-gdpr__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gdpr-gold-color);
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}


.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--gdpr-text-secondary);
  background-color: var(--gdpr-card-bg);
}
.page-gdpr__faq-answer p {
  color: var(--gdpr-text-secondary); /* Ensure paragraph text in answer is correct color */
  margin-bottom: 0; /* Remove default margin for last paragraph */
}


/* Conclusion Section */
.page-gdpr__conclusion-section {
  padding-top: 80px;
  padding-bottom: 80px;
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-gdpr__subtitle {
    font-size: 1.1rem;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-gdpr__card {
    padding: 25px;
  }
  .page-gdpr__faq-question {
    padding: 18px 20px;
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px; /* Base font size for mobile */
    line-height: 1.6;
  }

  .page-gdpr__container {
    padding: 0 15px; /* Smaller padding for mobile */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-gdpr__subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

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

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

  .page-gdpr__paragraph {
    font-size: 1rem;
  }

  .page-gdpr__sub-title {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr__grid-layout {
    grid-template-columns: 1fr; /* Stack cards vertically */
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .page-gdpr__list-item {
    font-size: 1rem;
    padding-left: 25px;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__button-group,
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to container for buttons */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__illustration,
  .page-gdpr__compliance-badge {
    margin: 30px auto;
  }

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

  .page-gdpr__faq-toggle {
    font-size: 1.5rem;
  }

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

  /* All images must be responsive */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All image containers must be responsive */
  .page-gdpr__hero-section,
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__grid-layout,
  .page-gdpr__button-group,
  .page-gdpr__cta-buttons,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }
}