/* style/privacy-policy.css */

:root {
    --primary-color: #FFD700; /* Vàng kim */
    --secondary-color: #2F4F4F; /* Xanh lá cây đậm (phụ) */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f9f9f9;
    --background-dark: #1a1a1a;
    --accent-color: #e74c3c; /* Đỏ nhấn */
}

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
}

.page-privacy-policy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-privacy-policy-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-privacy-policy-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.2) 0%, rgba(47, 79, 79, 0.2) 70%);
    transform: rotate(45deg);
    opacity: 0.3;
    z-index: 0;
}

.page-privacy-policy-hero .page-privacy-policy-container {
    position: relative;
    z-index: 1;
}

.page-privacy-policy-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-privacy-policy-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: var(--text-light);
    opacity: 0.9;
}

.page-privacy-policy-cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent-color);
}

.page-privacy-policy-cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy-section {
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

.page-privacy-policy-section:last-of-type {
    border-bottom: none;
}

.page-privacy-policy-introduction {
    background-color: var(--background-light);
}

.page-privacy-policy-data-collection, .page-privacy-policy-data-usage, .page-privacy-policy-data-sharing, .page-privacy-policy-data-security, .page-privacy-policy-user-rights, .page-privacy-policy-cookies, .page-privacy-policy-third-party-links, .page-privacy-policy-minor-protection, .page-privacy-policy-changes, .page-privacy-policy-contact, .page-privacy-policy-faq {
    background-color: var(--text-light);
}

.page-privacy-policy-section:nth-child(even) {
    background-color: #f0f0f0; /* Slightly different background for alternating sections */
}

.page-privacy-policy-heading {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    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(--primary-color);
    border-radius: 2px;
}

.page-privacy-policy-subheading {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-privacy-policy p {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
}

.page-privacy-policy ul {
    list-style-type: disc;
    margin-left: 30px;
    margin-bottom: 20px;
}

.page-privacy-policy li {
    font-size: 1.05em;
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

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

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

.page-privacy-policy-contact-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.page-privacy-policy-contact-cta {
    margin-top: 40px;
}

/* FAQ Styles */
.page-privacy-policy .faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-privacy-policy .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-privacy-policy .faq-question:hover {
    background: #f5f5f5;
}

.page-privacy-policy .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--secondary-color);
    font-weight: bold;
}

.page-privacy-policy .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-privacy-policy .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.page-privacy-policy .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #fdfdfd;
    color: var(--text-dark);
}

.page-privacy-policy .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px 25px;
    border-top: 1px solid #eee;
}

.page-privacy-policy .faq-answer p {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy-title {
        font-size: 3em;
    }
    .page-privacy-policy-subtitle {
        font-size: 1.3em;
    }
    .page-privacy-policy-heading {
        font-size: 2em;
    }
    .page-privacy-policy-subheading {
        font-size: 1.6em;
    }
    .page-privacy-policy p, .page-privacy-policy li {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy-hero {
        padding: 60px 15px;
    }
    .page-privacy-policy-title {
        font-size: 2.5em;
    }
    .page-privacy-policy-subtitle {
        font-size: 1.1em;
    }
    .page-privacy-policy-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-privacy-policy-section {
        padding: 40px 0;
    }
    .page-privacy-policy-container {
        padding: 15px;
    }
    .page-privacy-policy-heading {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-privacy-policy-subheading {
        font-size: 1.4em;
        margin-top: 30px;
    }
    .page-privacy-policy ul {
        margin-left: 20px;
    }
    .page-privacy-policy .faq-question {
        padding: 15px 20px;
    }
    .page-privacy-policy .faq-question h3 {
        font-size: 1.1em;
    }
    .page-privacy-policy .faq-toggle {
        font-size: 1.5em;
    }
    .page-privacy-policy .faq-answer {
        padding: 0 20px;
    }
    .page-privacy-policy .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy-title {
        font-size: 2em;
    }
    .page-privacy-policy-subtitle {
        font-size: 0.9em;
    }
    .page-privacy-policy-heading {
        font-size: 1.6em;
    }
    .page-privacy-policy-subheading {
        font-size: 1.2em;
    }
    .page-privacy-policy p, .page-privacy-policy li {
        font-size: 0.95em;
    }
    .page-privacy-policy-image {
        margin: 20px auto;
    }
    .page-privacy-policy .faq-question h3 {
        font-size: 1em;
    }
}