/* style/privacy-policy.css */

/* --- Base Styles for page-privacy-policy --- */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    background-color: #1a1a1a; /* Slightly lighter dark for hero background */
}

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

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-privacy-policy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for title */
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* --- General Content Section --- */
.page-privacy-policy__content-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-privacy-policy__dark-bg {
    background-color: #0d0d0d; /* Darker background for alternating sections */
}

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for section titles */
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.page-privacy-policy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light text */
}

.page-privacy-policy__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-privacy-policy__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #f0f0f0; /* Light text */
}

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

.page-privacy-policy__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure minimum width for content images */
    min-height: 200px; /* Ensure minimum height for content images */
}

/* --- Links --- */
.page-privacy-policy a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: #4db3f0; /* Lighter shade on hover */
    text-decoration: underline;
}

/* --- Buttons --- */
.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #4db3f0;
    transform: translateY(-2px);
}

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

.page-privacy-policy__contact-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #f0f0f0;
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark background */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px;
}


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

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

    .page-privacy-policy__hero-section {
        min-height: 400px;
        padding: 60px 15px;
    }

    .page-privacy-policy__hero-title {
        font-size: 2em;
    }

    .page-privacy-policy__hero-description,
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item,
    .page-privacy-policy__contact-item {
        font-size: 1em;
    }

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

    .page-privacy-policy__content-section {
        padding: 40px 0;
    }

    .page-privacy-policy__container {
        padding: 0 15px; /* Add padding to prevent content overflow */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce min size even on mobile */
        min-height: 200px !important;
    }

    /* Buttons 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-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-wrap: wrap !important;
      gap: 10px;
    }
    .page-privacy-policy__cta-buttons {
      display: flex;
      flex-direction: column;
    }

    /* FAQ responsiveness */
    .page-privacy-policy__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-privacy-policy__faq-answer {
        padding: 15px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }
}

/* Color Contrast Fixes (as per instruction, though current design uses dark bg with light text) */
.page-privacy-policy__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-privacy-policy__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}