/* style/gdpr.css */

/* Root variables for colors */
:root {
  --hp88-primary: #C91F17;
  --hp88-secondary: #E53935;
  --hp88-button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --hp88-card-bg: #D32F2F;
  --hp88-background: #B71C1C;
  --hp88-text-main: #FFF5E1;
  --hp88-border: #F2B544;
  --hp88-glow: #FFCC66;
  --hp88-gold: #F4D34D;
  --hp88-deep-red: #7A0E0E;

  /* Default text colors for light/dark backgrounds */
  --text-on-light: #333333;
  --text-on-dark: #ffffff;
}

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-on-light); /* Default text color for the page, assuming body is light */
  background-color: #f8f8f8; /* Light background for general content areas */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: var(--hp88-background); /* Deep red background */
  color: var(--text-on-dark); /* White text on dark background */
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
}

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

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--hp88-text-main); /* Gold-ish text for main title */
}

.page-gdpr__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-on-dark);
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--hp88-button-gradient);
  color: #333333; /* Dark text on gold button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 20px;
}

.page-gdpr__light-bg {
  background-color: #f8f8f8;
  color: var(--text-on-light);
}

.page-gdpr__dark-bg {
  background-color: var(--hp88-card-bg); /* Use Card BG for dark sections */
  color: var(--text-on-dark);
}

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

.page-gdpr__section-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: var(--hp88-gold); /* Gold for section titles on dark bg */
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: var(--hp88-text-main); /* Gold-ish text on dark background */
}

.page-gdpr p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-gdpr strong {
  font-weight: 700;
  color: var(--hp88-gold); /* Gold for strong text */
}

.page-gdpr__text-link {
  color: var(--hp88-gold);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
  color: var(--hp88-text-main);
}

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

.page-gdpr__card {
  background-color: var(--hp88-deep-red); /* Darker red for cards on dark background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--text-on-dark);
  border: 1px solid var(--hp88-border);
}

.page-gdpr__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--hp88-gold);
}

/* List styles */
.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* Content Images */
.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 800px; /* Max width for content images */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    padding: 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

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

  .page-gdpr__grid-3-columns {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-bottom: 30px;
  }

  .page-gdpr__hero-content {
    margin-top: 15px;
  }

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

  .page-gdpr__description {
    font-size: 1rem;
  }

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

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

  .page-gdpr p,
  .page-gdpr__list-item {
    font-size: 0.95rem;
  }

  .page-gdpr__grid-3-columns {
    grid-template-columns: 1fr; /* Stack cards on mobile */
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

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

  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button forced adaptation */
  .page-gdpr__cta-button,
  .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,
  .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;
    overflow: hidden !important;
  }
}

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

  .page-gdpr__section-title {
    font-size: 1.6rem;
  }

  .page-gdpr__cta-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}