/* style/gdpr.css */

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

.page-gdpr__hero-section {
    background-color: #CC0000; /* Primary brand color background */
    color: #ffffff; /* Light text for dark background */
    text-align: center;
    position: relative;
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Prevent image overflow */
}

.page-gdpr__hero-container {
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2; /* Ensure text is above image */
}

.page-gdpr__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for emphasis */
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #CC0000; /* Red text on gold button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-gdpr__hero-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    color: #990000; /* Darker red on hover */
}

.page-gdpr__hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 1;
}

.page-gdpr__content-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

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

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #CC0000; /* Primary brand color */
    text-align: center;
    margin-bottom: 30px;
}

.page-gdpr__section-text {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
}

.page-gdpr__card-image {
    width: 100%; /* Occupy card width */
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px;
}

.page-gdpr__card-title {
    font-size: 1.5em;
    color: #CC0000;
    margin-bottom: 15px;
}

.page-gdpr__card-text {
    font-size: 1em;
    color: #555555;
}

.page-gdpr__card-text a {
    color: #CC0000;
    text-decoration: underline;
}

.page-gdpr__card-text a:hover {
    color: #FFD700;
}

.page-gdpr__cta-section {
    background-color: #FFD700; /* Auxiliary brand color */
    color: #CC0000; /* Red text on gold background */
    padding: 80px 20px;
    text-align: center;
}

.page-gdpr__cta-content {
    max-width: 900px;
}

.page-gdpr__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #CC0000;
}

.page-gdpr__cta-text {
    font-size: 1.2em;
    margin-bottom: 40px;
}

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

.page-gdpr__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
}

.page-gdpr__button--primary {
    background-color: #CC0000; /* Red button */
    color: #FFD700; /* Gold text */
}

.page-gdpr__button--primary:hover {
    background-color: #990000; /* Darker red */
    color: #ffe033; /* Lighter gold */
}

.page-gdpr__button--secondary {
    background-color: transparent;
    color: #CC0000; /* Red text */
    border-color: #CC0000; /* Red border */
}

.page-gdpr__button--secondary:hover {
    background-color: #CC0000; /* Red background */
    color: #ffffff; /* White text */
}

.page-gdpr__additional-resources {
    padding: 60px 20px;
    background-color: #ffffff;
}

.page-gdpr__resource-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: center;
}

.page-gdpr__resource-list li {
    margin-bottom: 15px;
}

.page-gdpr__resource-list a {
    font-size: 1.1em;
    color: #CC0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__resource-list a:hover {
    color: #FFD700;
    text-decoration: underline;
}

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

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

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

    .page-gdpr__cta-title {
        font-size: 2em;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-gdpr__button {
        width: 100%;
        max-width: 300px;
    }

    /* Mobile image overflow prevention */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
    }

    .page-gdpr__hero-section {
        padding: 60px 15px 30px;
    }
    .page-gdpr__card-image {
        height: 200px; /* Ensure minimum size on smaller screens */
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 0.9em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__cta-title {
        font-size: 1.8em;
    }
}