/* style/gdpr.css */

/* General styles for the GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #f8f9fa; /* Body background color */
}

/* Section specific styles */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding for hero, then generous bottom */
    background-color: #08160F; /* Deep Green background for hero */
    color: #F2FFF6; /* Light text for dark background */
}

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

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

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

.page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 3.2rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2FFF6; /* Main text color for dark background */
}

.page-gdpr__description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 30px;
    color: #A7D9B8; /* Secondary text color for dark background */
}

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Ensure buttons don't exceed container width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Light text for dark button */
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.3);
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.4);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #F2FFF6; /* Light text for dark background */
    border: 2px solid #11A84E;
}

.page-gdpr__btn-secondary:hover {
    background-color: #11A84E;
    color: #F2FFF6;
    transform: translateY(-2px);
}

.page-gdpr__content-section {
    padding: 60px 20px;
}

.page-gdpr__dark-bg {
    background-color: #08160F; /* Custom background color */
    color: #F2FFF6; /* Main text color for dark background */
}

.page-gdpr__light-bg {
    background-color: #f8f9fa; /* Body background color */
    color: #333333; /* Dark text color for light background */
}

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

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
    color: inherit; /* Inherit color from parent section */
}

.page-gdpr__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.7;
    color: inherit; /* Inherit color from parent section */
}

.page-gdpr__link {
    color: #2AD16F; /* Brand green for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: #13994A;
}

.page-gdpr__flex-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-gdpr__flex-container--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__image-wrapper {
    flex: 1;
    min-width: 300px; /* Ensure image doesn't get too small */
    max-width: 50%;
    width: 100%; /* For mobile responsiveness */
    box-sizing: border-box;
    overflow: hidden;
}

.page-gdpr__text-wrapper {
    flex: 1;
    min-width: 300px; /* Ensure text doesn't get too small */
    max-width: 50%;
    box-sizing: border-box;
}

.page-gdpr__content-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .page-gdpr__flex-container {
        flex-direction: column;
        text-align: center;
    }

    .page-gdpr__flex-container--reverse {
        flex-direction: column; /* Revert to column for smaller screens */
    }

    .page-gdpr__image-wrapper,
    .page-gdpr__text-wrapper {
        max-width: 100%;
        width: 100%;
    }
}

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

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

    .page-gdpr__description {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to button container */
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
    }

    .page-gdpr__content-section {
        padding: 40px 15px;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 20px;
    }

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

    /* Images responsive rules */
    .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-image-wrapper,
    .page-gdpr__image-wrapper,
    .page-gdpr__text-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent overflow */
    }
    
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body already has padding-top */
    }
}

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