/* 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;
}

/* Base styles for the GDPR page content */
.page-gdpr {
    background-color: var(--page-gdpr-bg);
    color: var(--page-gdpr-text-main); /* Main text color for dark background */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Section container for max-width and 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;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden; /* Ensure no content spills out */
    background-color: var(--page-gdpr-deep-green); /* A darker green for hero background */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    order: 1; /* Image first in DOM */
}

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

.page-gdpr__hero-content {
    order: 2; /* Content after image in DOM */
    max-width: 900px;
    margin-top: 40px;
    padding: 0 20px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-gdpr-gold); /* Using gold for main title for prominence */
}

.page-gdpr__description {
    font-size: 1.125rem; /* 18px */
    margin-bottom: 30px;
    color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
}

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

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
    box-shadow: 0 0 15px var(--page-gdpr-glow);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--page-gdpr-text-main); /* White text on transparent button */
    border: 2px solid var(--page-gdpr-gold); /* Gold border */
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--page-gdpr-gold);
    color: var(--page-gdpr-bg); /* Dark text on gold hover */
    box-shadow: 0 0 15px var(--page-gdpr-gold);
}

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

.page-gdpr__section:last-of-type {
    border-bottom: none;
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* Responsive font size for H2 */
    font-weight: 700;
    color: var(--page-gdpr-gold);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-gdpr__text-block {
    font-size: 1.05rem; /* 17px */
    margin-bottom: 20px;
    color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__list-item {
    margin-bottom: 10px;
    font-size: 1.05rem; /* 17px */
}

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

.page-gdpr__image {
    width: 100%;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1rem; /* 18px */
    font-weight: 600;
    color: var(--page-gdpr-text-main);
    list-style: none; /* Hide default marker */
    position: relative;
}

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

.page-gdpr__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--page-gdpr-gold);
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or just change to '-' */
}

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

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }
    .page-gdpr__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6rem, 5vw, 2.4rem);
    }
    .page-gdpr__image {
        margin: 30px auto;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__container {
        padding: 0 15px !important; /* Force padding for mobile */
    }

    .page-gdpr__hero-section {
        padding-bottom: 30px;
    }
    .page-gdpr__hero-content {
        margin-top: 30px;
        padding: 0 15px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-gdpr__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important; /* Full width buttons */
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.95rem;
    }

    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
        margin-bottom: 30px;
    }
    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__faq-answer {
        font-size: 0.95rem;
    }
    .page-gdpr__list {
        padding-left: 20px;
    }

    /* Image responsive rules for mobile */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Ensure minimum size */
        min-height: 200px !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: clamp(1.6rem, 9vw, 2.2rem);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.2rem, 7vw, 1.8rem);
    }
}