/* style/gdpr.css */

/* Base styles for GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default light text for dark body background */
    background-color: #121212; /* Matches assumed shared body background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 80px 0;
    background-color: #000080; /* Navy Blue */
    color: #ffffff;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-gdpr__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold */
    font-weight: bold;
}

.page-gdpr__intro-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__hero-image-wrapper {
    margin-top: 30px;
}

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

/* Content Area */
.page-gdpr__content-area {
    padding: 60px 0;
    background-color: #f8f9fa; /* Light background for main content readability */
    color: #333333; /* Dark text for light background */
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #000080; /* Navy Blue */
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

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

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

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__link {
    color: #000080; /* Navy Blue for links */
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: #FFD700; /* Gold on hover */
}

/* CTA Button */
.page-gdpr__contact-cta {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #FFD700; /* Gold */
    color: #000080; /* Navy Blue text for contrast */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    background-color: #000080; /* Navy Blue on hover */
    color: #FFD700; /* Gold text on hover */
    border-color: #FFD700;
}

/* FAQ Section */
.page-gdpr__faq-section {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    margin-top: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-gdpr__faq-title {
    font-size: 2em;
    color: #000080;
    margin-bottom: 30px;
    text-align: center;
}

.page-gdpr__faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.page-gdpr__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    color: #FFD700; /* Gold on hover */
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    color: #000080;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
    color: #FFD700;
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1.1em;
    color: #555555;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px;
}

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

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

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 20px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
    }

    .page-gdpr__main-title {
        font-size: 2.2em;
        line-height: 1.2;
    }

    .page-gdpr__intro-text {
        font-size: 1.1em;
    }

    .page-gdpr__content-area {
        padding: 40px 0;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .page-gdpr__paragraph,
    .page-gdpr__list,
    .page-gdpr__list-item,
    .page-gdpr__faq-answer p {
        font-size: 1em;
        padding: 0 15px;
    }

    .page-gdpr__list {
        margin-left: 35px;
        padding-right: 15px;
    }

    .page-gdpr__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-gdpr__contact-cta {
        padding: 0 15px;
    }

    .page-gdpr__faq-section {
        padding: 30px 15px;
    }

    .page-gdpr__faq-question {
        font-size: 1.1em;
        padding: 10px 0;
    }
    
    /* Mobile image and container responsive rules */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__content-area,
    .page-gdpr__faq-section,
    .page-gdpr__contact-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    .page-gdpr__image-container {
        padding: 0 15px;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }

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

    .page-gdpr__btn-primary {
        padding: 12px 20px;
        font-size: 1em;
    }
}