/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #ffffff; /* Explicitly set for clarity, though body handles it */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #f8f8f8; /* Light background for the hero section */
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 1200px; /* Limit image width */
    height: auto;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3em); /* H1 font-size with clamp */
    color: #26A9E0; /* Brand color for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

/* General Section Styling */
.page-privacy-policy__section {
    padding: 60px 0;
    border-bottom: 1px solid #eeeeee;
}

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

.page-privacy-policy__section-title {
    font-size: 2em;
    color: #26A9E0; /* Brand color for section titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-privacy-policy__text-block {
    margin-bottom: 20px;
    text-align: justify;
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    color: #333333;
}

.page-privacy-policy__image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Dark sections for contrast */
.page-privacy-policy__dark-section {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff; /* White text for dark background */
}

.page-privacy-policy__dark-section .page-privacy-policy__section-title,
.page-privacy-policy__dark-section .page-privacy-policy__list-item {
    color: #ffffff;
}

.page-privacy-policy__dark-section .page-privacy-policy__text-block {
    color: #f0f0f0;
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
}

.page-privacy-policy__btn-primary {
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
    margin: 0 10px 10px 0; /* Spacing for multiple buttons */
}

.page-privacy-policy__btn-primary:hover {
    background-color: #1a7fb2;
    border-color: #1a7fb2;
}

.page-privacy-policy__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Brand color */
    border: 2px solid #26A9E0;
    margin: 0 10px 10px 0;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1a7fb2;
    border-color: #1a7fb2;
}

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

/* Link styles within text */
.page-privacy-policy__text-block a,
.page-privacy-policy__list-item a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: underline;
}

.page-privacy-policy__text-block a:hover,
.page-privacy-policy__list-item a:hover {
    color: #1a7fb2;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .page-privacy-policy__container {
        padding: 0 15px;
    }

    .page-privacy-policy__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* body handles --header-offset, small decorative top padding */
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust H1 size for mobile */
    }

    .page-privacy-policy__hero-description {
        font-size: 1em;
    }

    .page-privacy-policy__section {
        padding: 40px 0;
    }

    .page-privacy-policy__section-title {
        font-size: 1.6em;
        margin-bottom: 20px;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add padding to prevent image touching edges */
        padding-right: 15px;
    }

    /* Ensure image containers are also responsive */
    .page-privacy-policy__hero-section,
    .page-privacy-policy__section,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Button responsiveness */
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        margin: 0 0 15px 0 !important; /* Stack buttons vertically */
    }

    .page-privacy-policy__contact-buttons {
        flex-direction: column; /* Stack contact buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to button group */
    }
}

/* Ensure no filter is used on images */
.page-privacy-policy img {
    filter: none;
}