/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css, which is #000000 */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-gdpr a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: none;
}

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

/* Hero Section */
.page-gdpr__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent brand color for hero background */
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-content {
    max-width: 900px;
    z-index: 1;
    margin-bottom: 40px;
}

.page-gdpr__hero-title {
    font-size: 3em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-gdpr__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-gdpr__btn-primary:hover {
    background-color: #1a8cc2;
    border-color: #1a8cc2;
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-gdpr__hero-image {
    margin-top: 40px;
    max-width: 100%;
    height: auto;
    display: block;
}

.page-gdpr__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for sections on dark background */
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-gdpr__section--intro {
    background-color: rgba(255, 255, 255, 0.08);
}

.page-gdpr__dark-section {
    background-color: rgba(38, 169, 224, 0.2); /* Darker section with brand color tint */
    color: #ffffff;
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for main section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-gdpr__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__text,
.page-gdpr__text-intro {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-gdpr__text-intro {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Card Grid Layout */
.page-gdpr__grid-container {
    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 for cards on dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff; /* Light text for card content */
}

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

.page-gdpr__card-title {
    font-size: 1.4em;
    color: #26A9E0; /* Brand color for card titles */
    margin-bottom: 15px;
    line-height: 1.3;
}

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

.page-gdpr__image-container {
    margin-top: 40px;
    text-align: center;
    max-width: 100%;
    height: auto;
    display: block;
}

.page-gdpr__image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

/* Specific section adjustments */
.page-gdpr__section--rights .page-gdpr__grid-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-gdpr__section--rights .page-gdpr__image-container--right {
    order: 1; /* Image appears first on mobile, but right on desktop if flex-direction is row */
    margin-bottom: 30px;
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
}

.page-gdpr__faq-question:hover {
    color: #26A9E0;
}

.page-gdpr__faq-title {
    margin: 0;
    flex-grow: 1;
    color: inherit; /* Inherit color from parent for hover effect */
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 20px;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

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

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #e0e0e0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Important to override any other max-height */
    padding: 15px 25px 20px;
}

.page-gdpr__faq-answer p {
    margin: 0;
    color: #e0e0e0;
}

/* Contact Section */
.page-gdpr__section--contact {
    background-color: rgba(255, 255, 255, 0.08);
}

.page-gdpr__contact-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-gdpr__contact-info {
    flex: 1;
    min-width: 300px;
}

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

.page-gdpr__contact-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-gdpr__contact-label {
    color: #26A9E0;
    margin-right: 8px;
}

.page-gdpr__contact-link {
    color: #26A9E0;
    text-decoration: underline;
}

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

.page-gdpr__image-container--contact {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-gdpr__image-container--contact img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

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

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

    .page-gdpr__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
    }

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

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

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

    .page-gdpr__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-gdpr__section {
        padding: 30px 15px;
    }

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

    .page-gdpr__sub-title {
        font-size: 1.4em;
    }

    .page-gdpr__grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    
    /* Mobile image responsiveness */
    .page-gdpr img {
      max-width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-gdpr__image-container,
    .page-gdpr__hero-image {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-gdpr__contact-flex {
        flex-direction: column;
    }

    .page-gdpr__contact-info,
    .page-gdpr__image-container--contact {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__faq-question {
        font-size: 1em;
    }
}