/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-privacy-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-privacy-policy__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 2;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
    color: #ffffff;
}

.page-privacy-policy__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: transparent; /* Ensure content area does not override body background */
}

.page-privacy-policy__dark-bg {
    background-color: transparent; /* Use body background */
    color: #ffffff; /* Light text for dark body background */
}

.page-privacy-policy__container {
    max-width: 960px;
    margin: 0 auto;
}

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for main titles */
    margin-bottom: 30px;
    text-align: center;
    padding-top: 20px;
}

.page-privacy-policy__sub-title {
    font-size: 1.8em;
    color: #ffffff; /* White for sub-titles on dark background */
    margin-top: 40px;
    margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f0f0f0; /* Slightly off-white for paragraphs */
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-privacy-policy__list-item strong {
    color: #ffffff;
}

/* Links within content */
.page-privacy-policy__paragraph a,
.page-privacy-policy__list-item a {
    color: #FFFF00; /* Yellow for links */
    text-decoration: underline;
}

.page-privacy-policy__paragraph a:hover,
.page-privacy-policy__list-item a:hover {
    color: #f0f0f0;
}

/* Images within content */
.page-privacy-policy__image-inline {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    background: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #a00606;
    color: #ffffff;
}

.page-privacy-policy__btn-secondary {
    display: inline-block;
    background: #017439; /* Primary brand color */
    color: #ffffff; /* White text */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #017439;
    cursor: pointer;
    box-sizing: border-box;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #005a2e;
    color: #ffffff;
}

.page-privacy-policy__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-privacy-policy__contact-list {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  margin-top: 20px;
}

.page-privacy-policy__contact-list .page-privacy-policy__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
}

/* FAQ Section (if applicable - though not in current outline, keeping for future if needed) */
.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #017439;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-question:hover {
  background-color: #005a2e;
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-privacy-policy__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
  padding-bottom: 0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 500px; /* Sufficient height for answer */
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Details/Summary for FAQ if used */
.page-privacy-policy__faq-item details > summary {
  list-style: none; /* Hide default marker */
}
.page-privacy-policy__faq-item details > summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-section {
        height: 500px;
    }
    .page-privacy-policy__main-title {
        font-size: 2.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-privacy-policy__hero-content {
        padding: 15px;
    }
    .page-privacy-policy__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-privacy-policy__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-privacy-policy__content-area {
        padding: 20px 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4em;
        margin-top: 30px;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 1em;
    }
    .page-privacy-policy__list {
        margin-left: 20px;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Mobile button responsiveness */
    .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;
        text-align: center; /* Center button text if it wraps */
    }
    .page-privacy-policy__cta-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px; /* Space between buttons if stacked */
        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;
        overflow: hidden !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}