/* style/gdpr.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không cần lặp lại ở đây */

:root {
    /* Custom colors for GDPR page */
    --gdpr-bg-color: #08160F;
    --gdpr-card-bg-color: #11271B;
    --gdpr-text-main: #F2FFF6;
    --gdpr-text-secondary: #A7D9B8;
    --gdpr-border-color: #2E7A4E;
    --gdpr-glow-color: #57E38D;
    --gdpr-gold-color: #F2C14E;
    --gdpr-divider-color: #1E3A2A;
    --gdpr-deep-green: #0A4B2C;
    --gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    display: block;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--gdpr-text-main);
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Slightly darker overlay for text readability */
    border-radius: 8px;
}

.page-gdpr__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--gdpr-gold-color);
}

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

.page-gdpr__cta-button {
    display: inline-block;
    background: var(--gdpr-button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--secondary {
    background: transparent;
    border: 2px solid var(--gdpr-glow-color);
    color: var(--gdpr-glow-color);
}

.page-gdpr__cta-button--secondary:hover {
    background: var(--gdpr-glow-color);
    color: var(--gdpr-bg-color);
}

/* General Sections */
.page-gdpr__intro-section, 
.page-gdpr__rights-section, 
.page-gdpr__contact-section, 
.page-gdpr__cta-bottom-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--gdpr-bg-color);
    color: var(--gdpr-text-main);
}

.page-gdpr__principles-section, 
.page-gdpr__measures-section, 
.page-gdpr__faq-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--gdpr-card-bg-color);
    color: var(--gdpr-text-main);
}

.page-gdpr__section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--gdpr-gold-color);
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--gdpr-text-secondary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__grid--2-col {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-gdpr__card {
    background-color: var(--gdpr-bg-color);
    border: 1px solid var(--gdpr-border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    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(0, 0, 0, 0.2);
}

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

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

/* List Styles (Measures Section) */
.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__list-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--gdpr-bg-color);
    border: 1px solid var(--gdpr-divider-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
    gap: 20px;
    color: var(--gdpr-text-main);
}

.page-gdpr__list-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 5px;
    background-color: var(--gdpr-deep-green);
    padding: 10px;
}

.page-gdpr__list-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--gdpr-glow-color);
}

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

/* Contact Section */
.page-gdpr__contact-info {
    margin-top: 30px;
    font-size: 1.1em;
    color: var(--gdpr-text-main);
}

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

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

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

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-gdpr__faq-item {
    background-color: var(--gdpr-bg-color);
    border: 1px solid var(--gdpr-border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--gdpr-text-main);
}

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

.page-gdpr__faq-question:hover {
    background-color: var(--gdpr-deep-green);
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-gdpr__faq-item details > summary {
    list-style: none;
}

.page-gdpr__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--gdpr-text-secondary);
    border-top: 1px solid var(--gdpr-divider-color);
}

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

/* CTA Bottom Section */
.page-gdpr__cta-bottom-section {
    padding: 80px 0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-gdpr__grid--2-col {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-gdpr__hero-content {
        padding: 15px;
    }
    .page-gdpr__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-gdpr__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 0.95em;
    }
    .page-gdpr__intro-section, 
    .page-gdpr__principles-section, 
    .page-gdpr__rights-section, 
    .page-gdpr__measures-section, 
    .page-gdpr__contact-section, 
    .page-gdpr__faq-section, 
    .page-gdpr__cta-bottom-section {
        padding: 40px 0;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .page-gdpr__text-block {
        font-size: 1em;
    }
    .page-gdpr__grid, .page-gdpr__grid--2-col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__card {
        padding: 25px;
    }
    .page-gdpr__card-title {
        font-size: 1.3em;
    }
    .page-gdpr__list-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .page-gdpr__list-icon {
        margin-bottom: 15px;
    }
    .page-gdpr__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-gdpr__faq-answer {
        padding: 15px 20px;
    }

    /* --- 强制图片响应式适配 --- */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__hero-image-wrapper, .page-gdpr__cta-bottom-section, .page-gdpr__list-item, .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__list-icon {
        width: 100px !important;
        height: 100px !important;
    }

    /* --- 强制按钮响应式适配 --- */
    .page-gdpr__cta-button, .page-gdpr__btn-primary, .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"], .page-gdpr a[class*="btn"] {
        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;
        margin-bottom: 10px; /* Add some spacing between stacked buttons */
    }

    .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;
        overflow: hidden !important;
        flex-wrap: wrap !important;
        gap: 10px; /* Spacing for wrapped buttons */
        flex-direction: column; /* Ensure buttons stack vertically */
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__hero-section, .page-gdpr__intro-section, .page-gdpr__principles-section,
    .page-gdpr__rights-section, .page-gdpr__measures-section, .page-gdpr__contact-section,
    .page-gdpr__faq-section, .page-gdpr__cta-bottom-section {
        padding: 30px 0;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__list-item {
        padding: 15px;
    }
}