/* style/gdpr.css */

/* Custom properties for colors */
:root {
    --gdpr-bg-dark: #08160F; /* Background */
    --gdpr-card-bg: #11271B; /* Card BG */
    --gdpr-text-main: #F2FFF6; /* Text Main */
    --gdpr-text-secondary: #A7D9B8; /* Text Secondary */
    --gdpr-border: #2E7A4E; /* Border */
    --gdpr-glow: #57E38D; /* Glow */
    --gdpr-gold: #F2C14E; /* Gold */
    --gdpr-divider: #1E3A2A; /* Divider */
    --gdpr-deep-green: #0A4B2C; /* Deep Green */
    --gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
}

.page-gdpr {
    background-color: var(--gdpr-bg-dark);
    color: var(--gdpr-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

/* Ensure content area images are not small icons */
.page-gdpr img {
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    height: auto;
    display: block; /* Ensures proper spacing and sizing */
    margin: 20px auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    overflow: hidden;
    text-align: center;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%; /* Fill wrapper height */
    object-fit: cover; /* Cover the area, crop if necessary */
    border-radius: 0; /* No border-radius for hero image */
    margin: 0; /* No margin for hero image */
}

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1; /* Ensure text is above image if any overlap */
    position: relative;
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: bold;
    color: var(--gdpr-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-gdpr__subtitle {
    font-size: 1.2rem;
    color: var(--gdpr-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--gdpr-divider);
}

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

.page-gdpr__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--gdpr-glow);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.4);
}

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

.page-gdpr__text-block {
    margin-bottom: 20px;
    color: var(--gdpr-text-main);
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--gdpr-text-main);
}

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

.page-gdpr__inline-link {
    color: var(--gdpr-glow);
    text-decoration: underline;
}

.page-gdpr__inline-link:hover {
    color: var(--gdpr-gold);
}

.page-gdpr__image-content {
    width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__right-card {
    background: var(--gdpr-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--gdpr-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__right-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__card-text {
    color: var(--gdpr-text-secondary);
}

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

.page-gdpr__faq-item {
    background: var(--gdpr-card-bg);
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--gdpr-border);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gdpr-text-main);
    background-color: var(--gdpr-deep-green);
    border-bottom: 1px solid var(--gdpr-border);
    list-style: none; /* Hide default marker */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--gdpr-text-main);
}

.page-gdpr__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gdpr-glow);
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

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

.page-gdpr__faq-answer p {
    margin-bottom: 0;
}

/* Call to Action */
.page-gdpr__call-to-action {
    background: var(--gdpr-deep-green); /* Use a slightly different dark green */
    text-align: center;
    padding: 80px 20px;
}

.page-gdpr__cta-content {
    max-width: 900px;
}

/* Buttons */
.page-gdpr__btn-primary {
    display: inline-block;
    background: var(--gdpr-btn-gradient);
    color: #ffffff; /* White text for primary button */
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--gdpr-glow);
    filter: brightness(1.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-image-wrapper {
        max-height: 400px;
    }
    .page-gdpr__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-gdpr__rights-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }
    .page-gdpr__hero-image-wrapper {
        max-height: 300px;
    }
    .page-gdpr__hero-content {
        padding: 0 15px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-gdpr__subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-gdpr__section {
        padding: 40px 15px;
    }
    .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
    }
    .page-gdpr__sub-title {
        font-size: clamp(1.3rem, 4.5vw, 1.6rem);
        margin-top: 25px;
        margin-bottom: 10px;
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Enforce minimum size */
        min-height: 200px !important; /* Enforce minimum size */
        box-sizing: border-box !important;
    }
    .page-gdpr__image-content {
        margin: 20px auto !important;
    }

    /* Rights Grid */
    .page-gdpr__rights-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .page-gdpr__right-card {
        padding: 20px;
    }

    /* FAQ */
    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    .page-gdpr__faq-answer {
        padding: 15px 20px;
    }

    /* Buttons responsiveness */
    .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; /* Add padding to prevent text touching edges */
        padding-right: 15px;
        font-size: 1rem;
    }
    .page-gdpr__cta-content {
        padding: 0 15px;
    }
    .page-gdpr__call-to-action {
        padding: 60px 15px;
    }
}