/* style/gdpr.css */

/* Base styles for the page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background #121212 */
  background-color: transparent; /* Body background from shared.css */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above content */
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom */
  text-align: center;
  overflow: hidden; /* Ensure no overflow */
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-gdpr__subtitle {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* General Section Styles */
.page-gdpr__section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections */
  margin-bottom: 20px;
}

.page-gdpr__section:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

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

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* List Styles */
.page-gdpr__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-gdpr__list-item strong {
  color: #26A9E0;
}

/* Image Styles */
.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image--center {
  margin-left: auto;
  margin-right: auto;
}

/* Contact Info */
.page-gdpr__contact-info {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
}

.page-gdpr__contact-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-gdpr__contact-item strong {
  color: #26A9E0;
}

.page-gdpr__link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #EA7C07; /* Login color for hover */
  text-decoration: underline;
}

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

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-primary:hover {
  background-color: #1a7bb0;
  border-color: #1a7bb0;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: #ffffff; /* White text for question */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #e0e0e0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.08);
}

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

  .page-gdpr__hero-section {
    padding: 10px 15px 40px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
  }

  .page-gdpr__subtitle {
    font-size: 1em;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    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__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

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

  .page-gdpr__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

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

  .page-gdpr__list {
    padding-left: 20px;
  }

  .page-gdpr__list-item {
    font-size: 1em;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__contact-info {
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }

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