/* style/gdpr.css */

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

/* Base styles for the GDPR page */
.page-gdpr {
    background-color: var(--background-dark); /* Ensure dark background as per custom palette */
    color: var(--text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

/* Headings */
.page-gdpr h1,
.page-gdpr h2,
.page-gdpr h3,
.page-gdpr h4,
.page-gdpr h5,
.page-gdpr h6 {
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-gdpr__main-title {
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.2rem, 4vw, 3.2rem); 
}

.page-gdpr__section-title {
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--gold-color); /* Using gold for section titles for prominence */
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

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

/* Paragraphs */
.page-gdpr__paragraph {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* Links */
.page-gdpr__link {
    color: var(--glow-color); /* Use glow color for links */
    text-decoration: underline;
}
.page-gdpr__link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-gdpr__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* White text for primary button */
    border: none;
}
.page-gdpr__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
    background: var(--card-background);
    color: var(--text-main); /* Main text color for secondary button */
    border: 2px solid var(--border-color);
}
.page-gdpr__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Sections and Containers */
.page-gdpr__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    background-color: var(--deep-green); /* A deeper green for hero background */
}

.page-gdpr__hero-content {
    text-align: center;
    z-index: 2;
    margin-bottom: 40px; /* Space between content and image */
    max-width: 900px;
}

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

.page-gdpr__hero-image {
    display: block;
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    margin-top: 40px; /* Space above image */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    filter: none; /* Ensure no filter is applied */
}

.page-gdpr__overview,
.page-gdpr__principles,
.page-gdpr__compliance,
.page-gdpr__user-rights,
.page-gdpr__contact,
.page-gdpr__faq,
.page-gdpr__cta-final {
    margin-bottom: 40px;
}

/* Lists */
.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-gdpr__list-item {
    margin-bottom: 10px;
}
.page-gdpr__list-item strong {
    color: var(--text-main);
}

/* Images */
.page-gdpr__image {
    display: block;
    max-width: 100%;
    width: 100%; /* Ensure width is 100% for images in content areas */
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    filter: none; /* Ensure no filter is applied */
}

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

.page-gdpr__feature-card,
.page-gdpr__right-card,
.page-gdpr__contact-card {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}
.page-gdpr__feature-card:hover,
.page-gdpr__right-card:hover,
.page-gdpr__contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__feature-card .page-gdpr__card-text,
.page-gdpr__right-card .page-gdpr__card-text,
.page-gdpr__contact-card .page-gdpr__card-text {
    color: var(--text-secondary);
}

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

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

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-main);
    user-select: none;
    list-style: none; /* Remove default marker */
}
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}

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

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

/* Contact Methods */
.page-gdpr__contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-gdpr__hero-section {
        padding: 60px 20px;
    }
    .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.6rem, 3.8vw, 2.2rem);
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 5.5vw, 2.5rem);
        margin-bottom: 20px;
    }
    .page-gdpr__intro-text {
        font-size: 1rem;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 4.5vw, 2rem);
        margin-bottom: 20px;
    }
    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset, small top padding */
    }
    .page-gdpr__section {
        padding: 30px 15px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images 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-image,
    .page-gdpr__image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Specific override for images that might have 0 padding */
    .page-gdpr__hero-image, .page-gdpr__image {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-gdpr__feature-grid,
    .page-gdpr__rights-grid,
    .page-gdpr__contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__feature-card,
    .page-gdpr__right-card,
    .page-gdpr__contact-card {
        padding: 25px;
    }
    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px;
    }
}