/* style/gdpr.css */

/* Custom Colors */
:root {
    --page-gdpr-background: #08160F;
    --page-gdpr-card-bg: #11271B;
    --page-gdpr-text-main: #F2FFF6;
    --page-gdpr-text-secondary: #A7D9B8;
    --page-gdpr-border: #2E7A4E;
    --page-gdpr-glow: #57E38D;
    --page-gdpr-gold: #F2C14E;
    --page-gdpr-divider: #1E3A2A;
    --page-gdpr-deep-green: #0A4B2C;
    --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-gdpr {
    background-color: var(--page-gdpr-background);
    color: var(--page-gdpr-text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space before footer */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    overflow: hidden; /* Ensure no overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--page-gdpr-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-gdpr__description {
    font-size: 1.1em;
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 30px;
}

/* General Section Styling */
.page-gdpr__section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 600;
    color: var(--page-gdpr-text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--page-gdpr-button-gradient);
    border-radius: 2px;
}

.page-gdpr__text-block {
    font-size: 1em;
    color: var(--page-gdpr-text-secondary);
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: center;
}

.page-gdpr__text-block a {
    color: var(--page-gdpr-glow); /* Link color */
    text-decoration: underline;
}

.page-gdpr__text-block a:hover {
    color: var(--page-gdpr-gold);
}

/* Grid Container for Cards */
.page-gdpr__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Card Styling */
.page-gdpr__card {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

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

.page-gdpr__card-title {
    font-size: 1.4em;
    color: var(--page-gdpr-text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__card-text {
    font-size: 0.95em;
    color: var(--page-gdpr-text-secondary);
}

/* Images within sections */
.page-gdpr__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 30px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image--center {
    max-width: 800px; /* Constrain content images */
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-gdpr__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: var(--page-gdpr-button-gradient);
    color: var(--page-gdpr-text-main);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-gdpr__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-gdpr__cta-button--secondary {
    background: transparent;
    border: 2px solid var(--page-gdpr-glow);
    color: var(--page-gdpr-glow);
}

.page-gdpr__cta-button--secondary:hover {
    background: var(--page-gdpr-glow);
    color: var(--page-gdpr-background);
    box-shadow: 0 6px 15px rgba(87, 227, 141, 0.3);
}

/* FAQ Section */
.page-gdpr__faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.page-gdpr__faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--page-gdpr-text-main);
    cursor: pointer;
    list-style: none; /* Remove default marker for details */
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: 400;
    color: var(--page-gdpr-glow);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

/* For details tag, the toggle is handled by JS */
.page-gdpr__faq-item[open] > .page-gdpr__faq-question .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Example: change icon on open */
}

.page-gdpr__faq-answer {
    font-size: 0.95em;
    color: var(--page-gdpr-text-secondary);
    padding-top: 15px;
    line-height: 1.6;
}

/* For custom div FAQ structure (if details not used) */
.page-gdpr__faq-item:not([open]) .page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 2000px; /* Large enough for content */
    transition: max-height 0.3s ease-in;
}
.page-gdpr__faq-item.active .page-gdpr__faq-question .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

/* Override default details padding in some browsers */
.page-gdpr__faq-item details > summary {
    padding: 0;
}
.page-gdpr__faq-item details {
    padding: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding: 0 15px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 4.5vw, 2.8em);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6em, 3.5vw, 2.2em);
    }
    .page-gdpr__grid-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding: 10px 15px 40px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-gdpr__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-gdpr__section {
        margin: 30px auto;
        padding: 0 15px;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.4em, 5vw, 2em);
        margin-bottom: 30px;
    }
    .page-gdpr__grid-container {
        grid-template-columns: 1fr; /* Stack cards vertically */
        gap: 15px;
    }
    .page-gdpr__card {
        padding: 25px;
    }
    .page-gdpr__card-title {
        font-size: 1.2em;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }
    .page-gdpr__cta-button {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Ensure text doesn't touch edges */
        padding-right: 15px;
    }
    /* Mobile image and video responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__video-section, /* If video was present */
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body already has padding-top */
    }
}

/* Ensure contrast for links */
.page-gdpr a {
    color: var(--page-gdpr-glow); /* Ensure sufficient contrast */
}
.page-gdpr a:hover {
    color: var(--page-gdpr-gold);
}

/* Text colors for contrast safety - assuming dark body background */
.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
    color: var(--page-gdpr-text-main);
}
.page-gdpr p, .page-gdpr li, .page-gdpr span {
    color: var(--page-gdpr-text-secondary);
}
.page-gdpr__cta-button {
    color: var(--page-gdpr-text-main); /* White-ish text for dark buttons */
}
.page-gdpr__cta-button--secondary {
    color: var(--page-gdpr-glow); /* Green-ish text for transparent buttons */
}

/* No filter for images */
.page-gdpr img {
    filter: none;
}