/* style/gdpr.css */

/* Variables (if needed, but mostly using direct values from palette) */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --page-bg: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  /* --header-offset is managed by shared.css body padding-top */
}

.page-gdpr {
  background-color: var(--page-bg);
  color: var(--text-main); /* Light text on dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 2;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Glow effect */
}

.page-gdpr__subtitle {
  font-size: 1.2em;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- General Sections & Containers --- */
.page-gdpr__section {
  padding: 40px 0;
  box-sizing: border-box;
}

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

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

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-gdpr__section-title--center {
  text-align: center;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  color: var(--text-main);
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-gdpr__list {
  list-style: disc;
  margin-left: 40px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

/* --- Two Column Layouts --- */
.page-gdpr__two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-gdpr__two-columns--reversed {
  flex-direction: row-reverse;
}

.page-gdpr__content-column,
.page-gdpr__image-column {
  flex: 1 1 45%; /* Adjust flex-basis for better responsiveness */
  min-width: 300px; /* Minimum width for columns */
}

.page-gdpr__image-column img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* --- Buttons --- */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* For responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text on dark button */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #E8B43F 100%);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 20px; /* Spacing between buttons */
}

.page-gdpr__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px; /* Space between buttons */
  margin-top: 40px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 15px; /* Add padding to prevent overflow */
}

.page-gdpr__cta-buttons .page-gdpr__btn-secondary {
  margin-left: 0; /* Remove margin for flex gap */
}

/* Links */
.page-gdpr__link {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: var(--primary-color);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

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

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

  .page-gdpr__hero-content {
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-gdpr__subtitle {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

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

  .page-gdpr__container {
    padding: 0 15px;
  }

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

  .page-gdpr__text-block,
  .page-gdpr__list li {
    font-size: 1em;
  }

  .page-gdpr__list {
    margin-left: 20px;
  }

  .page-gdpr__two-columns {
    flex-direction: column; /* Stack columns */
    gap: 30px;
  }

  .page-gdpr__content-column,
  .page-gdpr__image-column {
    flex: 1 1 100%; /* Full width */
    min-width: unset;
  }

  /* Force image and button responsiveness for mobile */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Specific top padding for hero on mobile */
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important; /* Remove margin-left for stacked buttons */
  }

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}