/* style/gdpr.css */

:root {
    --gdpr-bg-color: #08160F;
    --gdpr-card-bg: #11271B;
    --gdpr-text-main: #F2FFF6;
    --gdpr-text-secondary: #A7D9B8;
    --gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --gdpr-border-color: #2E7A4E;
    --gdpr-glow-color: #57E38D;
    --gdpr-gold-color: #F2C14E;
    --gdpr-divider-color: #1E3A2A;
    --gdpr-deep-green: #0A4B2C;
    --gdpr-light-section-bg: #F2FFF6;
    --gdpr-light-section-text: #333333;
}

.page-gdpr {
    background-color: var(--gdpr-bg-color);
    color: var(--gdpr-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    background-color: var(--gdpr-bg-color);
}

.page-gdpr__hero-image {
    width: 100%;
    max-width: 1920px;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    color: var(--gdpr-text-main);
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: bold;
    color: var(--gdpr-gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-gdpr__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--gdpr-text-secondary);
}

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-gdpr__btn-primary {
    background: var(--gdpr-btn-gradient);
    color: var(--gdpr-text-main);
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: #2AD16F; /* Highlight color from gradient */
    border: 2px solid #2AD16F;
}

.page-gdpr__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1);
    color: var(--gdpr-text-main);
    border-color: var(--gdpr-text-main);
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gdpr-gold-color);
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--gdpr-glow-color);
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-gdpr__intro-section.page-gdpr__light-bg,
.page-gdpr__rights-section.page-gdpr__light-bg,
.page-gdpr__cookies-section.page-gdpr__light-bg,
.page-gdpr__faq-section.page-gdpr__light-bg {
    background-color: var(--gdpr-light-section-bg);
    color: var(--gdpr-light-section-text);
}

.page-gdpr__intro-section .page-gdpr__section-title,
.page-gdpr__rights-section .page-gdpr__section-title,
.page-gdpr__cookies-section .page-gdpr__section-title,
.page-gdpr__faq-section .page-gdpr__section-title {
    color: var(--gdpr-deep-green);
    text-shadow: none;
}

.page-gdpr__intro-section .page-gdpr__text-block,
.page-gdpr__rights-section .page-gdpr__text-block,
.page-gdpr__cookies-section .page-gdpr__text-block,
.page-gdpr__faq-section .page-gdpr__text-block {
    color: var(--gdpr-light-section-text);
}

.page-gdpr__principles-section.page-gdpr__dark-bg,
.page-gdpr__data-processing-section.page-gdpr__dark-bg,
.page-gdpr__contact-section.page-gdpr__dark-bg {
    background-color: var(--gdpr-card-bg);
    color: var(--gdpr-text-main);
}

.page-gdpr__principles-section .page-gdpr__section-title,
.page-gdpr__data-processing-section .page-gdpr__section-title,
.page-gdpr__contact-section .page-gdpr__section-title {
    color: var(--gdpr-gold-color);
}

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

.page-gdpr__card {
    background-color: var(--gdpr-deep-green);
    border: 1px solid var(--gdpr-border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--gdpr-text-main);
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(87, 227, 141, 0.3);
}

.page-gdpr__card-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--gdpr-glow-color);
}

.page-gdpr__card-text {
    font-size: 1em;
    color: var(--gdpr-text-secondary);
}

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

.page-gdpr__right-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--gdpr-light-section-text);
}

.page-gdpr__right-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

.page-gdpr__right-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--gdpr-deep-green);
}

.page-gdpr__right-description {
    font-size: 1em;
    color: var(--gdpr-light-section-text);
}

.page-gdpr__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-gdpr__list li {
    margin-bottom: 10px;
    color: inherit;
}

.page-gdpr__list li strong {
    color: var(--gdpr-glow-color);
}

.page-gdpr__contact-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.page-gdpr__contact-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--gdpr-text-main);
}

.page-gdpr__contact-list li strong {
    min-width: 100px;
    color: var(--gdpr-glow-color);
}

.page-gdpr__link {
    color: var(--gdpr-glow-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: var(--gdpr-gold-color);
    text-decoration: underline;
}

.page-gdpr__contact-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--gdpr-light-section-text);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    color: var(--gdpr-deep-green);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: #f0f0f0;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--gdpr-glow-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    color: var(--gdpr-gold-color);
}

.page-gdpr__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--gdpr-light-section-text);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.5em;
    }
    .page-gdpr__container {
        padding: 30px 15px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-content {
        padding: 30px 15px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-gdpr__description {
        font-size: 1em;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        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;
    }
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__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;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__sub-title {
        font-size: 1.3em;
    }
    .page-gdpr__text-block, .page-gdpr__list li, .page-gdpr__card-text, .page-gdpr__right-description, .page-gdpr__faq-answer p {
        font-size: 0.95em;
    }
    .page-gdpr__grid, .page-gdpr__rights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Image responsive */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__hero-image,
    .page-gdpr__contact-image,
    .page-gdpr__right-icon {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__hero-section {
        padding-top: 10px !important;
    }
    .page-gdpr__video-section {
        padding-top: 10px !important; /* body đã xử lý --header-offset */
    }
}

@media (max-width: 480px) {
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-gdpr__faq-answer {
        padding: 10px 20px 15px 20px;
    }
}