/* style/gdpr.css */

.page-gdpr {
    font-family: Arial, sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    line-height: 1.6;
    background-color: var(--dark-bg-1);
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-gdpr__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

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

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

.page-gdpr__section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #CC0000;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-gdpr__text-block p {
    margin-bottom: 15px;
}

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

.page-gdpr__card {
    background-color: rgba(204, 0, 0, 0.2);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-left: 5px solid #FFD700;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    background-color: rgba(204, 0, 0, 0.4);
}

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

.page-gdpr__card p {
    color: #f0f0f0;
    font-size: 1em;
}

.page-gdpr__list {
    list-style: disc inside;
    margin-left: 20px;
    color: #f0f0f0;
    font-size: 1.1em;
}

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

.page-gdpr__list strong {
    color: #FFD700;
}

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

.page-gdpr__image-right {
    float: right;
    margin: 0 0 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 45%;
    height: auto;
}

.page-gdpr__image-left {
    float: left;
    margin: 0 30px 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 45%;
    height: auto;
}

.page-gdpr__dark-section {
    background-color: rgba(204, 0, 0, 0.6);
    color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #FFD700;
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    font-size: 1.1em;
    color: #f0f0f0;
}

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

.page-gdpr__contact-list strong {
    color: #FFD700;
}

.page-gdpr__link {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #CC0000;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #CC0000;
    box-sizing: border-box;
}

.page-gdpr__btn-primary:hover {
    background-color: #FFD700;
    color: #CC0000;
    transform: translateY(-3px);
    border-color: #FFD700;
}

.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(204, 0, 0, 0.3);
    color: #FFD700;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(204, 0, 0, 0.5);
}

.page-gdpr__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1em;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.5em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__image-right, .page-gdpr__image-left {
        max-width: 100%;
        float: none;
        margin: 20px auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-gdpr__hero-title {
        font-size: 2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__section {
        padding: 20px 15px;
        margin: 20px auto;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__text-block, .page-gdpr__list, .page-gdpr__contact-list {
        font-size: 1em;
    }
    .page-gdpr__grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__card-title {
        font-size: 1.3em;
    }
    .page-gdpr__image-full-width, .page-gdpr__image-right, .page-gdpr__image-left {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        float: none !important;
        margin: 20px auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .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: 12px 15px;
        font-size: 1em;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px;
    }
    .page-gdpr__content-area,
    .page-gdpr__section,
    .page-gdpr__hero-section,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__implementation-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section,
    .page-gdpr__hero-content,
    .page-gdpr__grid-container,
    .page-gdpr__text-block,
    .page-gdpr__faq-list {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow-x: hidden;
    }
    .page-gdpr__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
}