/* style/gdpr.css */

/* Custom Colors */
:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --background-color: #F4F7FB;
  --text-main: #1F2D3D;
  --text-black: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for light backgrounds */
  background-color: var(--background-color); /* Default background for the page content */
}

/* Shared container for content width */
.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-gdpr__section {
  padding: 60px 0;
}

.page-gdpr__light-bg {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-gdpr__dark-bg {
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
  line-height: 1.2;
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: inherit;
}

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
}

.page-gdpr__text-center {
  text-align: center;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px; /* Small top padding, larger bottom padding */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 800;
  color: var(--text-black);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__hero-content .page-gdpr__description {
  color: var(--text-main);
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-secondary {
  background-color: var(--card-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__btn-large {
  padding: 18px 40px;
  font-size: 1.1em;
}

/* Content Grid for two columns */
.page-gdpr__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__image-full-width {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Principles List */
.page-gdpr__principles-list,
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-gdpr__principles-list .page-gdpr__list-item,
.page-gdpr__rights-list .page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-gdpr__principles-list .page-gdpr__list-item:hover,
.page-gdpr__rights-list .page-gdpr__list-item:hover {
  transform: translateY(-5px);
}

.page-gdpr__principles-list .page-gdpr__sub-title,
.page-gdpr__rights-list .page-gdpr__sub-title {
  color: #ffffff; /* For dark background */
  margin-top: 0;
}

.page-gdpr__principles-list p,
.page-gdpr__rights-list p {
  color: #f0f0f0; /* Lighter text for dark background */
}

.page-gdpr__user-rights .page-gdpr__rights-list .page-gdpr__list-item {
  background-color: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-gdpr__user-rights .page-gdpr__rights-list .page-gdpr__sub-title {
  color: var(--text-black);
}

.page-gdpr__user-rights .page-gdpr__rights-list p {
  color: var(--text-main);
}

.page-gdpr__contact a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-gdpr__contact a:hover {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__sub-title {
    font-size: 1.3em;
  }
  .page-gdpr__hero-image-wrapper {
    max-height: 400px;
  }
}

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

  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__main-title {
    font-size: 2.2em;
  }

  .page-gdpr__hero-image-wrapper {
    max-height: 300px;
  }

  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-gdpr__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__video-section { /* This page does not have a video section, but including for general compliance */
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.2em;
  }
  .page-gdpr__hero-image-wrapper {
    max-height: 200px;
  }
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__description {
    font-size: 1em;
  }
  .page-gdpr__principles-list .page-gdpr__list-item,
  .page-gdpr__rights-list .page-gdpr__list-item {
    padding: 20px;
  }
}