/* style/gdpr.css */

/* Base styling for the GDPR page */
.page-gdpr {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures 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;
    padding: 80px 20px;
    text-align: center;
    background-color: #0A1931; /* Main brand color for hero background */
    overflow: hidden; /* For potential image overflow */
}

.page-gdpr__hero-container {
    position: relative;
    z-index: 2; /* Ensures text is above the image */
    max-width: 900px;
    margin: 0 auto;
}

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

.page-gdpr__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Accent color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-gdpr__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

.page-gdpr__button--primary {
    background-color: #FFD700; /* Accent color for primary button */
    color: #0A1931; /* Main color for text on accent button */
    border: 2px solid #FFD700;
}

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

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

.page-gdpr__button--secondary:hover {
    background-color: #FFD700;
    color: #0A1931;
    transform: translateY(-3px);
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 0;
    background-color: #1a2a44; /* Slightly lighter dark background for sections */
    margin-bottom: 20px; /* Space between sections */
}

.page-gdpr__section:nth-child(even) {
    background-color: #0A1931; /* Alternating background for visual separation */
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #FFD700;
    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;
    border-radius: 2px;
}

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

.page-gdpr__section-text--cta {
    margin-top: 40px;
}

/* Card Grid Layout */
.page-gdpr__card-grid,
.page-gdpr__rights-grid,
.page-gdpr__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-gdpr__card,
.page-gdpr__right-card,
.page-gdpr__feature-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__card:hover,
.page-gdpr__right-card:hover,
.page-gdpr__feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__card-title,
.page-gdpr__right-title,
.page-gdpr__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-gdpr__card-text,
.page-gdpr__right-description,
.page-gdpr__feature-description {
    font-size: 1em;
    color: #c0c0c0;
}

/* Commitment Section */
.page-gdpr__content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__content-image {
    flex: 1;
    min-width: 300px; /* Ensure image doesn't shrink too much */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    width: 600px; /* HTML width attribute */
    height: 450px; /* HTML height attribute */
}

.page-gdpr__commitment-list {
    flex: 2;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-gdpr__commitment-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 5px solid #FFD700;
}

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

.page-gdpr__list-text {
    font-size: 0.95em;
    color: #e0e0e0;
}

/* Data Security Section */
.page-gdpr__feature-icon {
    margin-bottom: 20px;
    width: 200px; /* Minimum size requirement */
    height: 200px; /* Minimum size requirement */
    object-fit: contain; /* Ensure full icon is visible */
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #FFD700;
}

.page-gdpr__faq-question {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-gdpr__faq-answer {
    font-size: 1em;
    color: #c0c0c0;
}

/* Contact CTA Section */
.page-gdpr__contact-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-gdpr__contact-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-gdpr__contact-content .page-gdpr__section-title {
    text-align: left;
    margin-bottom: 20px;
}

.page-gdpr__contact-content .page-gdpr__section-title::after {
    left: 0;
    transform: translateX(0);
}

.page-gdpr__contact-content .page-gdpr__section-text {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 30px;
}

.page-gdpr__contact-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px; /* Constrain max width */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    width: 400px; /* HTML width attribute */
    height: 300px; /* HTML height attribute */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 3em;
    }
    .page-gdpr__section-title {
        font-size: 2.2em;
    }
    .page-gdpr__content-flex,
    .page-gdpr__contact-flex {
        flex-direction: column;
        text-align: center;
    }
    .page-gdpr__contact-content .page-gdpr__section-title,
    .page-gdpr__contact-content .page-gdpr__section-text {
        text-align: center;
    }
    .page-gdpr__contact-content .page-gdpr__section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    }
    .page-gdpr__hero-section {
        padding: 60px 15px;
    }
    .page-gdpr__hero-title {
        font-size: 2.5em;
    }
    .page-gdpr__hero-description {
        font-size: 1.1em;
    }
    .page-gdpr__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__button {
        width: 100%;
        max-width: 300px;
    }
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__section-text {
        font-size: 1em;
    }
    .page-gdpr__card-grid,
    .page-gdpr__rights-grid,
    .page-gdpr__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__content-image,
    .page-gdpr__contact-image {
        max-width: 100%; /* Ensure images are responsive */
        height: auto; /* Maintain aspect ratio */
    }

    /* Mobile specific image sizing for all images within .page-gdpr */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 2em;
    }
    .page-gdpr__button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__card-title,
    .page-gdpr__right-title,
    .page-gdpr__feature-title,
    .page-gdpr__list-title,
    .page-gdpr__faq-question {
        font-size: 1.2em;
    }
}