/* style/gdpr.css */

.page-gdpr {
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    background-color: #000000; /* Dark background for hero */
    color: #ffffff; /* Light text for dark background */
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

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

.page-gdpr__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FCBC45; /* Highlight title with accent color */
    line-height: 1.2;
}

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

.page-gdpr__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text on bright button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-gdpr__hero-button:hover {
    background-color: #e0a53b;
}

.page-gdpr__hero-image {
    max-width: 100%;
}

.page-gdpr__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-gdpr__section-title {
    font-size: 2.2em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

.page-gdpr__section-intro {
    font-size: 1.05em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #555555;
}

/* Principles Section */
.page-gdpr__principles-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.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: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__principle-card img {
    width: 200px; /* Min size 200x200 */
    height: 200px; /* Min size 200x200 */
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-gdpr__card-description {
    color: #666666;
}

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

.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__rights-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #FCBC45; /* Accent border */
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-gdpr__item-description {
    color: #666666;
}

/* Data Processing Section */
.page-gdpr__data-processing-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

.page-gdpr__processing-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-gdpr__processing-card img {
    width: 100%;
    max-width: 600px; /* Ensure images are not too wide for card */
    height: auto;
    min-height: 200px; /* Min height 200px */
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}

.page-gdpr__more-info {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
}

.page-gdpr__more-info a {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__more-info a:hover {
    text-decoration: underline;
}

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

.page-gdpr__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

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

.page-gdpr__feature-item img {
    width: 200px; /* Min size 200x200 */
    height: 200px; /* Min size 200x200 */
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-gdpr__feature-description {
    color: #666666;
}

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

.page-gdpr__contact-section .page-gdpr__section-title {
    color: #FCBC45;
}

.page-gdpr__contact-section .page-gdpr__section-intro {
    color: #e0e0e0;
}

.page-gdpr__contact-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-gdpr__contact-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-gdpr__contact-button:hover {
    background-color: #e0a53b;
}

/* Animation classes */
.page-gdpr--hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.page-gdpr--fade-in {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

    .page-gdpr__hero-section {
        flex-direction: column;
        padding: 40px 15px;
    }

    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__hero-image img {
        width: 100%;
        height: auto;
        min-width: unset; 
        min-height: unset;
    }
    
    .page-gdpr__principle-card img,
    .page-gdpr__processing-card img,
    .page-gdpr__feature-item img {
        width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min width */
        min-height: 200px; /* Enforce min height */
        object-fit: contain; 
    }
}