/* style/gdpr.css */
/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
    padding-bottom: 50px; /* Ensures space above footer */
}

/* Fixed Header Spacing - Rely on shared.css body padding-top.
   First section will have a small padding-top. */
.page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding for the first content block */
    background-color: #0A0A0A; /* Background color for the section */
    position: relative;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none; /* Remove filter as text is no longer on image */
}

.page-gdpr__hero-content-below-image {
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    max-width: 1000px;
    box-sizing: border-box;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: #F2C14E; /* Main color */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: none;
}

.page-gdpr__subtitle {
    font-size: clamp(1em, 1.5vw, 1.2em); /* Responsive font size */
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure buttons adapt to mobile */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #FFF6D6; /* Text Main */
    border: 2px solid #F2C14E; /* Main color */
}

.page-gdpr__btn-secondary:hover {
    background-color: rgba(242, 193, 78, 0.1); /* Main color with transparency */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-gdpr__section {
    padding: 60px 0;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #FFD36B; /* Auxiliary color */
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-gdpr__section-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
    object-fit: cover;
}

/* Dark section specific styles */
.page-gdpr__dark-section {
    background-color: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
}

.page-gdpr__list-item {
    font-size: 1.1em;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-gdpr__list-item::before {
    content: '•';
    color: #F2C14E; /* Main color */
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

.page-gdpr__commitment-list,
.page-gdpr__data-list,
.page-gdpr__rights-list,
.page-gdpr__security-list,
.page-gdpr__retention-list,
.page-gdpr__third-party-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-gdpr__contact-details {
    margin-top: 30px;
    text-align: center;
}

.page-gdpr__contact-item {
    font-size: 1.1em;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 10px;
}

.page-gdpr__contact-link {
    color: #F2C14E; /* Main color */
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__contact-link:hover {
    text-decoration: underline;
    color: #FFD36B; /* Auxiliary color */
}

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

.page-gdpr__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* 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;
    background-color: #1a1a1a;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: #2a2a2a;
}

.page-gdpr__faq-title {
    font-size: 1.2em;
    color: #F2C14E; /* Main color */
    margin: 0;
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    color: #FFD36B; /* Auxiliary color */
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-content-below-image {
        max-width: 90%;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.6em;
    }
}

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

    .page-gdpr__hero-section {
        padding-top: 20px !important; /* Small top padding for mobile, relying on body for main offset */
    }

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

    .page-gdpr__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-gdpr__subtitle {
        font-size: clamp(0.9em, 2.5vw, 1.1em);
        margin-bottom: 20px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 10px;
        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: 12px 15px; /* Adjust padding for smaller screens */
    }

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

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

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

    .page-gdpr__sub-title {
        font-size: 1.4em;
    }

    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__contact-item {
        font-size: 1em;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* All containers with images or content */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__faq-item,
    .page-gdpr__contact-details {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-gdpr__hero-image-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Ensure no filter on images */
.page-gdpr img {
    filter: none; /* Reset any potential inherited filter */
}