/* style/privacy-policy.css */

/* Base styles for the page-privacy-policy scope */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

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

/* Intro Banner Section */
.page-privacy-policy__intro-banner {
    padding-top: 120px; /* Desktop padding for fixed header */
    padding-bottom: 60px;
    background: linear-gradient(135deg, #1a1a1a, #333333);
    text-align: center;
    position: relative;
}

.page-privacy-policy__main-title {
    font-size: 42px;
    font-weight: bold;
    color: #FFD700; /* Brand gold for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__intro-description {
    font-size: 18px;
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-privacy-policy__intro-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 30px auto 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__intro-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Content Section */
.page-privacy-policy__content-section {
    padding: 60px 0;
    background-color: var(--dark-bg-1); /* Ensure dark background */
    color: #ffffff; /* Light text for dark background */
}

.page-privacy-policy__section-title {
    font-size: 32px;
    font-weight: bold;
    color: #FFD700; /* Brand gold for section titles */
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #f0f0f0;
    margin-top: 40px;
    margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
    font-size: 16px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

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

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

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

.page-privacy-policy__image-wrapper {
    margin: 40px auto;
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-privacy-policy__contact-link {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-privacy-policy__cta-button-wrapper {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FFD700; /* Gold button */
    color: #1a1a1a; /* Dark text for gold button */
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}

.page-privacy-policy__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    color: #000000;
}

.page-privacy-policy__cta-button--secondary {
    background-color: transparent;
    color: #FFD700;
    border-color: #FFD700;
}

.page-privacy-policy__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #1a1a1a;
    transform: translateY(-3px);
}

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

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #2a2a2a; /* Darker background for FAQ items */
    border: 1px solid #444444;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #333333;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    position: relative;
}

.page-privacy-policy__faq-question:hover {
    background: #444444;
}

.page-privacy-policy__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-privacy-policy__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

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

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    color: #f0f0f0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 2000px !important; /* Ensure enough height for content */
    padding: 20px !important;
    opacity: 1;
    background: #2a2a2a;
}

.page-privacy-policy__faq-answer p {
    margin: 0;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 36px;
    }

    .page-privacy-policy__intro-description {
        font-size: 16px;
    }

    .page-privacy-policy__section-title {
        font-size: 28px;
    }

    .page-privacy-policy__sub-section-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__intro-banner {
        padding-top: 100px; /* Mobile padding for fixed header */
        padding-bottom: 40px;
    }

    .page-privacy-policy__container {
        padding: 0 15px;
    }

    .page-privacy-policy__main-title {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__intro-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

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

    .page-privacy-policy__section-title {
        font-size: 24px;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__sub-section-title {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-answer p {
        font-size: 15px;
    }

    .page-privacy-policy__cta-button-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .page-privacy-policy__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100%;
    }

    .page-privacy-policy__faq-question {
        padding: 15px;
    }

    .page-privacy-policy__faq-question h3 {
        font-size: 16px;
    }

    .page-privacy-policy__faq-toggle {
        font-size: 24px;
        width: 25px;
        height: 25px;
    }

    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px !important;
    }

    /* Mobile image responsive adaptation */
    .page-privacy-policy img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    .page-privacy-policy__intro-banner,
    .page-privacy-policy__content-section,
    .page-privacy-policy__container,
    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__faq-item {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-privacy-policy__image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
}