/* style/gdpr.css */

/* General Page Styles */
.page-gdpr {
    color: #ffffff; /* Light text for dark body background */
    background-color: #1a1a2e; /* Inherited from body, explicitly set for clarity */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 0; /* Handled by shared.css for body padding */
}

.page-gdpr__section {
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.page-gdpr__section--dark-bg {
    background-color: #2F4F4F; /* Auxiliary color for contrast sections */
}

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

.page-gdpr__main-title {
    font-size: 42px;
    font-weight: bold;
    color: #DAA520; /* Gold primary color */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr__section-title {
    font-size: 32px;
    font-weight: bold;
    color: #DAA520; /* Gold primary color */
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.page-gdpr__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__sub-title {
    font-size: 24px;
    font-weight: bold;
    color: #DAA520;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr p {
    margin-bottom: 1em;
    color: #ffffff;
}

.page-gdpr a {
    color: #DAA520; /* Gold links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr a:hover {
    color: #ffd700; /* Lighter gold on hover */
    text-decoration: underline;
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1em;
    color: #ffffff;
}

.page-gdpr__list li {
    margin-bottom: 0.5em;
}

/* Hero Banner Section */
.page-gdpr__hero-banner {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #2F4F4F; /* Auxiliary color */
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 0; /* Ensure no double padding if shared.css sets body padding-top */
}

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

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

.page-gdpr__cta-buttons {
    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: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background-color: #DAA520; /* Gold primary color */
    color: #1a1a2e; /* Dark text for gold background */
    border: 2px solid #DAA520;
}

.page-gdpr__btn-primary:hover {
    background-color: #ffd700; /* Lighter gold */
    border-color: #ffd700;
    transform: translateY(-3px);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #DAA520; /* Gold text */
    border: 2px solid #DAA520;
}

.page-gdpr__btn-secondary:hover {
    background-color: #DAA520; /* Gold background */
    color: #1a1a2e; /* Dark text */
    transform: translateY(-3px);
}

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-gdpr__hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* Subtly visible background image */
    display: block;
}

/* Rights Section Specific Styles */
.page-gdpr__grid--rights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
}

.page-gdpr__card--gold-border {
    border: 1px solid #DAA520;
}

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

.page-gdpr__card-title {
    font-size: 20px;
    font-weight: bold;
    color: #DAA520;
    margin-bottom: 15px;
    flex-grow: 0; /* Don't grow to fill space */
}

.page-gdpr__card p {
    font-size: 15px;
    color: #f0f0f0;
    flex-grow: 1; /* Allow paragraph to grow and push title up */
}

/* Data Collection Section */
.page-gdpr__data-collection-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-gdpr__data-item-title {
    font-size: 22px;
    font-weight: bold;
    color: #DAA520;
    margin-bottom: 15px;
}

.page-gdpr__data-item ul {
    list-style: disc;
    padding-left: 20px;
}

.page-gdpr__data-item li {
    margin-bottom: 10px;
    color: #ffffff;
}

/* Security Section */
.page-gdpr__list--security-measures {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-gdpr__list--security-measures li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #ffffff;
}

.page-gdpr__list--security-measures li::before {
    content: '✓'; /* Checkmark icon */
    color: #DAA520; /* Gold checkmark */
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 20px;
    line-height: 1;
}

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

/* Contact Section */
.page-gdpr__contact-info {
    text-align: center;
    margin-top: 30px;
    font-size: 18px;
}

.page-gdpr__contact-info p {
    margin-bottom: 15px;
    color: #ffffff;
}

.page-gdpr__contact-link {
    font-weight: bold;
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for items */
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: rgba(255, 255, 255, 0.1); /* Even lighter for question header */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #DAA520;
}

.page-gdpr__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-gdpr__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #DAA520; /* Gold for toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    color: #ffd700;
    transform: rotate(45deg); /* Rotate for minus sign */
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 2000px !important; /* Ensure enough height for content */
    padding: 20px 25px !important;
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.08); /* Slightly different background for open answer */
    border-radius: 0 0 8px 8px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 38px;
    }
    .page-gdpr__section-title {
        font-size: 28px;
    }
    .page-gdpr__section-description {
        font-size: 16px;
    }
    .page-gdpr__hero-banner {
        padding: 80px 20px;
    }
    .page-gdpr__hero-content {
        margin-bottom: 30px;
    }
    .page-gdpr__hero-description {
        font-size: 18px;
    }
    .page-gdpr__cta-buttons {
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-gdpr__sub-title {
        font-size: 22px;
    }
    .page-gdpr__card-title {
        font-size: 18px;
    }
    .page-gdpr__card p {
        font-size: 14px;
    }
    .page-gdpr__data-item-title {
        font-size: 20px;
    }
    .page-gdpr__list li {
        font-size: 15px;
    }
    .page-gdpr__list--security-measures li {
        font-size: 15px;
    }
    .page-gdpr__faq-question h3 {
        font-size: 17px;
    }
    .page-gdpr__faq-toggle {
        font-size: 26px;
        width: 30px;
        height: 30px;
    }
    .page-gdpr__faq-answer p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__section {
        padding: 40px 15px;
    }
    .page-gdpr__container {
        padding: 0;
    }
    .page-gdpr__main-title {
        font-size: 30px;
        margin-bottom: 15px;
    }
    .page-gdpr__section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    .page-gdpr__section-description {
        font-size: 15px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    .page-gdpr__hero-banner {
        padding: 60px 15px;
    }
    .page-gdpr__hero-content {
        margin-bottom: 30px;
    }
    .page-gdpr__hero-description {
        font-size: 16px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important; /* Ensure container takes full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px !important;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important; /* Full width for buttons */
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-gdpr__sub-title {
        font-size: 20px;
    }
    .page-gdpr__grid--rights {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__card {
        padding: 20px;
        box-sizing: border-box;
    }
    .page-gdpr__card-title {
        font-size: 17px;
        margin-bottom: 10px;
    }
    .page-gdpr__card p {
        font-size: 13px;
    }
    .page-gdpr__data-collection-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__data-item-title {
        font-size: 18px;
    }
    .page-gdpr__list {
        margin-left: 15px;
    }
    .page-gdpr__list li {
        font-size: 14px;
    }
    .page-gdpr__list--security-measures li {
        padding-left: 25px;
        font-size: 14px;
    }
    .page-gdpr__list--security-measures li::before {
        font-size: 18px;
    }
    .page-gdpr__image--security {
        margin-top: 20px;
    }
    .page-gdpr__contact-info {
        font-size: 16px;
        padding: 0 15px;
    }
    .page-gdpr__faq-item {
        margin-bottom: 10px;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    .page-gdpr__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }
    .page-gdpr__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
        margin-left: 10px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px !important;
    }
    .page-gdpr__faq-answer p {
        font-size: 14px;
    }

    /* Universal image responsive for content area */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box;
    }
    /* Ensure general content containers adapt */
    .page-gdpr__content-block,
    .page-gdpr__data-collection-details,
    .page-gdpr__faq-list,
    .page-gdpr__contact-info {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}