/* style/gdpr.css */

/* Base styling for the GDPR page content */
.page-gdpr {
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content clears the fixed header */
    background-color: #FFFFFF; /* Explicitly set for clarity, though body is already white */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text on dark hero background */
    overflow: hidden;
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, cropping if necessary */
    opacity: 0.3; /* Make the background image subtle */
    display: block;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.page-gdpr__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
}

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

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    margin: 10px;
}

.page-gdpr__cta-button--register {
    background-color: #FCBC45; /* Login button color for Register CTA */
    color: #000000; /* Dark text for contrast */
    border: 2px solid #FCBC45;
}

.page-gdpr__cta-button--register:hover {
    background-color: #e0a53a;
    border-color: #e0a53a;
}

.page-gdpr__content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-gdpr__paragraph {
    font-size: 1.05em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #333333;
}

/* Core Principles Section */
.page-gdpr__core-principles {
    background-color: #f8f8f8;
    padding: 60px 0;
}

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

.page-gdpr__principle-card {
    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;
}

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

.page-gdpr__card-icon {
    width: 200px; /* Min width for content images */
    height: 150px; /* Min height for content images */
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__card-description {
    font-size: 0.95em;
    color: #555555;
}

/* Your Rights Section */
.page-gdpr__your-rights {
    padding: 60px 0;
}

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

.page-gdpr__right-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__right-title {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
}

.page-gdpr__right-description {
    font-size: 0.95em;
    color: #555555;
}

.page-gdpr__link {
    color: #FCBC45; /* Yellow for links */
    text-decoration: none;
    font-weight: bold;
}

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

/* How to Exercise Rights Section */
.page-gdpr__exercise-rights {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-gdpr__exercise-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__exercise-item {
  background-color: #FFFFFF;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-left: 4px solid #FCBC45;
  border-radius: 5px;
  font-size: 1.05em;
  color: #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.page-gdpr__exercise-item strong {
  color: #000000;
}

/* Data Security Section */
.page-gdpr__data-security {
    padding: 60px 0;
    text-align: center;
}

.page-gdpr__data-security-image {
    width: 100%;
    max-width: 800px; /* Max width for content image */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-gdpr__security-item {
    background-color: #FFFFFF;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #FCBC45;
    border-radius: 5px;
    font-size: 1.05em;
    color: #333333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__security-item strong {
    color: #000000;
}

/* Contact CTA Section */
.page-gdpr__contact-cta {
    padding: 60px 0;
    text-align: center;
    background-color: #000000;
    color: #FFFFFF;
}

.page-gdpr__contact-cta .page-gdpr__section-title,
.page-gdpr__contact-cta .page-gdpr__paragraph {
  color: #FFFFFF;
}

.page-gdpr__cta-button--contact {
    background-color: #FCBC45; /* Use FCBC45 for contact button on dark background */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-gdpr__cta-button--contact:hover {
    background-color: #e0a53a;
    border-color: #e0a53a;
}

.page-gdpr__cta-button--join {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-gdpr__cta-button--join:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

/* Fade-in animation for sections */
.page-gdpr__fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page-gdpr__fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
        min-height: 400px;
    }

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

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

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

    .page-gdpr__content-container {
        padding: 15px;
    }

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

    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        display: block; /* Stack buttons on mobile */
        margin: 10px auto;
        max-width: 280px;
    }

    /* Ensure images are responsive and do not overflow */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
    }
    /* Specific rules for content images to ensure min size constraint is respected where possible, but max-width 100% takes precedence on mobile to prevent overflow */
    .page-gdpr__card-icon,
    .page-gdpr__data-security-image {
        min-width: unset; /* Override desktop min-width to allow scaling */
        min-height: unset; /* Override desktop min-height to allow scaling */
        width: 100%; /* Ensure they take full available width */
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }

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