/* style/gdpr.css */

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

/* Base styles for the page content */
.page-gdpr {
    background-color: var(--gdpr-background); /* Background color from prompt */
    color: var(--gdpr-text-main); /* Main text color for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 1rem;
    padding-bottom: 50px; /* Add some padding at the bottom before footer */
}

/* Ensure all images are responsive by default */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block; /* Ensures consistent spacing */
    border-radius: 8px; /* Soften edges */
    object-fit: cover;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image then text */
    align-items: center;
    padding: 20px;
    background-color: var(--gdpr-deep-green); /* Use a deeper green for hero background */
    overflow: hidden; /* Ensure no overflow */
}

.page-gdpr__hero-image {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and text */
    border-radius: 0;
}

.page-gdpr__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-gdpr__main-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--gdpr-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-gdpr__intro-text {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--gdpr-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 20px;
    text-align: center;
}

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

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--gdpr-gold);
    margin-bottom: 30px;
    font-weight: 700;
}

.page-gdpr__paragraph {
    font-size: 1.1rem;
    color: var(--gdpr-text-main);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-gdpr__content-image {
    margin: 30px auto;
    max-width: 800px;
    border: 1px solid var(--gdpr-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Dark Background Section */
.page-gdpr__dark-section {
    background-color: var(--gdpr-card-bg);
    color: var(--gdpr-text-main);
}

.page-gdpr__dark-section .page-gdpr__paragraph {
    color: var(--gdpr-text-secondary);
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 900px;
    text-align: left;
}

.page-gdpr__list-item {
    background-color: rgba(46, 122, 78, 0.1);
    border-left: 4px solid var(--gdpr-glow);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.1rem;
    color: var(--gdpr-text-main);
}

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

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

.page-gdpr__right-card {
    background-color: var(--gdpr-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    text-align: center;
    border: 1px solid var(--gdpr-border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-gdpr__right-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 0;
    border: none;
    min-width: 200px;
    min-height: 200px;
}

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

.page-gdpr__right-description {
    font-size: 1rem;
    color: var(--gdpr-text-secondary);
    text-align: center;
    flex-grow: 1;
}

.page-gdpr__note-text {
    margin-top: 40px;
    font-style: italic;
    color: var(--gdpr-text-secondary);
}

/* CTA Buttons */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.page-gdpr__btn-primary {
    background: var(--gdpr-button-gradient);
    color: var(--gdpr-text-main);
    border: none;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

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

.page-gdpr__btn-secondary:hover {
    background: var(--gdpr-gold);
    color: var(--gdpr-background);
}

.page-gdpr__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Links */
.page-gdpr a {
    color: var(--gdpr-glow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr a:hover {
    color: var(--gdpr-gold);
    text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-list {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-gdpr__faq-item {
    background-color: var(--gdpr-card-bg);
    border: 1px solid var(--gdpr-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gdpr-text-main);
    cursor: pointer;
    background-color: var(--gdpr-deep-green);
    border-bottom: 1px solid var(--gdpr-divider);
}

.page-gdpr__faq-question:hover {
    background-color: rgba(10, 75, 44, 0.8);
}

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

.page-gdpr__faq-question::marker {
    display: none;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--gdpr-gold);
}

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

.page-gdpr__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--gdpr-text-secondary);
    background-color: var(--gdpr-card-bg);
    border-top: 1px solid var(--gdpr-divider);
}

details.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    border-bottom: 1px solid transparent;
}

details.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
    border-top: none;
}

/* Contact CTA Section */
.page-gdpr__contact-cta {
    background-color: var(--gdpr-deep-green);
    padding: 80px 20px;
}

.page-gdpr__contact-cta .page-gdpr__section-title {
    color: var(--gdpr-gold);
}

.page-gdpr__contact-cta .page-gdpr__paragraph {
    color: var(--gdpr-text-main);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-image {
        max-height: 500px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
    }
    .page-gdpr__intro-text {
        font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
}

@media (max-width: 768px) {
    /* General mobile adjustments */
    .page-gdpr {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-gdpr__section,
    .page-gdpr__hero-section,
    .page-gdpr__contact-cta {
        padding: 40px 15px;
    }

    .page-gdpr__container {
        padding: 0 10px;
    }

    /* Hero Section */
    .page-gdpr__hero-image {
        max-height: 350px;
        margin-bottom: 20px;
    }
    .page-gdpr__main-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    .page-gdpr__intro-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* Content images, videos, and buttons 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__rights-grid,
    .page-gdpr__faq-list,
    .page-gdpr__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }

    /* Buttons */
    .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: 12px 20px !important;
        font-size: 1rem !important;
    }

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

    /* Rights Grid */
    .page-gdpr__rights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__right-icon {
        min-width: 150px;
        min-height: 150px;
        width: 150px;
        height: 150px;
    }

    /* FAQ */
    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    .page-gdpr__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8rem;
    }
    .page-gdpr__section-title {
        font-size: 1.5rem;
    }
    .page-gdpr__hero-image {
        max-height: 250px;
    }
}

/* Ensure content area images are at least 200x200px */
.page-gdpr__content-image,
.page-gdpr__right-icon {
    min-width: 200px;
    min-height: 200px;
}