/* style/gdpr.css */

/* Custom properties (from provided colors) */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F; /* Body background from shared.css */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-gdpr {
    color: var(--text-main); /* Light text on dark body background */
    background-color: var(--background-color); /* Inherited from body via shared.css */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    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(--deep-green); /* A darker green for the hero section background */
    overflow: hidden; /* Ensure no image overflow */
}

.page-gdpr__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for hero image */
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

.page-gdpr__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.2rem); /* H1 font size with clamp */
    font-weight: bold;
    color: var(--gold-color); /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-gdpr__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    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 {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-gdpr__dark-section {
    background-color: var(--deep-green); /* Using deep green for a section background */
    color: var(--text-main);
}

.page-gdpr__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-gdpr__text-block {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__text-block strong {
    color: var(--gold-color);
}

.page-gdpr__card-section {
    background-color: var(--background-color); /* Ensure section background is consistent with body */
}

.page-gdpr__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__card {
    background-color: var(--card-bg); /* Card background color */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color); /* Border color for cards */
}

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

.page-gdpr__card-image {
    width: 100%;
    height: auto;
    min-height: 200px; /* Minimum image size */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure image behaves as a block element */
}

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

.page-gdpr__card-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.page-gdpr__list-container {
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-gdpr__bullet-list {
    list-style: none; /* Remove default bullet */
    padding: 0;
    margin: 0;
}

.page-gdpr__bullet-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.page-gdpr__bullet-list li:last-child {
    margin-bottom: 0;
}

.page-gdpr__bullet-list li::before {
    content: '✅'; /* Custom bullet icon */
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1;
}

.page-gdpr__bullet-list strong {
    color: var(--gold-color);
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    min-height: 200px; /* Minimum image size */
    object-fit: cover;
    border-radius: 12px;
    margin-top: 40px;
    margin-bottom: 20px;
    display: block;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-gdpr__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__feature-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-gdpr__feature-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__feature-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-container {
    text-align: center;
    margin-top: 40px;
}

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

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

.page-gdpr__faq-item summary {
    list-style: none; /* Hide default triangle for details tag */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--gold-color);
    transition: background-color 0.3s ease;
}

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

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

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

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

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

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

.page-gdpr__cta-section {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__section {
        padding: 40px 20px;
    }
    .page-gdpr__main-title {
        font-size: clamp(2rem, 4.5vw, 2.8rem);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    .page-gdpr__hero-image {
        max-width: 1000px;
    }
    .page-gdpr__content-image {
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem); /* Adjust H1 for smaller screens */
    }
    .page-gdpr__description {
        font-size: 1rem;
    }
    .page-gdpr__section {
        padding: 30px 15px; /* Mobile padding */
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-gdpr__text-block,
    .page-gdpr__bullet-list li,
    .page-gdpr__card-text,
    .page-gdpr__feature-text,
    .page-gdpr__faq-answer {
        font-size: 0.95rem;
    }
    .page-gdpr__card-title,
    .page-gdpr__feature-title {
        font-size: 1.3rem;
    }
    .page-gdpr__faq-item summary {
        font-size: 1.05rem;
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .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,
    .page-gdpr__hero-section,
    .page-gdpr__card-section,
    .page-gdpr__dark-section,
    .page-gdpr__feature-grid,
    .page-gdpr__list-container,
    .page-gdpr__faq-list,
    .page-gdpr__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }

    /* Mobile button responsiveness */
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important; /* Make buttons full width */
        box-sizing: border-box !important;
        white-space: normal !important; /* Allow text wrapping */
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to prevent text touching edges */
        padding-right: 15px;
        margin-bottom: 10px; /* Space between stacked buttons */
    }
    .page-gdpr__btn-container {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
}