/* style/privacy-policy.css */

/* Base Styles for Privacy Policy Page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css, which is #000000 */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    padding: 100px 20px 60px; /* Adjusted padding-top for header offset */
    background: #000000; /* Dark background for hero, consistent with body */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.page-privacy-policy__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for main title */
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Call to Action Buttons */
.page-privacy-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
}

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Brand color */
    border: 2px solid #26A9E0;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #ffffff; /* Light background for content area */
    color: #333333; /* Dark text for light background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px); /* Lift content area slightly over hero */
    position: relative;
    z-index: 2;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #26A9E0; /* Brand color */
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
}

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

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

.page-privacy-policy__list-item strong {
    color: #26A9E0; /* Brand color for emphasis */
}

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

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

.page-privacy-policy__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #26A9E0; /* Brand color for question background */
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: #1a8cc4;
}

.page-privacy-policy__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer p {
    margin-top: 15px;
    margin-bottom: 15px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

/* Link styling */
.page-privacy-policy a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-privacy-policy a:hover {
    color: #1a8cc4;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.8em;
    }
    .page-privacy-policy__intro-text {
        font-size: 1.1em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 80px 15px 40px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-privacy-policy__main-title {
        font-size: 2.2em;
    }
    .page-privacy-policy__intro-text {
        font-size: 1em;
    }
    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-privacy-policy__content-area {
        padding: 40px 15px;
        transform: translateY(-30px);
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.2em;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 1em;
    }
    .page-privacy-policy__faq-question {
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-title {
        font-size: 1.1em;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 10px 20px;
    }

    /* Mobile image responsive adaptation */
    .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;
    }
    
    /* Ensure content area images are at least 200px wide, or scale down */
    .page-privacy-policy__content-image {
        min-width: 200px; /* This ensures the *image itself* is not too small, but max-width: 100% will scale it */
        width: 100%; /* Overrides width attribute to fill container */
        height: auto;
    }

    /* Mobile video responsive adaptation (if any video were present) */
    .page-privacy-policy video,
    .page-privacy-policy__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-privacy-policy__video-section,
    .page-privacy-policy__video-container,
    .page-privacy-policy__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-privacy-policy__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-privacy-policy__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Color Contrast Safeguards */
/* Body background is #000000 (dark), so main text is light. */
/* Content area has #ffffff background, so text is dark. */
.page-privacy-policy__dark-bg {
  color: #ffffff;
  background: #000000; /* Explicitly dark for sections like hero */
}

.page-privacy-policy__light-bg {
  color: #333333;
  background: #ffffff; /* Explicitly light for content sections */
}

/* Ensure links in dark background sections are visible */
.page-privacy-policy__hero-section a {
    color: #26A9E0; /* Brand color for links on dark background */
}
.page-privacy-policy__hero-section a:hover {
    color: #1a8cc4;
}

/* Specific contrast fixes if needed, though designed to avoid */
.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;
}