/* style/privacy-policy.css */

/* Custom Colors */
:root {
  --ace-primary: #F2C14E;
  --ace-secondary: #FFD36B;
  --ace-card-bg: #111111;
  --ace-bg: #0A0A0A;
  --ace-text-main: #FFF6D6;
  --ace-border: #3A2A12;
  --ace-glow: #FFD36B;
  --ace-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  color: var(--ace-text-main); /* Light text on dark body background */
  background-color: var(--ace-bg); /* Body background from shared.css, but ensuring consistency */
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 10px 20px 40px; /* Small top padding, more bottom padding */
  background-color: var(--ace-card-bg); /* Dark background for the section */
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure it takes full width */
  margin-bottom: 30px; /* Space between image and text */
}

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

.page-privacy-policy__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: var(--ace-primary);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.3); /* Subtle glow */
}

.page-privacy-policy__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: var(--ace-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styling */
.page-privacy-policy__section {
  padding: 60px 20px;
  border-bottom: 1px solid var(--ace-border);
}

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

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

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--ace-primary);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-privacy-policy__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  color: var(--ace-secondary);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-privacy-policy a {
  color: var(--ace-secondary);
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: var(--ace-primary);
  text-decoration: none;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--ace-text-main);
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  color: var(--ace-text-main);
}

/* Image blocks within content */
.page-privacy-policy__content-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.page-privacy-policy__content-grid--reversed {
  flex-direction: row-reverse;
}

.page-privacy-policy__text-block {
  flex: 1;
}

.page-privacy-policy__image-block {
  flex: 0 0 400px; /* Fixed width for image block on desktop */
  max-width: 50%;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--ace-border);
}

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Contact List */
.page-privacy-policy__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 30px;
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--ace-text-main);
}

/* Buttons */
.page-privacy-policy__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--ace-button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.6);
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-privacy-policy__content-grid {
    flex-direction: column;
    align-items: center;
  }

  .page-privacy-policy__content-grid--reversed {
    flex-direction: column; /* Still column, reverse doesn't apply visually */
  }

  .page-privacy-policy__image-block {
    flex: none;
    width: 100%;
    max-width: 600px; /* Limit image width on smaller desktops/tablets */
    margin-bottom: 30px;
  }

  .page-privacy-policy__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

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

  .page-privacy-policy__section {
    padding: 40px 15px;
  }

  .page-privacy-policy__hero-section {
    padding: 10px 15px 30px;
  }

  .page-privacy-policy__main-title {
    font-size: 2em !important;
  }

  .page-privacy-policy__hero-description {
    font-size: 1em !important;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.3em !important;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Mobile button responsiveness */
  .page-privacy-policy__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 20px;
  }

  .page-privacy-policy__cta-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
}