/* style/gdpr.css */

:root {
    --primary-color: #FFD700; /* Vàng kim */
    --secondary-color: #8B0000; /* Đỏ sẫm */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #222222;
    --border-color: #e0e0e0;
}

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

.page-gdpr-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-gdpr-section:nth-of-type(even) {
    background-color: #ffffff;
}

.page-gdpr-section-title {
    font-size: 36px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

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

.page-gdpr p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr-hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
}

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

.page-gdpr-hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.page-gdpr-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-gdpr-hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-gdpr-hero-content p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-align: center;
}

.page-gdpr-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--text-light);
}

.page-gdpr-cta-button:hover {
    background: var(--text-light);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr-read-more-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr-read-more-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-gdpr-commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr-commitment-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr-commitment-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-gdpr-commitment-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-gdpr-commitment-item h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-gdpr-commitment-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    text-align: center;
}

.page-gdpr-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-gdpr-list li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    text-align: justify;
}

.page-gdpr-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
    top: 0;
}

.page-gdpr-contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-gdpr-contact-list li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-gdpr-contact-list li strong {
    color: var(--secondary-color);
}

.page-gdpr-contact-list li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr-contact-list li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-gdpr-contact-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
    top: 0;
}

/* FAQ styles */
.page-gdpr-faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.page-gdpr-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-gdpr-faq-question:hover {
    background: #f5f5f5;
}

.page-gdpr-faq-question h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin: 0;
    flex-grow: 1;
    text-align: left;
}

.page-gdpr-faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-gdpr-faq-item.active .page-gdpr-faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.page-gdpr-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.page-gdpr-faq-item.active .page-gdpr-faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
}

.page-gdpr-faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 0;
}

.page-gdpr-conclusion {
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #B22222 100%);
    color: var(--text-light);
}

.page-gdpr-conclusion .page-gdpr-section-title {
    color: var(--text-light);
}

.page-gdpr-conclusion .page-gdpr-section-title::after {
    background-color: var(--primary-color);
}

.page-gdpr-conclusion p {
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-gdpr-conclusion-cta {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--text-light);
}

.page-gdpr-conclusion-cta:hover {
    background: var(--text-light);
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr-section-title {
        font-size: 32px;
    }
    .page-gdpr-hero-content h1 {
        font-size: 40px;
    }
    .page-gdpr-hero-content p {
        font-size: 18px;
    }
    .page-gdpr p, .page-gdpr-list li, .page-gdpr-contact-list li {
        font-size: 16px;
    }
    .page-gdpr-commitment-item h3 {
        font-size: 20px;
    }
    .page-gdpr-faq-question h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-gdpr-section {
        padding: 40px 0;
    }
    .page-gdpr-section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-gdpr-hero-section {
        padding: 40px 15px;
    }
    .page-gdpr-hero-image {
        margin-bottom: 30px;
    }
    .page-gdpr-hero-content h1 {
        font-size: 32px;
    }
    .page-gdpr-hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-gdpr-cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-gdpr-commitment-grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr-commitment-icon {
        width: 80px;
        height: 80px;
    }
    .page-gdpr-faq-question {
        padding: 15px 20px;
    }
    .page-gdpr-faq-question h3 {
        font-size: 16px;
    }
    .page-gdpr-faq-toggle {
        font-size: 20px;
    }
    .page-gdpr-faq-answer {
        padding: 0 20px;
    }
    .page-gdpr-faq-item.active .page-gdpr-faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-gdpr-container {
        padding: 15px;
    }
    .page-gdpr-hero-content h1 {
        font-size: 28px;
    }
    .page-gdpr-hero-content p {
        font-size: 15px;
    }
    .page-gdpr-cta-button {
        font-size: 15px;
        padding: 10px 25px;
    }
    .page-gdpr p, .page-gdpr-list li, .page-gdpr-contact-list li {
        font-size: 15px;
    }
    .page-gdpr-section-title {
        font-size: 24px;
    }
}