/* style/gdpr.css */

/* --- Base Styles and Global Overrides (Scoped to .page-gdpr) --- */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Main Text color for dark background */
  background-color: #08160F; /* Body Background color */
  padding-top: 0; /* Handled by body in shared.css */
}

/* Ensure content is centered and has max width */
.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-gdpr__section {
  padding: 60px 0;
  text-align: center;
}

.page-gdpr__section--dark-bg {
  background-color: #0A4B2C; /* Deep Green for some sections */
}

/* Headings */
.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 */
  color: #F2FFF6; /* Main Text */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); /* Responsive H2 */
  color: #F2FFF6; /* Main Text */
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-gdpr__card-title {
  font-size: clamp(1.2rem, 3vw, 1.6rem); /* Responsive H3 */
  color: #F2FFF6; /* Main Text */
  margin-top: 15px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-gdpr__paragraph,
.page-gdpr__list li,
.page-gdpr__card-text {
  color: #A7D9B8; /* Secondary Text */
  margin-bottom: 15px;
}

.page-gdpr__list {
  list-style: disc inside;
  padding-left: 20px;
  text-align: left;
}

/* Links */
.page-gdpr__link {
  color: #57E38D; /* Glow color for links */
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #F2C14E; /* Gold on hover */
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px; /* Space between image and content */
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure hero image has a minimum height */
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

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

/* --- Buttons --- */
.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff; /* Button text color */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsive */
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Inverted gradient on hover */
}

.page-gdpr__btn-primary--large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

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

.page-gdpr__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* --- Card Styles --- */
.page-gdpr__card {
  background-color: #11271B; /* Card BG color */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #A7D9B8; /* Secondary Text for card content */
}

.page-gdpr__card-image {
  width: 100%;
  height: auto;
  max-height: 250px; /* Limit height for uniform look */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-gdpr__card--small {
  padding: 20px;
}

/* --- Call to Action Section --- */
.page-gdpr__cta-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-gdpr__cta-section .page-gdpr__section-title {
  margin-bottom: 20px;
}

.page-gdpr__cta-section .page-gdpr__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* --- Last Update Info --- */
.page-gdpr__last-update {
  margin-top: 40px;
  font-size: 0.9em;
  color: #A7D9B8; /* Secondary Text */
}

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

  .page-gdpr__container {
    padding: 0 15px; /* Smaller padding on mobile */
  }

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

  .page-gdpr__main-title {
    font-size: 2.2rem;
  }

  .page-gdpr__section-title {
    font-size: 1.6rem;
  }

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

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px;
  }

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

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

  /* Containers with images/videos */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  
  /* Buttons responsive */
  .page-gdpr__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px; /* Add some padding to buttons on mobile */
    padding-right: 15px;
  }

  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Ensure content area images also adhere to minimum size requirement */
.page-gdpr__card-image {
    min-width: 200px;
    min-height: 200px;
}
.page-gdpr__image-full {
    min-width: 200px;
    min-height: 200px;
}