/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #0A1F3B; /* Dark text for light body background */
  background-color: #f8f8f8; /* Slightly off-white background for main content area */
  padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A1F3B; /* Dark blue background for hero */
  color: #ffffff; /* Light text for dark hero background */
  padding: 80px 0; /* Adjust padding as needed, padding-top handled by main wrapper */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  z-index: 1;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  font-weight: bold;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A1F3B; /* Dark text on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 200px; /* Ensure button is not too small */
}

.page-gdpr__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

/* General Section Styles */
.page-gdpr__intro-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__contact-section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-gdpr__principles-section {
  background-color: #ffffff; /* White background for principles section */
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #0A1F3B; /* Dark blue for section titles */
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__section-paragraph {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: center;
}

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

.page-gdpr__grid-item {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-gdpr__grid-image {
  width: 100%; /* Image fills grid item width */
  height: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__grid-title {
  font-size: 1.5em;
  color: #0A1F3B;
  margin-bottom: 15px;
}

.page-gdpr__grid-description {
  font-size: 1em;
  color: #555;
}

/* Rights List */
.page-gdpr__rights-list {
  max-width: 900px;
  margin: 0 auto 30px auto;
  list-style: none; /* Remove default bullet points */
  padding: 0;
}

.page-gdpr__rights-list li {
  background-color: #ffffff;
  border-left: 5px solid #FFD700; /* Gold accent bar */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  font-size: 1.05em;
  color: #333;
}

.page-gdpr__rights-list li strong {
  color: #0A1F3B;
}

.page-gdpr__text-link {
  color: #FFD700; /* Gold link color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
  color: #e6c200; /* Slightly darker gold on hover */
  text-decoration: underline;
}

/* Contact Section */
.page-gdpr__contact-section {
  text-align: center;
  background-color: #0A1F3B; /* Dark blue background for contact */
  color: #ffffff; /* Light text for dark background */
}

.page-gdpr__contact-section .page-gdpr__section-title {
  color: #FFD700; /* Gold title for contact section */
}

.page-gdpr__contact-section .page-gdpr__section-paragraph {
  color: #f0f0f0;
}

.page-gdpr__contact-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A1F3B; /* Dark text on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  min-width: 200px; /* Ensure button is not too small */
}

.page-gdpr__contact-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-gdpr {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

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

  .page-gdpr__hero-description,
  .page-gdpr__section-paragraph {
    font-size: 1em;
  }

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

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

  /* Ensure content area does not cause horizontal scroll */
  .page-gdpr__container {
    padding: 15px;
  }
  .page-gdpr {
    overflow-x: hidden;
  }
}

/* Ensure all images within the main content area adhere to minimum size and responsiveness */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensures images fill their space without distortion */
}

/* No CSS filters for images */
.page-gdpr img {
  filter: none !important;
}

/* Animation styles for JS */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}