/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
    text-align: center;
    background-color: #0a0a0a; /* Ensure hero section has a dark background consistent with body */
    box-sizing: border-box;
}

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

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

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__main-title {
    font-weight: bold;
    color: #26A9E0; /* Brand color for main title */
    line-height: 1.2;
    margin-bottom: 20px;
    font-size: clamp(1.8rem, 4vw, 2.8rem); 
}

.page-gdpr__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #f0f0f0; /* Slightly lighter text for description */
}

/* Call to Action Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-gdpr__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-gdpr__btn-primary:hover {
    background-color: #1e87bb;
    border-color: #1e87bb;
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Brand primary color for text */
    border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 20px;
    box-sizing: border-box;
    width: 100%;
}

.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    color: #ffffff; /* For dark background sections */
}

.page-gdpr__light-bg {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

.page-gdpr__dark-section {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

.page-gdpr__heading {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #26A9E0; /* Brand color for headings */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__paragraph {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Principles Section */
.page-gdpr__principles-section .page-gdpr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%; /* Ensure cards have equal height */
    box-sizing: border-box;
    color: #ffffff; /* Text color for cards */
}

.page-gdpr__card-title {
    font-size: 1.3rem;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card-text {
    font-size: 0.95rem;
    color: #e0e0e0;
}

/* Rights Section */
.page-gdpr__list {
    max-width: 900px;
    margin: 20px auto 40px;
    list-style: none; /* Remove default list style */
    padding-left: 0;
}

.page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for list items */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 4px solid #26A9E0; /* Accent border */
    border-radius: 4px;
    font-size: 1rem;
    color: #f0f0f0;
}

.page-gdpr__list-item strong {
    color: #26A9E0;
}

/* Data Processing Section */
.page-gdpr__process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.page-gdpr__process-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    height: 100%;
    box-sizing: border-box;
}

.page-gdpr__process-item .page-gdpr__card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-gdpr__process-item .page-gdpr__card-text {
    font-size: 0.9rem;
    color: #e0e0e0;
}

/* FAQ Section */
.page-gdpr__faq-section {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__faq-list {
    margin-top: 30px;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #f0f0f0; /* Text color for FAQ items */
}

.page-gdpr__faq-item summary {
    list-style: none; /* Hide default marker for details tag */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: #26A9E0; /* Question text color */
    background-color: rgba(255, 255, 255, 0.05); /* Slightly different background for summary */
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #ffffff; /* Toggle icon color */
}

.page-gdpr__faq-answer {
    padding: 15px 25px 20px;
    font-size: 0.95rem;
    color: #e0e0e0; /* Answer text color */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contact CTA Section */
.page-gdpr__contact-cta {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-gdpr__hero-section {
        padding: 10px 15px 50px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.6rem, 4.5vw, 2.5rem);
    }
    .page-gdpr__description {
        font-size: 1rem;
    }
    .page-gdpr__section {
        padding: 50px 15px;
    }
    .page-gdpr__heading {
        font-size: clamp(1.4rem, 3.5vw, 2rem);
    }
    .page-gdpr__grid,
    .page-gdpr__process-steps {
        gap: 20px;
    }
    .page-gdpr__card,
    .page-gdpr__process-item {
        padding: 25px;
    }
}

@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.5rem, 6vw, 2.2rem);
    }
    .page-gdpr__description {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    /* Mobile CTA buttons */
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to button container */
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 10px;
        font-size: 1rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__section {
        padding: 40px 15px;
    }
    .page-gdpr__heading {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin-bottom: 30px;
    }
    .page-gdpr__paragraph {
        font-size: 0.9rem;
        padding: 0 5px;
    }

    /* Image responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__content-area,
    .page-gdpr__principles-section .page-gdpr__grid,
    .page-gdpr__data-processing-section .page-gdpr__process-steps,
    .page-gdpr__faq-section,
    .page-gdpr__contact-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-gdpr__grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__card-title {
        font-size: 1.2rem;
    }
    .page-gdpr__card-text {
        font-size: 0.9rem;
    }

    .page-gdpr__list {
        margin: 15px auto 30px;
    }
    .page-gdpr__list-item {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .page-gdpr__process-steps {
        grid-template-columns: 1fr;
    }
    .page-gdpr__process-item {
        padding: 20px;
    }

    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-gdpr__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.9rem;
    }
}