/* style/gdpr.css */

/* Base styles for GDPR page */
.page-gdpr {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding to the bottom */
}

.page-gdpr strong {
  color: #57E38D;
}

.page-gdpr a {
  color: #2AD16F;
  text-decoration: none;
}

.page-gdpr a:hover {
  text-decoration: underline;
}

/* Section spacing and container */
.page-gdpr__section {
  padding: 60px 0;
}

.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;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background-color: #0A4B2C;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1;
}

.page-gdpr__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2FFF6;
  margin-bottom: 20px;
  /* Use clamp for responsive font size without fixed large values */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-gdpr__description {
  font-size: 1.15rem;
  color: #A7D9B8;
  margin-bottom: 30px;
}

/* Section Titles */
.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Text Blocks */
.page-gdpr__text-block {
  font-size: 1rem;
  color: #A7D9B8;
  margin-bottom: 20px;
}

.page-gdpr__text-block:last-child {
  margin-bottom: 0;
}

/* Lists */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-gdpr__list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #A7D9B8;
}

.page-gdpr__list li::before {
  content: '✔'; /* Checkmark icon */
  color: #57E38D;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-gdpr__list-item-title {
  color: #F2FFF6;
  font-weight: bold;
}

/* CTA Buttons */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__cta-button--secondary {
  background: #11271B;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-gdpr__cta-button--secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Inline links */
.page-gdpr__inline-link {
  color: #57E38D;
  font-weight: bold;
}

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

/* Card styles for rights section */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-gdpr__card {
  background-color: #11271B;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E;
}

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

.page-gdpr__card-title {
  font-size: 1.4rem;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__card-text {
  font-size: 0.95rem;
  color: #A7D9B8;
}

/* Content with image grid */
.page-gdpr__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-gdpr__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__content-text {
  flex: 1;
}

.page-gdpr__content-image {
  flex: 1;
  min-width: 300px;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

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

.page-gdpr__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-question:hover {
  background-color: #1E3A2A;
}

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

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8;
  border-top: 1px solid #2E7A4E;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  border-top: 1px solid #2E7A4E;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: #1E3A2A;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-gdpr__hero-image-wrapper {
    max-height: 450px;
  }

  .page-gdpr__content-grid {
    flex-direction: column;
  }

  .page-gdpr__content-grid--reverse {
    flex-direction: column;
  }

  .page-gdpr__content-image {
    order: -1; /* Image appears above text on mobile for non-reversed grid */
  }

  .page-gdpr__content-grid--reverse .page-gdpr__content-image {
    order: unset; /* Image appears above text on mobile for reversed grid too */
  }
}

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

  .page-gdpr__container {
    padding: 0 15px;
  }

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

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

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

  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

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

  .page-gdpr__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
    width: 100% !important; /* Force full width on mobile */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Add margin between stacked buttons */
  }

  .page-gdpr__cta-button:last-child {
    margin-bottom: 0;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__content-image,
  .page-gdpr__container,
  .page-gdpr__section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-gdpr__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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