/* style/gdpr.css */

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

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #003366; /* Dark blue background for hero */
    min-height: 500px; /* Ensure hero section has a decent height */
}

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

.page-gdpr__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire area */
    opacity: 0.3; /* Make it a subtle background */
    display: block;
    min-width: 200px;
    min-height: 200px;
}

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

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

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

.page-gdpr__hero-cta {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #003366; /* Dark blue text on gold */
    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-cta:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    color: #002244;
}

/* General Section Styling */
.page-gdpr__section-title {
    font-size: 2.5em;
    color: #003366; /* Dark blue for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

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

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

/* Dark Background Sections */
.page-gdpr__section--dark-bg {
    background-color: #003366; /* Dark blue background */
    color: #f0f0f0; /* Light text on dark background */
    padding: 60px 0;
}

.page-gdpr__section--dark-bg .page-gdpr__section-title,
.page-gdpr__section--dark-bg .page-gdpr__sub-title {
    color: #FFD700; /* Gold titles on dark background */
}

.page-gdpr__section--dark-bg .page-gdpr__paragraph,
.page-gdpr__section--dark-bg .page-gdpr__card-description,
.page-gdpr__section--dark-bg .page-gdpr__list-description,
.page-gdpr__section--dark-bg .page-gdpr__data-list li {
    color: #f0f0f0; /* Light text */
}

/* Introduction Section */
.page-gdpr__introduction-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-gdpr__principle-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark blue */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-gdpr__card-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold for card titles */
    margin-bottom: 15px;
}

.page-gdpr__card-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Rights Section */
.page-gdpr__rights-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-gdpr__list-item {
    background-color: #f9f9f9;
    border-left: 5px solid #003366; /* Dark blue accent */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-title {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 10px;
}

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

/* Data Collection Section */
.page-gdpr__data-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-gdpr__data-list .page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark blue */
    border-left-color: #FFD700; /* Gold accent */
    color: #f0f0f0;
}

.page-gdpr__data-list .page-gdpr__list-item strong {
    color: #FFD700;
}

/* Security Section */
.page-gdpr__security-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-gdpr__security-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-gdpr__security-list .page-gdpr__list-item {
    background-color: #f9f9f9;
    border-left: 5px solid #003366;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Data Retention Section */
.page-gdpr__retention-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-gdpr__retention-list .page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark blue */
    border-left-color: #FFD700;
    color: #f0f0f0;
}

.page-gdpr__retention-list .page-gdpr__list-item strong {
    color: #FFD700;
}

/* Contact Section */
.page-gdpr__contact-section {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.page-gdpr__contact-info {
    margin-top: 40px;
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 10px;
    display: inline-block;
    max-width: 600px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-gdpr__contact-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* CTA Section */
.page-gdpr__cta-section {
    padding: 80px 0;
    text-align: center;
}

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

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

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

.page-gdpr__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #003366;
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

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

.page-gdpr__cta-link {
    display: block;
    font-size: 1em;
    color: #f0f0f0;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__cta-link:hover {
    color: #FFD700;
}

/* Image wrappers */
.page-gdpr__image-wrapper {
    margin: 40px auto;
    max-width: 1000px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-gdpr__image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

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

@media (max-width: 768px) {
    .page-gdpr {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-gdpr__hero-section {
        padding: 60px 15px;
        min-height: 400px;
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 0.95em;
    }
    .page-gdpr__hero-cta {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__sub-title {
        font-size: 1.4em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__card-description,
    .page-gdpr__list-description,
    .page-gdpr__contact-text {
        font-size: 0.95em;
    }
    .page-gdpr__principles-grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__principle-card {
        padding: 25px;
    }
    .page-gdpr__list-item {
        padding: 15px;
    }
    .page-gdpr__cta-section {
        padding: 60px 0;
    }
    .page-gdpr__cta-title {
        font-size: 1.8em;
    }
    .page-gdpr__cta-description {
        font-size: 1em;
    }
    .page-gdpr__cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-gdpr__image-wrapper {
        margin: 30px auto;
        padding: 0 10px; /* Add some padding to prevent images touching edges */
    }
    .page-gdpr__image-wrapper img {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto;
    }
    .page-gdpr__container {
      padding: 0 15px;
    }
}