/* style/gdpr.css */

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

.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Assuming body background is dark, use light text */
    background-color: var(--background-color); /* Ensure main content background is defined */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* body handles --header-offset, so small top padding here */
    text-align: center;
    overflow: hidden;
    background-color: var(--deep-green); /* A dark background for the hero */
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.2; /* Make image subtle behind text */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    color: var(--text-main);
}

.page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gold-color);
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-gdpr__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 500px; /* Limit button group width */
    margin: 0 auto;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    width: auto;
    min-width: 180px; /* Ensure buttons have a decent size */
    max-width: 100%; /* Important for responsiveness */
}

.page-gdpr__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-gdpr__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--background-color);
    transform: translateY(-2px);
}

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

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

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

.page-gdpr__section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-gdpr__sub-title {
    font-size: 1.8rem;
    color: var(--gold-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

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

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

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

.page-gdpr__link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Image Styling */
.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-gdpr__image--centered {
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__image--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 15px;
    max-width: 40%; /* Example for floating image */
}

.page-gdpr__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 15px;
    max-width: 40%; /* Example for floating image */
}

/* Clearfix for floating images */
.page-gdpr__text-block::after,
.page-gdpr__list::after {
    content: "";
    display: table;
    clear: both;
}

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

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    background-color: var(--deep-green);
    transition: background-color 0.3s ease;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.page-gdpr__faq-question:hover {
    background-color: var(--primary-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    background-color: var(--primary-color);
}

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

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

/* Hide default details marker */
.page-gdpr__faq-item > summary {
  list-style: none;
}
.page-gdpr__faq-item > summary::-webkit-details-marker {
  display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__image--left,
    .page-gdpr__image--right {
        float: none;
        margin-left: auto;
        margin-right: auto;
        max-width: 80%;
    }
}

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

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

    .page-gdpr__hero-description {
        font-size: 1rem;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 300px; /* Adjust for smaller buttons on mobile */
        padding: 0 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        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__section {
        padding: 40px 0;
    }

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

    .page-gdpr__sub-title {
        font-size: 1.5rem;
    }

    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__faq-qtext,
    .page-gdpr__faq-answer p {
        font-size: 0.95rem;
    }

    /* All images must be responsive */
    .page-gdpr img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    /* All containers must be responsive */
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__cta-buttons,
    .page-gdpr__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    
    /* Specific override for video section if it were present, ensuring small top padding */
    .page-gdpr__video-section {
        padding-top: 10px !important;
    }

    .page-gdpr__image--left,
    .page-gdpr__image--right {
        float: none;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%; /* Ensure it takes full width on mobile */
    }
}

@media (max-width: 480px) {
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        min-width: unset; /* Remove min-width to allow full flexibility */
    }
}