/* style/gdpr.css */

/* Custom Colors */
:root {
    --gdpr-primary-color: #11A84E;
    --gdpr-secondary-color: #22C768;
    --gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --gdpr-card-bg: #11271B;
    --gdpr-background: #08160F;
    --gdpr-text-main: #F2FFF6;
    --gdpr-text-secondary: #A7D9B8;
    --gdpr-border: #2E7A4E;
    --gdpr-glow: #57E38D;
    --gdpr-gold: #F2C14E;
    --gdpr-divider: #1E3A2A;
    --gdpr-deep-green: #0A4B2C;
    --gdpr-light-text: #ffffff; /* For dark backgrounds */
    --gdpr-dark-text: #333333; /* For light backgrounds */
    --gdpr-white-bg: #ffffff;
    --gdpr-light-grey-bg: #f5f5f5;
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--gdpr-dark-text); /* Default for light backgrounds */
    background-color: var(--gdpr-white-bg); /* Default for light sections */
}

/* Sections with dark background */
.page-gdpr__dark-bg {
    background-color: var(--gdpr-background);
    color: var(--gdpr-text-main);
}

/* Sections with light background */
.page-gdpr__light-bg {
    background-color: var(--gdpr-white-bg);
    color: var(--gdpr-dark-text);
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as per instruction */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-gdpr__hero-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gdpr-text-main); /* For dark hero section */
}

.page-gdpr__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--gdpr-text-secondary); /* For dark hero section */
}

/* Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-gdpr__btn-primary {
    background: var(--gdpr-button-gradient);
    color: var(--gdpr-light-text);
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--gdpr-primary-color);
    border: 2px solid var(--gdpr-primary-color);
}

.page-gdpr__btn-secondary:hover {
    background: var(--gdpr-primary-color);
    color: var(--gdpr-light-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 0;
}

.page-gdpr__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit from section for contrast */
}

.page-gdpr__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: inherit;
}

.page-gdpr__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    color: inherit;
}

.page-gdpr p {
    margin-bottom: 15px;
    color: inherit;
}

/* Content Grid */
.page-gdpr__content-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.page-gdpr__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__text-block,
.page-gdpr__image-block {
    flex: 1;
}

.page-gdpr__image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* Rights Grid */
.page-gdpr__rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-gdpr__card {
    background-color: var(--gdpr-card-bg);
    color: var(--gdpr-text-main);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--gdpr-border);
    height: 100%; /* Ensure cards are same height */
    display: flex;
    flex-direction: column;
}

.page-gdpr__card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--gdpr-text-main);
}

/* Contact Grid */
.page-gdpr__contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__contact-grid .page-gdpr__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.page-gdpr__contact-grid .page-gdpr__card .page-gdpr__btn-primary,
.page-gdpr__contact-grid .page-gdpr__card .page-gdpr__btn-secondary {
    margin-top: 20px;
    width: auto; /* Allow buttons to size to content */
}

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

.page-gdpr__faq-item {
    background-color: var(--gdpr-card-bg);
    color: var(--gdpr-text-main);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--gdpr-border);
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome/Safari */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    background-color: var(--gdpr-deep-green);
}

.page-gdpr__faq-question:hover {
    background-color: var(--gdpr-deep-green);
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: var(--gdpr-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__content-grid {
        flex-direction: column;
    }
    .page-gdpr__content-grid--reverse {
        flex-direction: column; /* On smaller screens, reverse isn't as critical */
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-gdpr__main-title {
        font-size: 2.2rem;
    }

    .page-gdpr__description {
        font-size: 1rem;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__section {
        padding: 40px 0;
    }

    .page-gdpr__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-gdpr__section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-gdpr__sub-title {
        font-size: 1.3rem;
    }

    .page-gdpr__content-grid {
        gap: 30px;
    }

    .page-gdpr__image-block img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-gdpr__text-block,
    .page-gdpr__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-gdpr__rights-grid,
    .page-gdpr__contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__card-title {
        font-size: 1.2rem;
    }

    .page-gdpr__faq-question {
        padding: 15px;
        font-size: 1rem;
    }

    .page-gdpr__faq-answer {
        padding: 0 15px 15px 15px;
    }

    /* Ensure all images are responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}