/* style/gdpr.css */
.page-gdpr {
    color: #333333; /* Deep text color for contrast with 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__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    background-color: #007bff; /* Primary color background */
    color: #ffffff;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.page-gdpr__hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

.page-gdpr__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffc107; /* Auxiliary color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-gdpr__hero-button,
.page-gdpr__cta-button,
.page-gdpr__final-cta-button {
    display: inline-block;
    background-color: #ffc107; /* Auxiliary color for buttons */
    color: #000000; /* Dark text for contrast */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-gdpr__hero-button:hover,
.page-gdpr__cta-button:hover,
.page-gdpr__final-cta-button:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

/* General Section Styling */
.page-gdpr__introduction-section,
.page-gdpr__principles-section,
.page-gdpr__user-rights-section,
.page-gdpr__data-security-section,
.page-gdpr__data-processing-section,
.page-gdpr__cookie-policy-section,
.page-gdpr__contact-dpo-section,
.page-gdpr__further-reading-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.page-gdpr__introduction-section {
    background-color: #ffffff;
}

.page-gdpr__data-security-section,
.page-gdpr__contact-dpo-section {
    background-color: #e9f5ff; /* Light blue tint */
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary color for main titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ffc107; /* Auxiliary color for underline */
    border-radius: 2px;
}

.page-gdpr__subsection-title {
    font-size: 1.8em;
    color: #007bff;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

.page-gdpr__text-block a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

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

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

.page-gdpr__grid-item {
    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, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-gdpr__grid-image {
    width: 250px; /* Ensure images are not too small */
    height: 187px; /* Maintain aspect ratio (4:3 for 800x600) */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 2px solid #ffc107;
}

.page-gdpr__grid-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__grid-description {
    font-size: 1em;
    color: #555555;
}

/* User Rights List */
.page-gdpr__rights-list,
.page-gdpr__list,
.page-gdpr__contact-list,
.page-gdpr__resource-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.page-gdpr__rights-list li,
.page-gdpr__list li,
.page-gdpr__contact-list li,
.page-gdpr__resource-list li {
    background-color: #ffffff;
    border-left: 5px solid #007bff; /* Primary color accent */
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: #333333;
}

.page-gdpr__rights-list li strong,
.page-gdpr__list li strong {
    color: #0056b3;
}

.page-gdpr__rights-list li a,
.page-gdpr__list li a,
.page-gdpr__contact-list li a,
.page-gdpr__resource-list li a {
    color: #007bff;
    text-decoration: none;
}

.page-gdpr__rights-list li a:hover,
.page-gdpr__list li a:hover,
.page-gdpr__contact-list li a:hover,
.page-gdpr__resource-list li a:hover {
    text-decoration: underline;
}

/* Security Features Grid */
.page-gdpr__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

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

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

.page-gdpr__feature-image {
    width: 250px; /* Ensure images are not too small */
    height: 187px; /* Maintain aspect ratio (4:3 for 800x600) */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 2px solid #ffc107;
}

.page-gdpr__feature-title {
    font-size: 1.6em;
    color: #007bff;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__feature-description {
    font-size: 1em;
    color: #555555;
}

.page-gdpr__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffc107;
}

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

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

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

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

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

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

    .page-gdpr__hero-button,
    .page-gdpr__cta-button,
    .page-gdpr__final-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-gdpr__introduction-section,
    .page-gdpr__principles-section,
    .page-gdpr__user-rights-section,
    .page-gdpr__data-security-section,
    .page-gdpr__data-processing-section,
    .page-gdpr__cookie-policy-section,
    .page-gdpr__contact-dpo-section,
    .page-gdpr__further-reading-section {
        padding: 40px 0;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-gdpr__subsection-title {
        font-size: 1.5em;
    }

    .page-gdpr__text-block {
        font-size: 0.95em;
    }

    .page-gdpr__grid-item,
    .page-gdpr__feature-item {
        padding: 20px;
    }

    .page-gdpr__grid-image,
    .page-gdpr__feature-image {
        width: 200px; /* Minimum allowed size for content images */
        height: 150px; /* Maintain 4:3 aspect ratio */
    }

    .page-gdpr__grid-title,
    .page-gdpr__feature-title {
        font-size: 1.3em;
    }

    .page-gdpr__rights-list li,
    .page-gdpr__list li,
    .page-gdpr__contact-list li,
    .page-gdpr__resource-list li {
        padding: 10px 15px;
        font-size: 1em;
    }

    .page-gdpr__container img {
        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__section-title {
        font-size: 1.5em;
    }

    .page-gdpr__grid-image,
    .page-gdpr__feature-image {
        width: 200px;
        height: 150px;
    }
}