/* style/privacy-policy.css */

:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #121212;
    --card-background: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
}

.page-privacy-policy {
    color: var(--text-light); /* Dark body background #121212, so light text */
    background-color: var(--background-dark);
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

/* HERO Section (Page Banner) */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust for fixed header */
    background-color: var(--background-dark);
    overflow: hidden;
}

.page-privacy-policy__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-privacy-policy__hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.page-privacy-policy__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
}

.page-privacy-policy__main-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-privacy-policy__highlight {
    color: var(--primary-color);
}

.page-privacy-policy__subtitle {
    font-size: 20px;
    color: #cccccc;
    margin-bottom: 30px;
}

/* Content Section */
.page-privacy-policy__content-section {
    padding: 60px 20px;
    background-color: var(--background-dark);
}

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

.page-privacy-policy__card {
    background: var(--card-background);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-privacy-policy__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.page-privacy-policy__sub-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-privacy-policy p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.page-privacy-policy__text-highlight {
    font-weight: bold;
    color: var(--primary-color);
}

.page-privacy-policy__link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

.page-privacy-policy__list li {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.page-privacy-policy__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 20px;
    background-color: var(--background-dark);
}

.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.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;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    background: var(--card-background);
    border-radius: 0 0 10px 10px;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--card-background);
    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: rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-question:active {
    background: rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-light);
}

.page-privacy-policy__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Change + to X */
}

/* Contact Section */
.page-privacy-policy__contact-section {
    padding: 60px 20px;
    background-color: var(--background-dark);
}

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

.page-privacy-policy__contact-list li {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.page-privacy-policy__contact-list li strong {
    color: var(--primary-color);
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: 140px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__main-title {
        font-size: 32px;
    }

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

    .page-privacy-policy__content-section,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__contact-section {
        padding: 40px 15px;
    }

    .page-privacy-policy__card {
        padding: 25px;
        margin-bottom: 20px;
    }

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

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

    .page-privacy-policy p,
    .page-privacy-policy__list li,
    .page-privacy-policy__contact-list li {
        font-size: 15px;
    }

    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    
    .page-privacy-policy__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }
    
    .page-privacy-policy__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px 20px !important;
    }

    .page-privacy-policy__btn-primary {
        padding: 12px 25px;
        font-size: 16px;
    }

    /* Ensure images and containers adapt to mobile */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-privacy-policy__hero-image,
    .page-privacy-policy__content-section,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__contact-section,
    .page-privacy-policy__container,
    .page-privacy-policy__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__hero-image {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: 28px;
    }

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

    .page-privacy-policy__sub-title {
        font-size: 18px;
    }
    .page-privacy-policy__faq-question h3 {
        font-size: 15px;
    }
    .page-privacy-policy__faq-toggle {
        font-size: 22px;
    }
}