/* style/privacy-policy.css */

/* --- Base Styles --- */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #f8f8f8; /* Light background for the page content */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.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;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background: linear-gradient(135deg, #FFD700, #000000); /* Gold to Black gradient */
    color: #ffffff; /* White text for dark/gradient background */
    min-height: 300px;
}

.page-privacy-policy__hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-privacy-policy__hero-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

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

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFD700; /* Primary brand color */
    color: #000000; /* Black text for gold button */
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:hover {
    background: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* --- Content Area --- */
.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: #ffffff; /* White background for main content */
    color: #333333;
}

.page-privacy-policy__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #000000; /* Auxiliary brand color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-privacy-policy__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Primary brand color underline */
    border-radius: 2px;
}

.page-privacy-policy__subsection-title {
    font-size: 28px;
    font-weight: bold;
    color: #000000; /* Auxiliary brand color */
    margin-top: 50px;
    margin-bottom: 25px;
    border-left: 5px solid #FFD700; /* Gold accent */
    padding-left: 15px;
}

.page-privacy-policy__paragraph {
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555555;
}

.page-privacy-policy__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-privacy-policy__list-item {
    font-size: 17px;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: #555555;
}

.page-privacy-policy__list-item::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #FFD700; /* Gold checkmark */
    font-size: 18px;
    top: 0;
}

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

.page-privacy-policy__image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-privacy-policy__content-area a {
    color: #FFD700; /* Gold links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-privacy-policy__content-area a:hover {
    color: #000000; /* Black on hover */
    text-decoration: underline;
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
    padding: 60px 0;
    background-color: #000000; /* Dark background for FAQ */
    color: #ffffff;
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
    color: #ffffff;
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title::after {
    background-color: #FFD700;
}

.page-privacy-policy__faq-list {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 20px;
}

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #1a1a1a; /* Darker background for FAQ items */
}

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

.page-privacy-policy__faq-question:hover {
    background: #2a2a2a;
    border-color: #FFD700;
}

.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; /* Gold toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    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 {
    color: #ffffff;
    transform: rotate(45deg); /* Plus to X for active */
}

.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 25px;
    opacity: 0;
    background: #0d0d0d; /* Slightly lighter dark for answer background */
    color: #cccccc;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any content */
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid #333333;
    border-radius: 0 0 10px 10px;
}

.page-privacy-policy__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #cccccc;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-title {
        font-size: 38px;
    }
    .page-privacy-policy__hero-description {
        font-size: 17px;
    }
    .page-privacy-policy__section-title {
        font-size: 32px;
    }
    .page-privacy-policy__subsection-title {
        font-size: 26px;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 16px;
    }
}

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

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

    /* Fixed header padding for mobile */
    .page-privacy-policy__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }

    .page-privacy-policy__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-privacy-policy__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-privacy-policy__cta-button {
        padding: 12px 30px;
        font-size: 18px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-privacy-policy__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-privacy-policy__subsection-title {
        font-size: 22px;
        margin-top: 40px;
        margin-bottom: 20px;
        padding-left: 10px;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 15px;
    }
    .page-privacy-policy__list-item::before {
        font-size: 16px;
    }

    /* Mobile image adaptation */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 5px;
    }
    .page-privacy-policy__content-area, 
    .page-privacy-policy__faq-section {
        padding: 40px 0;
    }
    
    /* Mobile FAQ */
    .page-privacy-policy__faq-item {
        margin-bottom: 10px;
        border-radius: 8px;
    }
    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        border-radius: 8px;
    }
    .page-privacy-policy__faq-question h3 {
        font-size: 16px;
    }
    .page-privacy-policy__faq-toggle {
        font-size: 24px;
        width: 26px;
        height: 26px;
        margin-left: 15px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px 20px !important;
    }
    .page-privacy-policy__faq-answer p {
        font-size: 14px;
    }
}

/* Ensure content containers adapt to mobile */
.page-privacy-policy__content-area > .page-privacy-policy__container,
.page-privacy-policy__faq-section > .page-privacy-policy__container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .page-privacy-policy__content-area > .page-privacy-policy__container,
    .page-privacy-policy__faq-section > .page-privacy-policy__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}