/* style/gdpr.css */
/* Ensure styles are scoped within .page-gdpr and follow BEM naming */

.page-gdpr {
    color: #333333; /* Dark text for default light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for PC and mobile */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f8f8; /* Light background for hero */
    position: relative;
    overflow: hidden; /* Prevent content overflow */
}

.page-gdpr__hero-content {
    z-index: 1;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-gdpr__hero-title {
    font-size: 2.8em;
    color: #8B0000; /* Deep red for prominent title */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
}

.page-gdpr__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-gdpr__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 150px;
    text-align: center;
    border: 2px solid transparent;
}

.page-gdpr__btn--primary {
    background-color: #FFD700; /* Gold primary button */
    color: #333333; /* Dark text on gold */
    border-color: #FFD700;
}

.page-gdpr__btn--primary:hover {
    background-color: #e6c200;
    color: #000000;
}

.page-gdpr__btn--secondary {
    background-color: transparent;
    color: #8B0000; /* Deep red secondary button text */
    border-color: #8B0000;
}

.page-gdpr__btn--secondary:hover {
    background-color: #8B0000;
    color: #ffffff;
}

.page-gdpr__hero-image {
    width: 100%;
    max-width: 1000px; /* Limit hero image width */
    margin-top: 40px;
}

.page-gdpr__hero-image img {
    display: block;
    max-width: 100%;
    height: auto; /* Responsive image */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Principles Section */
.page-gdpr__principles-section {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #8B0000;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.page-gdpr__principle-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: left;
    min-height: 450px; /* Ensure card height for image */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-gdpr__principle-card:hover {
    transform: translateY(-10px);
}

.page-gdpr__principle-icon {
    width: 100%; /* Image fills card width */
    height: auto;
    max-width: 400px; /* Max width for image within card */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.page-gdpr__card-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold title for cards */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card-text {
    color: #555555;
    font-size: 1em;
    flex-grow: 1; /* Allow text to grow */
}

/* Rights Section */
.page-gdpr__rights-section {
    padding: 80px 0;
    background-color: #f0f0f0;
}

.page-gdpr__section-intro {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.page-gdpr__rights-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
    border-left: 5px solid #FFD700; /* Gold accent border */
}

.page-gdpr__rights-title {
    font-size: 1.3em;
    color: #8B0000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__rights-text {
    color: #555555;
}

.page-gdpr__contact-info {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1em;
}

.page-gdpr__contact-text {
    color: #333333;
}

.page-gdpr__link {
    color: #8B0000;
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__link:hover {
    text-decoration: underline;
    color: #b30000;
}

/* Call to Action Section */
.page-gdpr__cta-section {
    padding: 80px 0;
    background-color: #8B0000; /* Deep red background for strong CTA */
    color: #ffffff;
    text-align: center;
}

.page-gdpr__cta-section .page-gdpr__section-title {
    color: #FFD700; /* Gold title on deep red background */
}

.page-gdpr__cta-section .page-gdpr__section-intro {
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-gdpr__cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.page-gdpr__cta-section .page-gdpr__btn--primary {
    background-color: #FFD700;
    color: #333333;
    border-color: #FFD700;
}

.page-gdpr__cta-section .page-gdpr__btn--primary:hover {
    background-color: #e6c200;
    color: #000000;
}

.page-gdpr__cta-section .page-gdpr__btn--secondary {
    background-color: transparent;
    color: #ffffff; /* White text on deep red */
    border-color: #ffffff;
}

.page-gdpr__cta-section .page-gdpr__btn--secondary:hover {
    background-color: #ffffff;
    color: #8B0000;
}

.page-gdpr__cta-image {
    max-width: 800px; /* Limit CTA image width */
    min-width: 200px;
    min-height: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}


/* Responsive Design */
@media (max-width: 768px) {
    .page-gdpr__hero-title {
        font-size: 2em;
    }

    .page-gdpr__hero-description {
        font-size: 1em;
    }

    .page-gdpr__btn {
        width: 100%;
        max-width: 250px;
    }

    .page-gdpr__hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
    }

    .page-gdpr__principles-grid {
        grid-template-columns: 1fr;
    }

    .page-gdpr__rights-list {
        grid-template-columns: 1fr;
    }

    /* Mobile content area images must be constrained */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure content area images are not too small in mobile */
    .page-gdpr__principle-icon,
    .page-gdpr__cta-image {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
    }

    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    
    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__cta-section {
        padding: 50px 0;
    }
}

/* Ensure content area images are not affected by filter properties */
.page-gdpr img {
    filter: none !important; /* Override any potential filter */
}

/* Ensure all content area images are at least 200px */
.page-gdpr__hero-image img,
.page-gdpr__principle-icon,
.page-gdpr__cta-image {
    min-width: 200px;
    min-height: 200px;
}