/* style/gdpr.css */

/* --- General Styles --- */
.page-gdpr {
    color: #F2FFF6; /* Text Main color on dark background */
    background-color: #08160F; /* Custom background color */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 1rem;
}

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

.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid #1E3A2A; /* Divider color */
}

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

.page-gdpr__section-title {
    color: #F2C14E; /* Gold color for section titles */
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-gdpr__paragraph {
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

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

.page-gdpr__list-item {
    margin-bottom: 10px;
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__link {
    color: #57E38D; /* Glow color for links */
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: #2AD16F;
}

/* --- Buttons --- */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box; /* Include padding in width calculation */
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
    color: #F2FFF6; /* Text Main for primary button */
    border: none;
}

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

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Glow color for secondary button text */
    border: 2px solid #57E38D; /* Glow color for border */
}

.page-gdpr__btn-secondary:hover {
    background-color: #57E38D;
    color: #08160F; /* Background color for hover text */
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    overflow: hidden; /* Ensure content stays within */
    background-color: #08160F; /* Match body background */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 40px; /* Space between image and text */
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
}

.page-gdpr__main-title {
    color: #F2C14E; /* Gold color for main title */
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr__intro-text {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

/* --- Image and Text Blocks --- */
.page-gdpr__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

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

.page-gdpr__content-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__text-content {
    flex: 1;
}

/* --- Contact Block --- */
.page-gdpr__contact-block {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    background-color: #11271B; /* Card BG */
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #2E7A4E; /* Border color */
}

.page-gdpr__contact-image {
    flex-shrink: 0;
    width: 400px; /* Fixed width for contact image */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__contact-details {
    flex-grow: 1;
}

/* --- FAQ Section --- */
.page-gdpr__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-gdpr__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 8px;
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__faq-item summary {
    list-style: none; /* Remove default marker */
    cursor: pointer;
    padding: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #F2C14E; /* Gold for FAQ questions */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* For Webkit browsers */
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 10px;
    color: #57E38D; /* Glow color */
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px 20px;
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.95rem;
}

/* --- GDPR Seal Section --- */
.page-gdpr__gdpr-seal-section {
    padding: 40px 0;
    text-align: center;
    background-color: #0A4B2C; /* Deep Green */
}

.page-gdpr__gdpr-seal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-gdpr__gdpr-seal-image {
    max-width: 250px; /* Smaller size for the seal */
    height: auto;
    display: block;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__gdpr-seal-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-gdpr__image-text-block {
        flex-direction: column;
    }
    .page-gdpr__image-text-block--reverse {
        flex-direction: column; /* Revert for smaller screens */
    }
    .page-gdpr__content-image {
        max-width: 100%;
        width: 100%;
    }
    .page-gdpr__contact-block {
        flex-direction: column;
        align-items: center;
    }
    .page-gdpr__contact-image {
        width: 100%;
        max-width: 400px; /* Maintain max width for image */
    }
}

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

    .page-gdpr__hero-section {
        padding: 10px 0 40px 0; /* Adjust padding for mobile */
    }

    .page-gdpr__main-title {
        font-size: 2rem;
    }

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

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

    .page-gdpr__container {
        padding: 0 15px; /* Add side padding for mobile */
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size */
        min-height: 200px !important; /* Ensure min size */
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__contact-block,
    .page-gdpr__gdpr-seal-section,
    .page-gdpr__gdpr-seal-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent overflow */
    }

    /* Mobile 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;
        padding-left: 15px; /* Add padding for inner text */
        padding-right: 15px;
    }
    
    .page-gdpr__hero-content .page-gdpr__btn-primary,
    .page-gdpr__contact-details .page-gdpr__btn-primary,
    .page-gdpr__protection-measures .page-gdpr__btn-secondary {
        max-width: 300px !important; /* Limit button width for better appearance */
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }

    .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;
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
    }
}