/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Main text color for dark background */
    background-color: transparent; /* Body background is handled by shared.css var(--page-bg) which is #0A0A0A */
}

/* Fixed header spacing - handled by shared.css on body, so first section needs minimal top padding */
.page-gdpr__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body padding-top handles header offset */
    padding-bottom: 60px;
    background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Brand colors */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* For image positioning */
}

.page-gdpr__hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image to ensure text contrast */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    color: #ffffff; /* White text for contrast against darkened image */
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-gdpr__content-section {
    padding: 60px 0;
    border-bottom: 1px solid #3A2A12; /* Border color */
}

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

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #F2C14E; /* Main brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__section-title--light {
    color: #ffffff; /* White title for dark sections */
}

.page-gdpr__paragraph {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #FFF6D6; /* Text Main color */
}

.page-gdpr__paragraph--light {
    color: #f0f0f0;
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-gdpr__list-item {
    background-color: #111111; /* Card BG color */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid #F2C14E; /* Brand accent */
    color: #FFF6D6; /* Text Main color */
    font-size: 1rem;
}

.page-gdpr__list-item strong {
    color: #FFD36B; /* Glow color for emphasis */
}

.page-gdpr__content-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__card {
    background-color: #111111; /* Card BG color */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #3A2A12; /* Border color */
    color: #FFF6D6; /* Text Main color */
}

.page-gdpr__card-title {
    font-size: 1.4rem;
    color: #FFD36B; /* Glow color for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-gdpr__link {
    color: #FFD36B; /* Glow color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: #F2C14E; /* Main color on hover */
    text-decoration: underline;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
    color: #111111; /* Dark text for light button */
    border: none;
}

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

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #FFD36B; /* Glow color for text */
    border: 2px solid #FFD36B; /* Glow color for border */
}

.page-gdpr__btn-secondary:hover {
    background-color: #FFD36B;
    color: #111111; /* Dark text for light button */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on mobile */
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-gdpr__contact-info {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1rem;
    color: #FFF6D6;
}

.page-gdpr__contact-info strong {
    color: #FFD36B;
}

.page-gdpr__dark-section {
    background-color: #0A0A0A; /* Background color for this section */
    color: #FFF6D6;
    padding: 80px 0;
}

.page-gdpr__dark-section .page-gdpr__paragraph {
    color: #f0f0f0;
}

/* FAQ styles */
.page-gdpr__faq {
    padding-bottom: 80px;
}

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

.page-gdpr__faq-item {
    background-color: #111111; /* Card BG color */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #111111; /* Card BG color */
    color: #FFD36B; /* Glow color for question text */
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: #1d1d1d; /* Slightly lighter on hover */
}

.page-gdpr__faq-title {
    margin: 0;
    color: #FFD36B; /* Glow color */
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #F2C14E; /* Main brand color for toggle icon */
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Plus to X effect, or just change text */
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFF6D6; /* Text Main color */
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-gdpr__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin */
}

/* Highlighted keywords */
.page-gdpr .highlight {
    color: #FFD36B; /* Use glow color for highlights */
    font-weight: bold;
}

/* --- Responsive Design --- */

/* Mobile devices (max-width 768px) */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Important: HERO section padding-top for mobile */
    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media queries */
        padding-bottom: 40px;
    }

    .page-gdpr__hero-content {
        padding: 15px;
    }

    .page-gdpr__main-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .page-gdpr__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-gdpr__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__content-section {
        padding: 40px 0;
    }

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

    .page-gdpr__paragraph {
        font-size: 0.95rem;
    }

    .page-gdpr__cards-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-gdpr__card {
        padding: 25px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Lighter shadow for mobile */
    }

    .page-gdpr__card-title {
        font-size: 1.2rem;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .page-gdpr__hero-image-container,
    .page-gdpr__content-image,
    .page-gdpr__cards-grid,
    .page-gdpr__card,
    .page-gdpr__faq-list,
    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by .page-gdpr__container for main content */
    }

    /* 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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to prevent text touching edges */
        padding-right: 15px;
    }
    
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important; /* Ensure buttons wrap */
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }

    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-gdpr__faq-answer {
        padding: 0 20px;
    }

    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 10px 20px;
    }
}