/* style/privacy-policy.css */

/* Root variables for colors based on the provided scheme */
:root {
  --page-privacy-policy-bg: #08160F;
  --page-privacy-policy-card-bg: #11271B;
  --page-privacy-policy-text-main: #F2FFF6;
  --page-privacy-policy-text-secondary: #A7D9B8;
  --page-privacy-policy-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-privacy-policy-border: #2E7A4E;
  --page-privacy-policy-glow: #57E38D;
  --page-privacy-policy-gold: #F2C14E;
  --page-privacy-policy-divider: #1E3A2A;
  --page-privacy-policy-deep-green: #0A4B2C;
}

.page-privacy-policy {
  background-color: var(--page-privacy-policy-bg);
  color: var(--page-privacy-policy-text-main);
  font-family: 'Arial', sans-serif; /* A common, readable font */
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding at the bottom */
}

/* General container for content */
.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column; /* Stack image and content vertically */
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-privacy-policy-deep-green); /* Fallback background */
  padding-bottom: 60px; /* Adjust as needed for spacing */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width for better layout */
  margin-bottom: 30px; /* Space between image and content */
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Example max height */
  border-radius: 8px; /* Soften edges */
}

.page-privacy-policy__hero-content {
  max-width: 800px;
  padding: 20px;
  background: var(--page-privacy-policy-card-bg); /* Use card background for content block */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-privacy-policy-border);
}

.page-privacy-policy__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
  color: var(--page-privacy-policy-gold);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-privacy-policy__intro-text {
  font-size: 1.1rem;
  color: var(--page-privacy-policy-text-main);
  margin-bottom: 30px;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--page-privacy-policy-btn-gradient);
  color: var(--page-privacy-policy-text-main);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Content Section */
.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: var(--page-privacy-policy-bg);
}

.page-privacy-policy__section-title {
  font-size: 2.2rem;
  color: var(--page-privacy-policy-gold);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
  border-bottom: 2px solid var(--page-privacy-policy-divider);
  padding-bottom: 10px;
}

.page-privacy-policy h3 {
  font-size: 1.6rem;
  color: var(--page-privacy-policy-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: var(--page-privacy-policy-text-secondary);
}

.page-privacy-policy strong {
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__data-collection-grid,
.page-privacy-policy__user-rights-grid,
.page-privacy-policy__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-privacy-policy__data-card,
.page-privacy-policy__right-card,
.page-privacy-policy__feature-item {
  background-color: var(--page-privacy-policy-card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-privacy-policy-border);
  transition: transform 0.3s ease;
}

.page-privacy-policy__data-card:hover,
.page-privacy-policy__right-card:hover,
.page-privacy-policy__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__card-title,
.page-privacy-policy__feature-title {
  color: var(--page-privacy-policy-gold);
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-privacy-policy__feature-icon {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-privacy-policy__purpose-list,
.page-privacy-policy__sharing-list,
.page-privacy-policy__cookie-types,
.page-privacy-policy__contact-info {
  list-style: none;
  padding: 0;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-privacy-policy__purpose-list li,
.page-privacy-policy__sharing-list li,
.page-privacy-policy__cookie-types li,
.page-privacy-policy__contact-info li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: var(--page-privacy-policy-text-secondary);
}

.page-privacy-policy__purpose-list li::before,
.page-privacy-policy__sharing-list li::before,
.page-privacy-policy__cookie-types li::before {
  content: '✓'; /* Checkmark for lists */
  color: var(--page-privacy-policy-glow);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-privacy-policy__contact-info li::before {
  content: '•'; /* Bullet for contact info */
  color: var(--page-privacy-policy-gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* CTA Section at the bottom */
.page-privacy-policy__cta-section {
  background-color: var(--page-privacy-policy-deep-green);
  padding: 80px 0;
  text-align: center;
  border-top: 2px solid var(--page-privacy-policy-divider);
}

.page-privacy-policy__cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--page-privacy-policy-gold);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-privacy-policy__cta-description {
  font-size: 1.2rem;
  color: var(--page-privacy-policy-text-main);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* For responsive buttons container */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 15px; /* Add some padding to the container */
}

.page-privacy-policy__btn-primary {
  background: var(--page-privacy-policy-btn-gradient);
  color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--page-privacy-policy-glow);
  border: 2px solid var(--page-privacy-policy-glow);
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--page-privacy-policy-glow);
  color: var(--page-privacy-policy-bg);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-privacy-policy__data-collection-grid,
  .page-privacy-policy__user-rights-grid,
  .page-privacy-policy__security-features {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-content {
    margin-top: 0;
    padding: 15px;
    box-shadow: none;
    border: none;
    background: transparent;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-privacy-policy__section-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .page-privacy-policy h3 {
    font-size: 1.3rem;
  }

  .page-privacy-policy__container {
    padding: 0 15px;
  }

  /* Force responsive images */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Force responsive buttons */
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy 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-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  /* Ensure all containers with images/videos are responsive */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-section,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__data-collection-grid,
  .page-privacy-policy__user-rights-grid,
  .page-privacy-policy__security-features,
  .page-privacy-policy__data-card,
  .page-privacy-policy__right-card,
  .page-privacy-policy__feature-item,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important; /* Add padding for content */
    padding-right: 15px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Specific padding for sections to avoid being too wide */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-section,
  .page-privacy-policy__cta-section {
      padding-left: 0 !important;
      padding-right: 0 !important;
  }
  .page-privacy-policy__hero-content {
      padding-left: 15px !important;
      padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__data-collection-grid,
  .page-privacy-policy__user-rights-grid,
  .page-privacy-policy__security-features {
    grid-template-columns: 1fr; /* Single column on very small screens */
  }
  .page-privacy-policy__hero-content {
      padding: 15px;
  }
}