/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main from custom palette */
  background-color: transparent; /* Body background is #0A0A0A via shared.css */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Black Gold gradient */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure sufficient height */
}

.page-gdpr__hero-content-wrapper {
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  max-width: 100%;
  width: 100%;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-gdpr__hero-text-block {
  text-align: center;
  padding: 20px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

/* Sections */
.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid #3A2A12; /* Border from custom palette */
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

.page-gdpr__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #FFD36B; /* Glow color */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-gdpr__content-area {
  background-color: #111111; /* Card BG from custom palette */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: #FFF6D6; /* Text Main */
}

.page-gdpr__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #FFD36B; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
}

.page-gdpr ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 15px;
}

.page-gdpr li {
  margin-bottom: 8px;
  color: #FFF6D6; /* Text Main */
}

/* Images within content area */
.page-gdpr__content-image {
  width: 100%;
  max-width: 800px; /* Recommended size for content images */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Call to Action Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

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

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color from custom palette */
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.6); /* Glow color */
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color as border */
}

.page-gdpr__btn-secondary:hover {
  background: #F2C14E; /* Main color */
  color: #111111; /* Dark text for bright button */
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    min-height: 400px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-gdpr__sub-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  }
  .page-gdpr__content-area {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  /* Mobile fixed header spacing */
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile: controlled by shared.css media query */
    min-height: auto;
  }

  .page-gdpr__hero-content-wrapper {
    padding-top: 20px; /* Small top padding for content after image */
  }

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

  .page-gdpr__intro-text {
    font-size: 1rem;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }

  .page-gdpr__content-area {
    padding: 20px;
    margin: 0 15px; /* Add side padding for content area itself */
  }

  /* Mandatory mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  /* Mandatory mobile container responsiveness */
  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__content-area,
  .page-gdpr__hero-content-wrapper,
  .page-gdpr__hero-text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mandatory mobile button responsiveness */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    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 {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__cta-buttons a {
    margin: 0 auto; /* Center buttons if stacked */
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 90px) !important; /* Even smaller for very small mobiles */
  }
  .page-gdpr__content-area {
    padding: 15px;
  }
  .page-gdpr__section-title {
    margin-bottom: 20px;
  }
}

/* Ensure minimum image size for content images */
.page-gdpr__content-image,
.page-gdpr__hero-image {
  min-width: 200px;
  min-height: 200px;
}