/* style/gdpr.css */

:root {
    --primary-color: #003366; /* Dabet Blue */
    --secondary-color: #FFCC00; /* Dabet Gold */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --bg-medium: #e0e0e0;
    --border-color: #e0e0e0;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

.page-gdpr-hero {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-gdpr-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.page-gdpr-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* Subtle overlay */
    filter: grayscale(100%); /* Make it black and white to avoid color clash */
    transform: scale(1.1); /* Slightly zoom for effect */
}

.page-gdpr-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: bold;
}

.page-gdpr-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-gdpr-cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    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;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr-cta-button:hover {
    background-color: #e6b800; /* Slightly darker gold */
    transform: translateY(-3px);
}

.page-gdpr-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-gdpr-section:last-of-type {
    border-bottom: none;
}

.page-gdpr-section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    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: var(--secondary-color);
    border-radius: 2px;
}

.page-gdpr p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-gdpr h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-gdpr h4 {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

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

.page-gdpr-grid-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr-grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-gdpr-grid-item img {
    max-width: 100%;
    height: 200px; /* Enforce minimum height */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-gdpr-list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

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

.page-gdpr-list li strong {
    color: var(--primary-color);
}

.page-gdpr-inline-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr-inline-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-gdpr-image-full-width {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr-protection-item {
    background-color: var(--text-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--secondary-color);
}

.page-gdpr-protection-item h4 {
    color: var(--primary-color);
    margin-top: 0;
}

.page-gdpr-contact-list {
    list-style: none;
    padding: 0;
    margin-left: 0;
    margin-top: 20px;
    font-size: 1.1em;
}

.page-gdpr-contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.page-gdpr-contact-list li strong {
    min-width: 120px;
    color: var(--primary-color);
}

/* FAQ Section Styling */
.page-gdpr-faq-items {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-medium);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 15px;
    background-color: var(--bg-light);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 15px;
    border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr-title {
        font-size: 2.5em;
    }
    .page-gdpr-subtitle {
        font-size: 1.1em;
    }
    .page-gdpr-section-title {
        font-size: 2em;
    }
    .page-gdpr-grid, .page-gdpr-protection-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr-hero {
        padding: 60px 15px;
    }
    .page-gdpr-title {
        font-size: 2em;
    }
    .page-gdpr-subtitle {
        font-size: 1em;
    }
    .page-gdpr-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-gdpr-section {
        padding: 40px 0;
    }
    .page-gdpr-section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr p, .page-gdpr-list li {
        font-size: 1em;
    }
    .page-gdpr h3 {
        font-size: 1.5em;
    }
    .page-gdpr-grid-item, .page-gdpr-protection-item {
        padding: 20px;
    }
    .page-gdpr-hero-image img {
        filter: grayscale(100%) brightness(0.5); /* Darker overlay for better text readability on smaller screens */
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-gdpr-title {
        font-size: 1.8em;
    }
    .page-gdpr-section-title {
        font-size: 1.6em;
    }
    .page-gdpr-grid, .page-gdpr-protection-grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr-contact-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    .page-gdpr-contact-list li strong {
        min-width: unset;
        margin-bottom: 5px;
    }
}