/* style/gdpr.css */
.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); /* Ensure content is not hidden by fixed header */
}

.page-gdpr__hero-section {
    background-color: #003366; /* Main brand color */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Accent color for title */
    font-weight: bold;
    line-height: 1.2;
}

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

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.page-gdpr__cta-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, transform 0.3s ease;
}

.page-gdpr__cta-button--primary {
    background-color: #FFD700; /* Gold accent */
    color: #003366; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-gdpr__cta-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-gdpr__cta-button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-gdpr__cta-button--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-gdpr__compliance-overview,
.page-gdpr__data-processing,
.page-gdpr__contact-data-officer,
.page-gdpr__additional-resources {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-gdpr__compliance-overview {
    background-color: #ffffff;
}

.page-gdpr__data-processing {
    background-color: #f0f5fa;
}

.page-gdpr__contact-data-officer {
    background-color: #ffffff;
}

.page-gdpr__additional-resources {
    background-color: #f0f5fa;
}

.page-gdpr__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.page-gdpr__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease;
    border-top: 5px solid #003366;
}

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

.page-gdpr__card-title {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-gdpr__list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-gdpr__list li::before {
    content: '✓';
    color: #FFD700;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.page-gdpr__list-highlight {
    color: #003366;
}

.page-gdpr__card-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
}

.page-gdpr__card-link {
    display: inline-block;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 3px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-gdpr__card-link:hover {
    color: #FFD700;
    border-color: #003366;
}

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

.page-gdpr__principle-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #FFD700;
}

.page-gdpr__principle-title {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__principle-description {
    font-size: 0.95em;
    color: #666666;
}

.page-gdpr__principles-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-top: 40px;
}

.page-gdpr__contact-details {
    background-color: #003366;
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    max-width: 700px;
    margin: 0 auto 30px auto;
    text-align: center;
}

.page-gdpr__contact-item {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.page-gdpr__contact-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
    color: #e6c200;
}

.page-gdpr__contact-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background-color: #FFD700;
    color: #003366;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FFD700;
}

.page-gdpr__contact-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

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

.page-gdpr__resource-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid #003366;
    transition: transform 0.3s ease;
}

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

.page-gdpr__resource-card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-gdpr__resource-card-title a {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__resource-card-title a:hover {
    color: #FFD700;
}

.page-gdpr__resource-card-description {
    font-size: 0.95em;
    color: #666666;
}

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

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

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

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

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

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

    .page-gdpr__hero-section {
        padding: 60px 15px;
    }

    .page-gdpr__hero-title {
        font-size: 2.2em;
    }

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

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

    .page-gdpr__cta-button {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-gdpr__container {
        padding: 30px 15px;
    }

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

    .page-gdpr__card-image, .page-gdpr__principles-image {
        max-width: 100%;
        height: auto;
        min-height: 200px; /* Ensure images are not too small */
    }

    .page-gdpr__card-image {
        height: 200px;
    }

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

    /* Ensure all images within .page-gdpr are responsive and not too small */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    .page-gdpr__card-image {
        min-height: 200px; /* Specific override for card images */
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__card-title {
        font-size: 1.4em;
    }
    .page-gdpr__principle-title {
        font-size: 1.3em;
    }
    .page-gdpr__resource-card-title {
        font-size: 1.2em;
    }
}