/* style/privacy-policy.css */

/* Custom Colors */
:root {
  --ev99-mobi-primary: #11A84E;
  --ev99-mobi-secondary: #22C768;
  --ev99-mobi-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --ev99-mobi-card-bg: #11271B;
  --ev99-mobi-background: #08160F;
  --ev99-mobi-text-main: #F2FFF6;
  --ev99-mobi-text-secondary: #A7D9B8;
  --ev99-mobi-border: #2E7A4E;
  --ev99-mobi-glow: #57E38D;
  --ev99-mobi-gold: #F2C14E;
  --ev99-mobi-divider: #1E3A2A;
  --ev99-mobi-deep-green: #0A4B2C;
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--ev99-mobi-text-main); /* Default text color for dark background */
  background-color: var(--ev99-mobi-background); /* Body background from shared.css */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background-color: var(--ev99-mobi-deep-green);
}

.page-privacy-policy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  display: block;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: var(--ev99-mobi-text-main);
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: var(--ev99-mobi-gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--ev99-mobi-text-secondary);
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--ev99-mobi-background);
  color: var(--ev99-mobi-text-main);
}

.page-privacy-policy__article {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: var(--ev99-mobi-primary);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  color: var(--ev99-mobi-text-main);
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
}

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__image--left {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  width: 300px; /* Example fixed width for desktop layout */
  height: 225px;
  object-fit: cover;
}

.page-privacy-policy__image--right {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
  width: 300px; /* Example fixed width for desktop layout */
  height: 225px;
  object-fit: cover;
}

.page-privacy-policy__article::after {
  content: "";
  display: table;
  clear: both;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: var(--ev99-mobi-card-bg);
  border: 1px solid var(--ev99-mobi-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--ev99-mobi-text-main);
}

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--ev99-mobi-text-main);
  list-style: none;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: var(--ev99-mobi-text-main);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--ev99-mobi-primary);
  margin-left: 15px;
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  color: var(--ev99-mobi-text-secondary);
  font-size: 0.95em;
}

/* CTA Section */
.page-privacy-policy__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background-color: var(--ev99-mobi-deep-green);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: var(--ev99-mobi-text-main);
}

.page-privacy-policy__cta-text {
  font-size: 1.3em;
  margin-bottom: 25px;
  font-weight: 500;
  color: var(--ev99-mobi-text-main);
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: var(--ev99-mobi-button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }

  .page-privacy-policy__image--left,
  .page-privacy-policy__image--right {
    float: none;
    margin: 0 auto 20px;
    width: 100%;
    max-width: 600px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-privacy-policy__content-area {
    padding: 30px 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.6em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-privacy-policy__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item {
    font-size: 0.95em;
  }

  .page-privacy-policy__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-privacy-policy__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9em;
  }

  .page-privacy-policy__cta-section {
    margin-top: 40px;
    padding: 25px;
  }

  .page-privacy-policy__cta-text {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__content-area,
  .page-privacy-policy__article,
  .page-privacy-policy__faq-item,
  .page-privacy-policy__cta-section,
  .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;
    overflow: hidden !important;
  }

  .page-privacy-policy__faq-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-privacy-policy__faq-item {
    margin-left: 0;
    margin-right: 0;
  }
}