/* style/gdpr.css */

/* Body background from shared.css: #08162B (Deep Navy) - Dark background */
/* Therefore, main text color should be light: #F3F8FF (Text Main) */

.page-gdpr {
  font-family: Arial, sans-serif;
  color: var(--page-gdpr-text-main, #F3F8FF); /* Default text color for the page content */
  line-height: 1.6;
}

/* Custom CSS variables for easier color management */
:root {
  --page-gdpr-primary-color: #113B7A; /* Main color */
  --page-gdpr-secondary-color: #1D5FD1; /* Auxiliary color */
  --page-gdpr-card-bg: #10233F; /* Card Background */
  --page-gdpr-text-main: #F3F8FF; /* Text Main */
  --page-gdpr-text-secondary: #AFC4E8; /* Text Secondary */
  --page-gdpr-border-color: #244D84; /* Border */
  --page-gdpr-glow-color: #4FA8FF; /* Glow */
  --page-gdpr-gold-color: #F2C14E; /* Gold */
  --page-gdpr-divider-color: #1B3357; /* Divider */
  --page-gdpr-deep-navy: #08162B; /* Deep Navy */
  --page-gdpr-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button Gradient */
}

/* Fixed header spacing: body already has padding-top from shared.css */
/* This page's first section should not add var(--header-offset) */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles main offset */
  background-color: var(--page-gdpr-deep-navy); /* Match body background for seamless look */
  overflow: hidden; /* Ensure image doesn't overflow */
}

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

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

.page-gdpr__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-gdpr-text-main);
  margin-bottom: 20px;
  max-width: 100%; /* Ensure H1 doesn't overflow */
}

.page-gdpr__subtitle {
  font-size: 1.1em;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 30px;
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  background: var(--page-gdpr-button-gradient);
  color: #ffffff; /* White text on blue gradient for contrast */
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-gdpr__content-section {
  background-color: var(--page-gdpr-deep-navy); /* Consistent background */
  padding: 80px 0;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__section-title {
  font-weight: 700;
  line-height: 1.3;
  color: var(--page-gdpr-text-main);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  color: var(--page-gdpr-text-secondary);
  text-align: justify;
}

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

.page-gdpr__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background-color: var(--page-gdpr-card-bg); /* Card Background #10233F */
  color: var(--page-gdpr-text-main); /* Text Main #F3F8FF */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-gdpr-border-color); /* Border #244D84 */
  transition: transform 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
}

.page-gdpr__card-title {
  font-weight: 600;
  color: var(--page-gdpr-gold-color); /* Gold for card titles */
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__link {
  color: var(--page-gdpr-secondary-color); /* Auxiliary color for links */
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: var(--page-gdpr-glow-color); /* Glow color on hover */
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  background: transparent;
  color: var(--page-gdpr-secondary-color); /* Auxiliary color for text */
  border: 2px solid var(--page-gdpr-secondary-color); /* Auxiliary color for border */
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-secondary:hover {
  background: var(--page-gdpr-secondary-color);
  color: #ffffff; /* White text on hover */
  transform: translateY(-2px);
}

.page-gdpr__footer-note {
  background-color: var(--page-gdpr-deep-navy); /* Consistent background */
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid var(--page-gdpr-divider-color); /* Divider #1B3357 */
}

.page-gdpr__copyright-text {
  font-size: 0.9em;
  color: var(--page-gdpr-text-secondary);
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__subtitle {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__card-grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__hero-section,
  .page-gdpr__content-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }

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

  /* Mobile container adaptation */
  .page-gdpr__hero-section,
  .page-gdpr__content-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;
  }

  /* Mobile button adaptation */
  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.7em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__hero-section {
    padding: 40px 10px;
    padding-top: 10px; /* Small top padding for mobile */
  }
  .page-gdpr__content-section {
    padding: 50px 0;
  }
}