/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #0a0a0a, so light text */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    background-color: #017439; /* Brand primary color for hero */
    color: #ffffff;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3; /* Slightly transparent to let background color show */
}

.page-gdpr__hero-section .page-gdpr__container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-gdpr__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFF00; /* Custom color for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-gdpr__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-gdpr__btn {
    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.2s ease;
    cursor: pointer;
    border: none;
}

.page-gdpr__btn-register {
    background-color: #C30808; /* Custom Register color */
    color: #FFFF00; /* Custom Register font color */
}

.page-gdpr__btn-register:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-gdpr__btn-login {
    background-color: #C30808; /* Custom Login color */
    color: #FFFF00; /* Custom Login font color */
}

.page-gdpr__btn-login:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-gdpr__btn-primary {
    background-color: #017439;
    color: #ffffff;
}

.page-gdpr__btn-primary:hover {
    background-color: #005f2e;
    transform: translateY(-2px);
}

/* General Sections */
.page-gdpr__content-section,
.page-gdpr__commitment-section,
.page-gdpr__rights-section,
.page-gdpr__data-processing-section,
.page-gdpr__cookies-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
    padding: 60px 0;
}

.page-gdpr__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
}

.page-gdpr__dark-bg {
    background-color: #0d0d0d; /* Slightly lighter dark for contrast with text */
    color: #ffffff;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    margin-bottom: 40px;
    text-align: center;
    color: #017439; /* Brand primary color for section titles */
}

.page-gdpr__light-bg .page-gdpr__section-title {
    color: #017439;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
    color: #FFFF00; /* Yellow for titles on dark background for contrast */
}

.page-gdpr__subsection-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #017439; /* Brand primary color */
}

.page-gdpr__light-bg .page-gdpr__subsection-title {
    color: #017439;
}

.page-gdpr__dark-bg .page-gdpr__subsection-title {
    color: #ffffff;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__text-block a {
    color: #017439; /* Link color */
    text-decoration: underline;
}

.page-gdpr__dark-bg .page-gdpr__text-block a {
    color: #FFFF00; /* Link color on dark background */
}

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

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-gdpr__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for card titles on dark background */
}

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

/* Rights List */
.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gdpr__rights-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: #333333;
}

.page-gdpr__rights-item strong {
    color: #017439;
}

/* Data Processing Section */
.page-gdpr__processing-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__processing-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__processing-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for processing titles on dark background */
}

.page-gdpr__processing-text {
    font-size: 1em;
    line-height: 1.7;
}

.page-gdpr__data-processing-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
}

/* Cookies Section */
.page-gdpr__list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 20px;
    font-size: 1.1em;
    color: #333333;
}

.page-gdpr__list li {
    margin-bottom: 10px;
}

/* Contact Section */
.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-gdpr__contact-list li {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #FFFF00;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 6px;
    font-size: 1.1em;
    color: #ffffff;
}

.page-gdpr__contact-list li strong {
    color: #FFFF00;
}

.page-gdpr__contact-list li a {
    color: #FFFF00;
    text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-section {
    background-color: #f0f0f0; /* Light background for FAQ for better contrast */
    color: #333333;
}

.page-gdpr__faq-section .page-gdpr__section-title {
    color: #017439;
}

.page-gdpr__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}