/* style/gdpr.css */

/* Base styling for the GDPR page content */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
    background-color: #f8f9fa; /* Light background for the content area */
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px; /* Ensure hero section has a minimum height */
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7); /* Slightly darken background image for text readability */
}

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

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-gdpr__hero-button,
.page-gdpr__cta-button {
    display: inline-block;
    background-color: var(--primary-color, #007BFF);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__hero-button:hover,
.page-gdpr__cta-button:hover {
    background-color: var(--secondary-color, #FFC107);
    color: #333333;
    transform: translateY(-2px);
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: var(--primary-color, #007BFF);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

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

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

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.page-gdpr__card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--secondary-color, #FFC107);
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-gdpr__card-title {
    font-size: 1.5em;
    color: var(--primary-color, #007BFF);
    margin-bottom: 15px;
    font-weight: bold;
}

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

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

.page-gdpr__list-item {
    background-color: #ffffff;
    border-left: 5px solid var(--primary-color, #007BFF);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.page-gdpr__list-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.page-gdpr__list-title {
    font-size: 1.4em;
    color: var(--primary-color, #007BFF);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__list-text {
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: block; /* Ensure images are block level */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__contact-info {
    background-color: #e9f5ff; /* Light blue background for contact info */
    border: 1px solid var(--primary-color, #007BFF);
    border-radius: 10px;
    padding: 30px;
    margin: 40px auto;
    text-align: center;
    max-width: 800px;
}

.page-gdpr__contact-item {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #333333;
}

.page-gdpr__contact-item a {
    color: var(--primary-color, #007BFF);
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__contact-item a:hover {
    text-decoration: underline;
}

/* Links within paragraphs */
.page-gdpr__paragraph a {
    color: var(--primary-color, #007BFF);
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__paragraph a:hover {
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .page-gdpr {
        padding-top: var(--header-offset, 120px); /* Ensure padding for mobile fixed header */
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__hero-button,
    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__sub-title {
        font-size: 1.4em;
    }
    .page-gdpr__content-area {
        padding: 20px 15px;
    }
    .page-gdpr__grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__card {
        padding: 25px;
    }
    .page-gdpr__card-title {
        font-size: 1.3em;
    }
    .page-gdpr__list-item {
        padding: 15px 20px;
    }
    .page-gdpr__list-title {
        font-size: 1.2em;
    }
    /* Mobile image constraints - MUST be present */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure minimum size is still enforced */
        min-height: 200px; /* Ensure minimum size is still enforced */
    }
    .page-gdpr__content-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 0.9em;
    }
    .page-gdpr__hero-button,
    .page-gdpr__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__sub-title {
        font-size: 1.2em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__card-text,
    .page-gdpr__list-text,
    .page-gdpr__contact-item {
        font-size: 0.95em;
    }
}

/* Custom properties for colors (if not already defined in shared.css) */
:root {
    --primary-color: #007BFF;
    --secondary-color: #FFC107;
}

/* Ensure images within content area are not too small */
.page-gdpr img:not(.shared-header img, .shared-footer img) {
    min-width: 200px;
    min-height: 200px;
}