/* style/gdpr.css */

/* Custom properties for colors */
:root {
    --page-bg: #08160F; /* Background */
    --card-bg: #11271B; /* Card BG */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --border-color: #2E7A4E; /* Border */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
}

.page-gdpr {
    background-color: var(--page-bg);
    color: var(--text-main); /* Ensure light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Add some padding at the bottom for spacing */
}

/* Page sections */
.page-gdpr__section {
    padding: 60px 0;
    text-align: center;
}

.page-gdpr__section--dark {
    background-color: var(--card-bg); /* Use card background for contrast sections */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    color: var(--text-main);
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
    font-weight: bold;
    color: var(--gold-color); /* Use gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

/* General Titles & Text */
.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--gold-color);
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__sub-title {
    font-size: clamp(1.4em, 2.5vw, 2em);
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__text-block {
    font-size: 1em;
    margin-bottom: 20px;
    color: var(--text-secondary);
    text-align: left;
}

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

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

.page-gdpr__btn-primary:hover {
    box-shadow: 0 0 15px var(--glow-color);
    transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--glow-color); /* Use glow color for secondary button text */
    border: 2px solid var(--glow-color);
    margin: 10px;
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--page-bg); /* Dark text on hover */
    transform: translateY(-2px);
}

/* Image containers for content */
.page-gdpr__image-container {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 12px; /* Consistent with container */
}

/* Lists */
.page-gdpr__principles-list,
.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-gdpr__principles-item,
.page-gdpr__rights-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.page-gdpr__principles-item .page-gdpr__sub-title,
.page-gdpr__rights-item .page-gdpr__sub-title {
    color: var(--gold-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.page-gdpr__principles-item .page-gdpr__text-block,
.page-gdpr__rights-item .page-gdpr__text-block {
    color: var(--text-secondary);
    margin-bottom: 0;
}

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

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

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

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

.page-gdpr__faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--glow-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
    text-align: left;
}

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

/* Contact Section */
.page-gdpr__contact-section {
    padding-top: 40px;
    padding-bottom: 60px;
}

.page-gdpr__contact-section .page-gdpr__btn-primary {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        max-width: 700px;
    }

    .page-gdpr__hero-image-wrapper {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__section {
        padding: 40px 0;
    }

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

    .page-gdpr__hero-image-wrapper {
        max-height: 300px;
    }

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

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

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

    .page-gdpr__sub-title {
        font-size: clamp(1.2em, 5vw, 1.8em);
    }

    .page-gdpr__text-block {
        font-size: 0.95em;
    }

    /* 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-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* 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;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important; /* Stack buttons vertically */
    }

    /* Button containers */
    .page-gdpr__hero-content,
    .page-gdpr__contact-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .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;
        gap: 10px; /* Spacing for stacked buttons */
    }
    
    .page-gdpr__video-section { /* Placeholder, no video on this page */
        padding-top: 10px !important;
    }

    .page-gdpr__principles-item,
    .page-gdpr__rights-item {
        padding: 15px;
    }

    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-gdpr__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-section {
        padding-bottom: 30px;
    }
    .page-gdpr__hero-image-wrapper {
        max-height: 200px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.4em, 7vw, 1.8em);
    }
}

/* Ensure content area images are not smaller than 200px */
.page-gdpr__content-area img,
.page-gdpr__principles-item img,
.page-gdpr__rights-item img,
.page-gdpr__image-container img {
    min-width: 200px;
    min-height: 200px;
}