/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
    /* body { padding-top: var(--header-offset); } is handled by shared.css */
}

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

.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid #3A2A12; /* Border */
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #F2C14E; /* Main color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

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

.page-gdpr__highlight {
    color: #FFD36B; /* Highlight text with accent color */
    font-weight: bold;
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #FFF6D6; /* Text Main */
}

.page-gdpr__list-item {
    margin-bottom: 10px;
}

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

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative; /* Ensure it's not absolutely positioned over the image */
    z-index: 1;
}

.page-gdpr__main-title {
    /* No fixed font-size, use weight/line-height/spacing */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #F2C14E; /* Main color */
    margin-bottom: 20px;
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-gdpr__intro-text {
    font-size: 1.3em;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
}

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

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

.page-gdpr__btn-secondary:hover {
    background: #F2C14E;
    color: #0A0A0A; /* Dark text on hover for contrast */
}

/* Image with text block */
.page-gdpr__image-text-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__content-image {
    flex: 1;
    min-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    /* Ensure minimum size */
    min-width: 200px;
    min-height: 200px;
}

.page-gdpr__text-content {
    flex: 2;
    min-width: 300px;
}

/* Contact Card */
.page-gdpr__contact-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-gdpr__contact-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    min-width: 200px;
    min-height: 200px;
}

.page-gdpr__contact-details {
    flex: 1;
    min-width: 300px;
}

.page-gdpr__contact-link {
    color: #FFD36B; /* Accent color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
    color: #F2C14E; /* Main color on hover */
}

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

.page-gdpr__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #1a1a1a; /* Slightly darker background for question */
    color: #F2C14E; /* Main color for question */
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-title {
    margin: 0;
    font-size: 1em; /* Adjust to fit parent font size */
    color: inherit; /* Inherit color from question */
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD36B; /* Accent color for toggle */
}

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

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    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 value for content */
    padding: 15px 25px;
}

.page-gdpr__faq-answer .page-gdpr__paragraph:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-section-title {
        font-size: 1.5em;
    }
    .page-gdpr__paragraph {
        font-size: 1em;
    }
    .page-gdpr__hero-content {
        max-width: 768px;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__container {
        padding: 0 15px !important; /* Apply global container padding on mobile */
    }
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Small padding-top, body handles header offset */
        padding-bottom: 40px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-gdpr__intro-text {
        font-size: 1.1em;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px !important; /* Ensure buttons are within padding */
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        text-align: center;
    }
    .page-gdpr__image-text-block,
    .page-gdpr__image-text-block--reverse {
        flex-direction: column;
        gap: 30px;
        padding: 0; /* Remove section padding from this block, let inner content handle it */
    }
    .page-gdpr__content-image {
        min-width: unset; /* Allow to shrink on mobile */
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 0 15px; /* Apply padding to image directly within the block */
    }
    .page-gdpr__text-content {
        min-width: unset;
        padding: 0 15px; /* Apply padding to text content directly within the block */
    }
    .page-gdpr__contact-card {
        flex-direction: column;
        padding: 20px;
    }
    .page-gdpr__contact-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset;
        min-height: unset;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px;
    }
    
    /* Ensure all images are responsive and do not cause overflow */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    /* Ensure all containers holding images or buttons are responsive */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__faq-list,
    .page-gdpr__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    /* For hero content */
    .page-gdpr__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure no image filter is applied */
.page-gdpr img {
    filter: none;
}

/* Minimum image size enforcement for content area */
.page-gdpr__content-image,
.page-gdpr__contact-image {
    min-width: 200px;
    min-height: 200px;
}
/* For mobile, allow flexibility but still respect the spirit of not being "tiny icons" */
@media (max-width: 768px) {
    .page-gdpr__content-image,
    .page-gdpr__contact-image {
        min-width: unset;
        min-height: unset;
    }
}