/* style/gdpr.css */
:root {
  --primary-color: #0047AB;
  --secondary-color: #FFD700;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
  --border-color-dark-mode: rgba(255, 255, 255, 0.2);
}

.page-gdpr {
  color: var(--text-color-dark-bg); /* Body background is dark #121212 */
  background-color: transparent; /* Inherit from body or shared.css */
  padding-top: 120px; /* Default for non-video sections to clear fixed header */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #002D62 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--text-color-dark-bg);
  position: relative;
  z-index: 1;
  padding-top: 10px; /* Specific for hero/video to prevent clash, adjust if header is smaller */
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-subtitle {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__hero-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;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__hero-button:hover {
  background: #FFC107;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 0;
  position: relative;
}

.page-gdpr__section:nth-of-type(even) {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-color-dark-bg);
}

/* Card Styling */
.page-gdpr__card {
  background: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in a grid have equal height */
  display: flex;
  flex-direction: column;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-gdpr__block-title,
.page-gdpr__feature-title,
.page-gdpr__rights-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-gdpr__card p {
  color: var(--text-color-dark-bg);
  line-height: 1.6;
  flex-grow: 1;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  object-fit: cover;
}

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

/* Rights List */
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-gdpr__rights-item {
  background: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.page-gdpr__rights-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-gdpr__rights-item p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-color-dark-bg);
}

/* Security Features */
.page-gdpr__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__feature-item {
  text-align: center;
  padding: 30px;
}

.page-gdpr__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: contain;
}

.page-gdpr__feature-item p {
  font-size: 1em;
  line-height: 1.6;
}

/* CTA Button (General) */
.page-gdpr__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  padding: 15px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button:hover {
  background: #FFC107;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Contact Info */
.page-gdpr__contact-info {
  background: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
  border-radius: 10px;
  padding: 30px;
  margin-top: 30px;
  text-align: left;
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-color-dark-bg);
}

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

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

.page-gdpr__contact-info a:hover {
  color: #FFC107;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }

  .page-gdpr__hero-subtitle {
    font-size: 1.1em;
  }

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

  .page-gdpr__block-title,
  .page-gdpr__feature-title,
  .page-gdpr__rights-title {
    font-size: 1.6em;
  }

  .page-gdpr__content-grid,
  .page-gdpr__rights-list,
  .page-gdpr__security-features {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__hero-section {
    padding: 60px 0;
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
  }

  .page-gdpr__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-gdpr__hero-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-gdpr__hero-button {
    padding: 12px 30px;
    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__section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-gdpr__paragraph {
    font-size: 1em;
  }

  .page-gdpr__content-grid,
  .page-gdpr__rights-list,
  .page-gdpr__security-features {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-gdpr__card {
    padding: 25px;
    border-radius: 8px;
  }

  .page-gdpr__block-title,
  .page-gdpr__feature-title,
  .page-gdpr__rights-title {
    font-size: 1.4em;
    margin-bottom: 15px;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 6px;
  }

  .page-gdpr__feature-icon {
    max-width: 200px;
  }

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

  .page-gdpr__contact-info {
    padding: 25px;
  }
}

/* Ensure all images and videos are responsive */
.page-gdpr img, .page-gdpr video, .page-gdpr__video {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

.page-gdpr__video-section, .page-gdpr__video-container, .page-gdpr__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-gdpr img, .page-gdpr video, .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__video-section, .page-gdpr__video-container, .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-gdpr__video-section {
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
  }
}

/* Ensure all buttons are responsive */
.page-gdpr__cta-button, .page-gdpr__hero-button {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-buttons, .page-gdpr__button-group, .page-gdpr__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-gdpr__cta-button, .page-gdpr__hero-button {
    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, .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;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
  }
}