/* style/privacy-policy.css */

/* General Styles for the Privacy Policy Page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color, #333333); /* Default text color from palette */
    background-color: var(--background-color, #F5F7FA); /* Default background color from palette */
    padding-bottom: 50px; /* Ensure space above footer */
}

/* Container for main content, centered */
.page-privacy-policy__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Enforce top-image, bottom-text */
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--primary-color, #E53935); /* Fallback to primary color if image fails */
    overflow: hidden;
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height to prevent overly tall hero on desktop */
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure image covers the area */
    object-position: center;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2; /* Ensure content is above image if any overlap happens */
    padding: 40px 20px;
    color: #ffffff; /* White text on hero for contrast */
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__main-title {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff; /* White text for H1 */
}

.page-privacy-policy__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons in Hero */
.page-privacy-policy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__btn-secondary {
    background: #ffffff;
    color: var(--primary-color, #E53935);
    border: 2px solid var(--primary-color, #E53935);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__btn-secondary:hover {
    background: var(--primary-color, #E53935);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Content Area */
.page-privacy-policy__content-area {
    background-color: var(--card-bg-color, #FFFFFF); /* White background for content */
    padding: 40px 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    margin-top: -30px; /* Slightly overlap with hero for visual flow */
    position: relative;
    z-index: 3;
    border-radius: 10px;
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: var(--text-main-color, #333333);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 2px solid var(--border-color, #E0E0E0);
    padding-bottom: 10px;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    color: var(--text-main-color, #333333);
}

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

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

.page-privacy-policy__list-item strong {
    color: var(--primary-color, #E53935);
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #e0e0e0);
  overflow: hidden;
  background: var(--card-bg-color, #fff);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main-color, #333333);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #f5f5f5;
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color, #333333);
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color, #E53935);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}