/* style/gdpr.css */

/* General page styling */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main on body background #B71C1C */
  background-color: #B71C1C; /* Body background from shared.css */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  text-align: center;
  overflow: hidden; /* Ensure image overflow is handled */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1600px; /* Ensure it doesn't get too wide on very large screens */
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-gdpr__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #FFD86A; /* Gold color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.2em;
  color: #FFF5E1;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

.page-gdpr__dark-section {
  background-color: #D32F2F; /* Card BG from custom colors */
  color: #FFF5E1; /* Text Main on dark background */
}

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #FFD86A; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__content-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

/* Principle List */
.page-gdpr__principle-list,
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.page-gdpr__principle-item,
.page-gdpr__rights-item {
  background-color: #7A0E0E; /* Deep Red from custom colors */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border from custom colors */
}

.page-gdpr__principle-heading {
  font-size: 1.5em;
  color: #FFD86A; /* Gold color for headings */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__principle-item p,
.page-gdpr__rights-item p {
  font-size: 1em;
  color: #FFF5E1;
  text-align: left;
  margin-bottom: 0;
}

.page-gdpr__rights-item strong {
  color: #FFD86A; /* Gold for strong text in rights list */
}

/* CTA Section */
.page-gdpr__cta-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Ensure consistency with body background */
}

.page-gdpr__cta-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #D32F2F; /* Card BG from custom colors */
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid #F2B544; /* Border from custom colors */
}

.page-gdpr__cta-image {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-content {
  flex-grow: 1;
  text-align: left;
}

.page-gdpr__cta-title {
  font-size: 2em;
  color: #FFD86A; /* Gold color for CTA title */
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-gdpr__cta-content p {
  font-size: 1.1em;
  color: #FFF5E1;
  margin-bottom: 30px;
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #333333; /* Dark text for light button */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box; /* Button responsive */
  white-space: normal; /* Button responsive */
  word-wrap: break-word; /* Button responsive */
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 216, 106, 0.4);
}

/* Responsive styles for mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px;
  }

  /* Hero Section */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Small top padding, relying on body for header offset */
    padding-bottom: 30px;
  }

  .page-gdpr__hero-image {
    border-radius: 5px;
  }

  .page-gdpr__main-title {
    font-size: 2.2em;
    margin-bottom: 10px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Content Sections */
  .page-gdpr__content-section {
    padding: 40px 0;
  }

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

  .page-gdpr__content-section p {
    font-size: 1em;
  }

  .page-gdpr__content-image {
    margin-bottom: 20px;
    border-radius: 5px;
  }

  /* Principle List & Rights List */
  .page-gdpr__principle-list,
  .page-gdpr__rights-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__principle-item,
  .page-gdpr__rights-item {
    padding: 20px;
    border-radius: 8px;
  }

  .page-gdpr__principle-heading {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  /* CTA Section */
  .page-gdpr__cta-section {
    padding: 40px 0;
  }

  .page-gdpr__cta-card {
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-radius: 10px;
  }

  .page-gdpr__cta-image {
    width: 100%;
    height: auto;
    max-width: 300px; /* Constrain image width on mobile if it gets too big */
    border-radius: 8px;
  }

  .page-gdpr__cta-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-gdpr__cta-content p {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important; /* Force full width on mobile */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Universal image responsive styles */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Universal button container responsive styles */
  .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; /* Ensure multiple buttons wrap */
    gap: 10px;
  }
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}