/* style/gdpr.css */

:root {
    --primary-color: #FFD700; /* Vàng */
    --secondary-color: #1E90FF; /* Xanh lam */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #121212;
    --bg-light-card: rgba(255, 255, 255, 0.1);
    --border-color: #333333;
    --accent-color: #FF4500; /* Đỏ cam */
}

.page-gdpr {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Body background is dark, so text should be light */
    background-color: var(--bg-dark);
    padding-top: 100px; /* Adjust for fixed header on desktop */
}

@media (max-width: 768px) {
    .page-gdpr {
        padding-top: 80px; /* Adjust for fixed header on mobile */
    }
}

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

.page-gdpr__hero-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(30, 144, 255, 0.3) 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
}

.page-gdpr__main-title {
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    border: none;
    cursor: pointer;
}

.page-gdpr__cta-button:hover {
    background: var(--accent-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.6);
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

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

.page-gdpr__content-section {
    padding: 60px 0;
}

.page-gdpr__dark-bg {
    background-color: #1a1a1a;
}

.page-gdpr__text-block {
    font-size: 1.05em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
}

.page-gdpr__text-block strong {
    color: var(--primary-color);
}

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

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

.page-gdpr__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-gdpr__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__feature-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-gdpr__card {
    background-color: var(--bg-light-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(30, 144, 255, 0.2);
    color: var(--text-light);
}

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

.page-gdpr__card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    object-fit: contain;
}

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

.page-gdpr__right-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

.page-gdpr__right-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__right-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-gdpr__list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.75);
}

.page-gdpr__list li {
    margin-bottom: 8px;
}

.page-gdpr__cookie-info {
    background-color: var(--bg-light-card);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

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

.page-gdpr__contact-section {
    background-color: var(--bg-dark);
    padding: 60px 0;
    text-align: center;
}

.page-gdpr__contact-info {
    background-color: var(--bg-light-card);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 30px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(30, 144, 255, 0.2);
}

.page-gdpr__contact-info p {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
}

.page-gdpr__cta-wrapper {
    margin-top: 40px;
}

.page-gdpr__cta-button--large {
    padding: 18px 45px;
    font-size: 1.3em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__main-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__feature-grid, .page-gdpr__data-collection-grid, .page-gdpr__protection-grid, .page-gdpr__rights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__feature-item, .page-gdpr__card, .page-gdpr__right-item, .page-gdpr__cookie-info, .page-gdpr__contact-info {
        padding: 20px;
    }
    .page-gdpr__feature-icon, .page-gdpr__card-icon {
        width: 70px;
        height: 70px;
    }
    .page-gdpr__feature-title, .page-gdpr__card-title, .page-gdpr__right-title, .page-gdpr__sub-title {
        font-size: 1.3em;
    }
    .page-gdpr__text-block, .page-gdpr__list li, .page-gdpr__contact-info p {
        font-size: 0.95em;
    }
    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-gdpr__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__feature-title, .page-gdpr__card-title, .page-gdpr__right-title, .page-gdpr__sub-title {
        font-size: 1.2em;
    }
    .page-gdpr__hero-section {
        padding: 50px 0;
    }
    .page-gdpr__content-section {
        padding: 40px 0;
    }
    .page-gdpr__feature-item, .page-gdpr__card, .page-gdpr__right-item, .page-gdpr__cookie-info, .page-gdpr__contact-info {
        padding: 15px;
    }
    .page-gdpr__feature-icon, .page-gdpr__card-icon {
        width: 60px;
        height: 60px;
    }
}

/* Ensure all images are responsive and do not use filter */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px; /* Optional: subtle rounded corners */
}

/* Ensure all image containers are responsive */
.page-gdpr__feature-item, .page-gdpr__card {
    overflow: hidden;
}

@media (max-width: 768px) {
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__feature-item, .page-gdpr__card, .page-gdpr__container, .page-gdpr__hero-section, .page-gdpr__content-section, .page-gdpr__contact-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-gdpr__cta-button, .page-gdpr__cta-button--large {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-gdpr__cta-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }
}