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

.page-gdpr {
    background-color: var(--page-gdpr-bg);
    color: var(--page-gdpr-text-main); /* Light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* General padding for content above footer */
}

/* Page content wrapper for centering */
.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--page-gdpr-bg); /* Ensure dark background */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Cap hero image height for better UX */
    min-width: 200px; /* All images must be at least 200px wide */
    min-height: 200px; /* All images must be at least 200px tall */
}

.page-gdpr__hero-content {
    width: 100%;
    max-width: 800px;
    margin-top: 40px; /* Space below image */
    padding: 0 20px;
    box-sizing: border-box;
}

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

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

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

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

.page-gdpr__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 0;
    border-top: 1px solid var(--page-gdpr-divider);
}

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--page-gdpr-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr p {
    margin-bottom: 1em;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1em;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr li {
    margin-bottom: 0.5em;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr strong {
    color: var(--page-gdpr-text-main);
}

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

.page-gdpr a:hover {
    text-decoration: none;
}

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

.page-gdpr__grid--rights,
.page-gdpr__grid--security {
    grid-template-columns: 1fr 1fr; /* Two columns for desktop */
    align-items: center;
}

.page-gdpr__card {
    background-color: var(--page-gdpr-card-bg); /* Dark card background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-gdpr-border);
    color: var(--page-gdpr-text-main); /* Light text on dark card */
}

.page-gdpr__card-title {
    font-size: 1.3em;
    color: var(--page-gdpr-gold);
    margin-bottom: 15px;
}

.page-gdpr__image-wrapper {
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* All images must be at least 200px wide */
    min-height: 200px; /* All images must be at least 200px tall */
}

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

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1em;
    color: var(--page-gdpr-text-main);
    background-color: var(--page-gdpr-deep-green); /* Slightly different background for question */
    border-bottom: 1px solid var(--page-gdpr-divider);
}

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

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

/* For details tag, default marker hidden */
.page-gdpr__faq-item summary {
    list-style: none;
}
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar, or just rotate */
}
.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    border-bottom: none;
}

.page-gdpr__faq-answer {
    padding: 20px 25px;
    color: var(--page-gdpr-text-secondary);
    font-size: 0.95em;
}

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

/* Contact List */
.page-gdpr__contact-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.page-gdpr__contact-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__contact-list li::before {
    content: '•';
    color: var(--page-gdpr-glow);
    position: absolute;
    left: 0;
    top: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr__grid--rights,
    .page-gdpr__grid--security {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }

    .page-gdpr__hero-content {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        padding-bottom: 40px;
    }

    .page-gdpr__hero-image {
        max-height: 300px; /* Adjust hero image height for mobile */
    }

    .page-gdpr__main-title {
        font-size: 2em;
    }

    .page-gdpr__intro-text {
        font-size: 1em;
    }

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

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
    }

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

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce min-size for all images */
        min-height: 200px !important;
    }
    
    .page-gdpr__container,
    .page-gdpr__card,
    .page-gdpr__section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsiveness (if any, though not present here) */
    .page-gdpr video,
    .page-gdpr__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-gdpr__video-section,
    .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__video-section {
        padding-top: 10px !important;
    }
}