/* style/gdpr.css */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --background-color-page: #0A0A0A; /* Specific background for this page's sections */
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --light-text-color: #f0f0f0;
  --dark-text-color: #333333;
}

.page-gdpr {
  background-color: var(--background-color-page); /* Use the specific background color */
  color: var(--text-main-color); /* Default text color for the page */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--card-bg);
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--text-main-color);
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  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: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-gdpr__btn-secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  transform: translateY(-2px);
}

.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__data-processing-section,
.page-gdpr__security-section,
.page-gdpr__contact-section,
.page-gdpr__conclusion-section {
  padding: 80px 0;
}

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

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

.page-gdpr__section-title {
  font-size: 2.8em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
  line-height: 1.2;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  opacity: 0.8;
}

.page-gdpr__principles-list,
.page-gdpr__rights-list,
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-gdpr__principles-item,
.page-gdpr__rights-item,
.page-gdpr__security-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__principles-item:hover,
.page-gdpr__rights-item:hover,
.page-gdpr__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__principles-heading,
.page-gdpr__rights-heading,
.page-gdpr__security-heading {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-gdpr__principles-description,
.page-gdpr__rights-description,
.page-gdpr__security-description {
  font-size: 1em;
  opacity: 0.85;
}

.page-gdpr__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__processing-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-gdpr__card-description {
  font-size: 1em;
  opacity: 0.85;
}

.page-gdpr__contact-info {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

.page-gdpr__contact-text {
  margin-bottom: 15px;
  opacity: 0.9;
}

.page-gdpr__contact-detail {
  margin-bottom: 10px;
}

.page-gdpr__contact-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__section-title {
    font-size: 2.2em;
  }

  .page-gdpr__principles-list,
  .page-gdpr__rights-list,
  .page-gdpr__security-list,
  .page-gdpr__processing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .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;
    font-size: 0.95em;
  }

  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-processing-section,
  .page-gdpr__security-section,
  .page-gdpr__contact-section,
  .page-gdpr__conclusion-section {
    padding: 60px 0;
  }

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

  .page-gdpr__text-block {
    font-size: 1em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-gdpr__principles-item,
  .page-gdpr__rights-item,
  .page-gdpr__security-item,
  .page-gdpr__processing-card {
    padding: 25px;
  }

  .page-gdpr__principles-heading,
  .page-gdpr__rights-heading,
  .page-gdpr__security-heading,
  .page-gdpr__card-title {
    font-size: 1.4em;
  }

  .page-gdpr__content-image {
    margin-top: 30px;
  }

  /* Mobile image and container 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__processing-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-gdpr__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__principles-list,
  .page-gdpr__rights-list,
  .page-gdpr__security-list,
  .page-gdpr__processing-grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    font-size: 0.9em;
  }
}