/* style/gdpr.css */

/* Variables */
:root {
  --primary-color: #0A246A;
  --secondary-color: #F7B32B;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --bg-color-dark: #121212; /* From shared.css body background */
  --bg-color-light: #f9f9f9;
  --border-color: #333333;
}

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--bg-color-dark); /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: calc(var(--header-offset, 120px) + 60px); /* Adjust for fixed header */
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-gdpr__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: var(--secondary-color);
}

.page-gdpr__description {
  font-size: 1.15em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button:hover {
  background: darken(var(--secondary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--bottom {
  margin-top: 40px;
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__content-section.page-gdpr__light-bg {
  background-color: var(--bg-color-light);
  color: var(--text-color-light-bg);
  border-bottom: 1px solid #e0e0e0;
}

.page-gdpr__content-section.page-gdpr__dark-bg {
  background-color: var(--bg-color-dark);
  color: var(--text-color-dark-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  color: var(--secondary-color);
  text-align: center;
}

.page-gdpr__light-bg .page-gdpr__section-title {
  color: var(--primary-color);
}

.page-gdpr__content-section p {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-gdpr__list li {
  margin-bottom: 10px;
}

.page-gdpr__list li strong {
  color: var(--secondary-color);
}

.page-gdpr__light-bg .page-gdpr__list li strong {
  color: var(--primary-color);
}

.page-gdpr__contact-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__contact-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-gdpr__contact-list li strong {
  color: var(--secondary-color);
}

.page-gdpr__contact-list li a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__contact-list li a:hover {
  color: lighten(var(--secondary-color), 10%);
  text-decoration: underline;
}

/* Image Styling */
.page-gdpr__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.page-gdpr__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Copyright Section */
.page-gdpr__copyright-section {
  background-color: var(--bg-color-dark);
  padding: 30px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__copyright-text {
  margin: 0;
  font-size: 0.9em;
}

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

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

  .page-gdpr__hero-section {
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 300px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-section {
    padding: 40px 0;
  }

  .page-gdpr__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-gdpr__section-title {
    font-size: 1.6em;
    margin-bottom: 25px;
  }

  .page-gdpr__list,
  .page-gdpr__contact-list {
    margin-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__image-wrapper {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain; /* Ensure image fits within container */
  }

  .page-gdpr__copyright-section {
    padding: 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.4em;
  }
}