/* style/gdpr.css */

/* Custom Colors */
:root {
    --gdpr-bg-primary: #08160F;
    --gdpr-bg-card: #11271B;
    --gdpr-text-main: #F2FFF6;
    --gdpr-text-secondary: #A7D9B8;
    --gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --gdpr-glow: #57E38D;
    --gdpr-gold: #F2C14E;
    --gdpr-border: #2E7A4E;
    --gdpr-divider: #1E3A2A;
    --gdpr-deep-green: #0A4B2C;
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--gdpr-text-main); /* Default text color for the page */
    background-color: var(--gdpr-bg-primary); /* Main page background */
}

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

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

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Background variations */
.page-gdpr__dark-bg {
    background-color: var(--gdpr-bg-primary);
    color: var(--gdpr-text-main);
}

.page-gdpr__light-bg {
    background-color: #f8f9fa; /* Slightly off-white for contrast */
    color: #333333; /* Darker text for light background */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    margin-top: -100px; /* Overlap image slightly for visual appeal, but text is below */
    background: rgba(17, 39, 27, 0.9); /* Card BG with slight transparency */
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gdpr-gold);
    letter-spacing: 0.05em;
}

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

/* Titles */
.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: var(--gdpr-gold);
}

.page-gdpr__light-bg .page-gdpr__section-title {
    color: var(--gdpr-deep-green);
}

.page-gdpr__subsection-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 25px;
    color: var(--gdpr-glow);
}

.page-gdpr__light-bg .page-gdpr__subsection-title {
    color: var(--gdpr-deep-green);
}

/* Text Blocks */
.page-gdpr__text-block {
    margin-bottom: 15px;
    font-size: 1rem;
}

.page-gdpr__text-block--center {
    text-align: center;
}

/* Lists */
.page-gdpr__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

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

.page-gdpr__light-bg .page-gdpr__list li {
    color: #333333;
}

/* Cards */
.page-gdpr__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-gdpr__card {
    background-color: var(--gdpr-bg-card);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--gdpr-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-gdpr__light-bg .page-gdpr__card {
    background-color: #ffffff; /* Light background for cards in light sections */
    color: #333333;
    border-color: #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gdpr-glow);
}

.page-gdpr__light-bg .page-gdpr__card-title {
    color: var(--gdpr-deep-green);
}

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

.page-gdpr__light-bg .page-gdpr__card-text {
    color: #555555;
}

/* Images */
.page-gdpr__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-gdpr__cta-button,
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.page-gdpr__btn-primary {
    background: var(--gdpr-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--gdpr-glow);
    border: 2px solid var(--gdpr-glow);
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--gdpr-glow);
    color: var(--gdpr-bg-primary);
    border-color: var(--gdpr-glow);
}

.page-gdpr__hero-content .page-gdpr__cta-button {
    margin-top: 20px;
}

.page-gdpr__button-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-gdpr__button-group--center {
    justify-content: center;
}

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

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

.page-gdpr__light-bg .page-gdpr__faq-item {
    background-color: #ffffff;
    color: #333333;
    border-color: #e0e0e0;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--gdpr-glow);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-gdpr__light-bg .page-gdpr__faq-question {
    color: var(--gdpr-deep-green);
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(46, 122, 78, 0.2);
}

.page-gdpr__light-bg .page-gdpr__faq-question:hover {
    background-color: #f0f0f0;
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    margin-left: 15px;
}

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

.page-gdpr__light-bg .page-gdpr__faq-answer {
    color: #555555;
}

/* Contact Section */
.page-gdpr__contact-content {
    text-align: center;
}

/* Conclusion Section */
.page-gdpr__conclusion-content {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        margin-top: -50px;
        padding: 30px 15px;
    }

    .page-gdpr__section {
        padding: 40px 15px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }

    .page-gdpr__hero-content {
        margin-top: -30px;
        padding: 25px 15px;
        max-width: 95%;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-gdpr__intro-text {
        font-size: 1rem;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .page-gdpr__subsection-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .page-gdpr__grid-layout {
        grid-template-columns: 1fr;
    }

    .page-gdpr__button-group {
        flex-direction: column;
        gap: 15px;
    }

    /* 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__hero-image-wrapper,
    .page-gdpr__hero-content,
    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }

    /* Mobile button responsiveness */
    .page-gdpr__cta-button,
    .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;
        padding-right: 15px;
    }

    .page-gdpr__button-group {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__section {
        padding: 30px 10px;
    }

    .page-gdpr__container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .page-gdpr__hero-content {
        padding: 20px 10px;
    }

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

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