/* style/privacy-policy.css */

/* Các biến màu tùy chỉnh */
:root {
    --mv66-primary-color: #11A84E;
    --mv66-secondary-color: #22C768;
    --mv66-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --mv66-card-bg: #11271B;
    --mv66-background: #08160F; /* Body background, from shared.css */
    --mv66-text-main: #F2FFF6;
    --mv66-text-secondary: #A7D9B8;
    --mv66-border-color: #2E7A4E;
    --mv66-glow-color: #57E38D;
    --mv66-gold-color: #F2C14E;
    --mv66-divider-color: #1E3A2A;
    --mv66-deep-green: #0A4B2C;
}

.page-privacy-policy {
    color: var(--mv66-text-main); /* Đảm bảo văn bản sáng trên nền tối của body */
    background-color: var(--mv66-background); /* Đồng bộ với body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* HERO Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Nhỏ hơn so với --header-offset */
    padding-bottom: 60px;
    overflow: hidden;
    background-color: var(--mv66-deep-green);
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    position: relative;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Làm mờ ảnh để chữ nổi bật hơn */
}

.page-privacy-policy__hero-content {
    position: relative;
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: -150px; /* Đẩy nội dung lên trên ảnh một chút */
    z-index: 1;
    background: rgba(8, 22, 15, 0.8); /* Nền tối nhẹ để chữ dễ đọc */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    color: var(--mv66-text-main);
}

.page-privacy-policy__main-title {
    font-weight: bold;
    color: var(--mv66-gold-color); /* Sử dụng màu vàng để nổi bật */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    color: var(--mv66-text-secondary);
    margin-bottom: 30px;
}

/* General Section Styling */
.page-privacy-policy__section {
    padding: 60px 0;
    background-color: var(--mv66-background);
}

.page-privacy-policy__dark-section {
    background-color: var(--mv66-card-bg);
}

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: var(--mv66-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(17, 168, 78, 0.3);
}

.page-privacy-policy__sub-title {
    font-size: 1.8em;
    color: var(--mv66-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 2px solid var(--mv66-divider-color);
    padding-bottom: 10px;
}

.page-privacy-policy__text-block {
    margin-bottom: 15px;
    color: var(--mv66-text-main);
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--mv66-text-main);
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    color: var(--mv66-text-secondary);
}

.page-privacy-policy__list-item strong {
    color: var(--mv66-text-main);
}

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

.page-privacy-policy__link:hover {
    color: var(--mv66-glow-color);
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--mv66-button-gradient);
    color: var(--mv66-text-main);
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

/* Image wrappers for content images */
.page-privacy-policy__image-wrapper {
    margin: 30px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Contact Section */
.page-privacy-policy__contact-info {
    margin-top: 30px;
    text-align: center;
    font-size: 1.1em;
    color: var(--mv66-text-main);
}

.page-privacy-policy__contact-item {
    margin-bottom: 10px;
}

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

.page-privacy-policy__faq-item {
    background-color: var(--mv66-card-bg);
    border: 1px solid var(--mv66-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--mv66-text-main);
}

.page-privacy-policy__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.15em;
    color: var(--mv66-gold-color);
    list-style: none;
    outline: none;
    background-color: var(--mv66-deep-green);
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

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

.page-privacy-policy__faq-answer {
    padding: 20px;
    background-color: var(--mv66-card-bg);
    color: var(--mv66-text-secondary);
    border-top: 1px solid var(--mv66-divider-color);
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}

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

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-privacy-policy__hero-section {
        padding-bottom: 40px;
    }
    .page-privacy-policy__hero-content {
        margin-top: -80px;
        padding: 15px;
    }
    .page-privacy-policy__main-title {
        font-size: 2em; /* Adjusted for mobile to prevent taking up too much space */
    }
    .page-privacy-policy__hero-description {
        font-size: 1em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.3em;
    }
    .page-privacy-policy__section {
        padding: 40px 0;
    }
    .page-privacy-policy__container {
        padding: 0 15px; /* Add padding to prevent content from touching edges */
    }

    /* Responsive images */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__section,
    .page-privacy-policy__container,
    .page-privacy-policy__card,
    .page-privacy-policy__content-area {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-privacy-policy__hero-section,
    .page-privacy-policy__data-usage,
    .page-privacy-policy__data-security,
    .page-privacy-policy__contact-us,
    .page-privacy-policy__third-party-links {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Responsive buttons */
    .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;
        text-align: center;
    }
    .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;
        overflow: hidden !important;
    }
    .page-privacy-policy__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    .page-privacy-policy__hero-content {
      margin-top: -60px; /* Further adjust for mobile */
    }

}

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__hero-description {
        font-size: 0.9em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.2em;
    }
    .page-privacy-policy__faq-item summary {
        font-size: 1em;
    }
}