/* style/privacy-policy.css */

/* Biến CSS */
:root {
    --primary-color: #004AAD; /* Deep Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #000000; /* Body background from shared.css */
    --bg-card-dark: rgba(255, 255, 255, 0.1);
    --border-color-dark: rgba(255, 255, 255, 0.2);
}

/* Căn chỉnh tổng thể cho trang */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Dark body background, so light text */
    background-color: var(--bg-dark); /* Should match body background */
}

/* Padding cho phần đầu tiên của nội dung để tránh bị che bởi header cố định */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    padding-top: 120px; /* Desktop: Adjust based on fixed header height */
    background: linear-gradient(135deg, var(--primary-color) 0%, #002D62 100%);
    color: var(--text-light);
    text-align: center;
}

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

.page-privacy-policy__main-title {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-privacy-policy__brand-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-privacy-policy__brand-link:hover {
    color: #fff;
    text-decoration: underline;
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__section {
    padding: 60px 0;
    background-color: var(--bg-dark); /* Default dark section */
    color: var(--text-light);
}

.page-privacy-policy__section:nth-of-type(even) {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast */
}

.page-privacy-policy__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-privacy-policy__heading {
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--secondary-color);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-privacy-policy__heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

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

.page-privacy-policy__dark-section p {
    color: var(--text-light);
}

.page-privacy-policy__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
}

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

.page-privacy-policy__list li strong {
    color: var(--secondary-color);
}

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

.page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: center;
}

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

.page-privacy-policy__contact-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

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

.page-privacy-policy__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

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

.page-privacy-policy__cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-privacy-policy__footer {
    background-color: #000000;
    color: var(--text-light);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__copyright {
    font-size: 0.9em;
    margin: 0;
}

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

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: 100px !important; /* Mobile: Adjust based on fixed header height */
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-privacy-policy__main-title {
        font-size: 2.2em;
    }

    .page-privacy-policy__description,
    .page-privacy-policy p,
    .page-privacy-policy__list li {
        font-size: 1em;
    }

    .page-privacy-policy__heading {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__section {
        padding: 40px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-privacy-policy__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-privacy-policy__hero-image,
    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    .page-privacy-policy__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 25px !important;
        font-size: 1.1em !important;
    }

    .page-privacy-policy__cta-wrapper {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__heading {
        font-size: 1.5em;
    }
    .page-privacy-policy__list {
        margin-left: 10px;
    }
    .page-privacy-policy__list li {
        margin-bottom: 8px;
    }
}