/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Explicitly setting background to white as per instructions */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* White text for dark overlay */
  text-align: center;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

.page-gdpr__hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 2;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

/* Call to Action Button */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-gdpr__cta-button:first-of-type { /* Register Now */
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  margin-right: 15px;
}

.page-gdpr__cta-button:first-of-type:hover {
  background-color: #FCBC45; /* Login color on hover */
  color: #FFFFFF;
}

.page-gdpr__cta-button--login {
  background-color: #FCBC45; /* Login color */
  color: #FFFFFF;
}

.page-gdpr__cta-button--login:hover {
  background-color: #e0a53b; /* Slightly darker login color on hover */
}


/* General Section Styling */
.page-gdpr__section {
  padding: 60px 20px;
  text-align: center;
}

.page-gdpr__section--dark {
  background-color: #F8F8F8; /* Light gray background for contrast */
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  margin-bottom: 40px;
  color: #000000;
}

.page-gdpr__text-intro {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

/* Content Grid for GDPR Overview */
.page-gdpr__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
}

.page-gdpr__content-block {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
}

.page-gdpr__text {
  font-size: 1em;
  color: #333333;
}

/* Rights Grid */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-gdpr__right-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-gdpr__card-icon {
  width: 300px; /* Ensure it's >= 200px */
  height: 200px; /* Ensure it's >= 200px */
  margin-bottom: 20px;
  object-fit: cover;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: #FCBC45; /* Login color for emphasis */
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 0.95em;
  color: #555555;
}

/* Protection List */
.page-gdpr__protection-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-gdpr__list-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-gdpr__list-icon {
  width: 200px; /* Enforce min image size */
  height: 200px; /* Enforce min image size */
  margin-bottom: 20px;
  object-fit: contain; /* Ensures icons scale within the 200x200 box */
}

.page-gdpr__list-title {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
}

.page-gdpr__list-text {
  font-size: 0.9em;
  color: #555555;
}

.page-gdpr__button-wrapper {
  margin-top: 40px;
}

.page-gdpr__privacy-policy-link {
  margin-top: 30px;
  font-size: 1em;
  color: #555555;
}

.page-gdpr__privacy-policy-link a {
  color: #FCBC45; /* Login color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__privacy-policy-link a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__content-grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__rights-grid,
  .page-gdpr__protection-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin-right: 0; /* Remove margin for stacked buttons */
    margin-bottom: 15px; /* Add bottom margin for stacked buttons */
    width: 100%;
  }
  .page-gdpr__section {
    padding: 40px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__text-intro {
    font-size: 0.95em;
  }
  .page-gdpr__content-image,
  .page-gdpr__card-icon,
  .page-gdpr__list-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure mobile images are still large */
    min-height: 200px; /* Ensure mobile images are still large */
  }

  /* Ensure content area images are responsive and don't overflow */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.5em;
  }
  .page-gdpr__section-title {
    font-size: 1.4em;
  }
  .page-gdpr__cta-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}