/* style/gdpr.css */

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

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff; /* Light text for hero section */
    background-color: #1A1A2E; /* Main color as background */
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.page-gdpr__hero-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

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

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

.page-gdpr__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color for button */
    color: #1A1A2E; /* Main color for button text */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-gdpr__hero-button:hover {
    background-color: #e5c100;
    transform: translateY(-3px);
}

/* General Section Styles */
.page-gdpr__section-title {
    font-size: 2.5em;
    color: #1A1A2E; /* Main color for section titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
    font-weight: bold;
}

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

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

.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-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-gdpr__card-icon {
    width: 100%; /* Ensure it takes full width of card */
    height: auto;
    max-height: 200px; /* Cap height for consistency */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-gdpr__card-title {
    font-size: 1.5em;
    color: #1A1A2E;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card-text {
    font-size: 1em;
    color: #666666;
}

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

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

.page-gdpr__right-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.page-gdpr__right-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__right-title {
    font-size: 1.4em;
    color: #1A1A2E;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__right-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
}

.page-gdpr__right-link {
    display: inline-block;
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__right-link:hover {
    color: #1A1A2E;
    text-decoration: underline;
}

/* Contact Section */
.page-gdpr__contact-section {
    background-color: #1A1A2E; /* Main color as background */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-gdpr__contact-section .page-gdpr__section-title {
    color: #FFD700; /* Auxiliary color for title */
}

.page-gdpr__contact-section .page-gdpr__section-intro {
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-gdpr__contact-button {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color for button */
    color: #1A1A2E;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 0 10px 20px 10px;
    border: none;
    cursor: pointer;
}

.page-gdpr__contact-button:hover {
    background-color: #e5c100;
    transform: translateY(-3px);
}

.page-gdpr__contact-button--primary {
    background-color: #FFD700;
    color: #1A1A2E;
}

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


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

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

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 0;
    }

    .page-gdpr__hero-title {
        font-size: 2.2em;
    }

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

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

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

    /* Content area images must not be smaller than 200px */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum width */
        min- /* Adjust min height for aspect ratios */
        object-fit: cover; /* Ensure images fill their space */
    }

    .page-gdpr__card-icon {
        max-height: 250px; /* Cap height to avoid overly tall images */
        min-height: 150px; /* Ensure minimum size */
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-section {
        padding: 40px 0;
    }

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

    .page-gdpr__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

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

    .page-gdpr__contact-button {
        display: block;
        margin: 10px auto;
    }
}