/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg, #1a1a1a); /* Inherit from shared or fallback */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
}

.page-privacy-policy__hero-video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Below overlay, above video */
    cursor: pointer;
}

.page-privacy-policy__hero-video {
    position: absolute; /* Changed to absolute for proper positioning within the link */
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0; /* Ensures video is behind the link and overlay */
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.page-privacy-policy__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2; /* Above the video link */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 3; /* Above everything else */
    max-width: 900px;
    padding: 20px;
}

.page-privacy-policy__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

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

/* General Content Area */
.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: #ffffff; /* White background for content area */
    color: #333333; /* Dark text for white background */
}

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for titles */
    margin-bottom: 30px;
    text-align: center;
    padding-top: 40px;
}

.page-privacy-policy__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 40px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

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

.page-privacy-policy__list-item strong {
    color: #017439;
}

/* Images */
.page-privacy-policy__image-wrapper {
    margin: 40px auto;
    text-align: center;
    max-width: 800px; /* Example max-width for content images */
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
    font-size: 1.1em;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #005a2e; /* Darker shade on hover */
    color: #ffffff;
}

.page-privacy-policy__cta-wrapper {
    text-align: center;
    margin-top: 50px;
    padding-bottom: 30px;
}

/* Contact Info */
.page-privacy-policy__contact-info {
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__contact-item {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.page-privacy-policy__contact-item a {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
}

.page-privacy-policy__contact-item a:hover {
    text-decoration: underline;
}

/* Links within content */
.page-privacy-policy__content-area a {
    color: #017439;
    text-decoration: underline;
}

.page-privacy-policy__content-area a:hover {
    color: #005a2e;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-title {
        font-size: 3em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-privacy-policy__container {
        padding: 0 15px;
    }

    .page-privacy-policy__hero-section {
        height: 450px;
    }

    .page-privacy-policy__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-privacy-policy__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
        padding-top: 30px;
    }

    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item,
    .page-privacy-policy__contact-item {
        font-size: 1em;
    }

    .page-privacy-policy__list {
        margin-left: 20px;
    }

    /* Images responsiveness for mobile */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__contact-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
    }

    /* Video responsiveness for mobile */
    .page-privacy-policy video,
    .page-privacy-policy__hero-video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-privacy-policy__hero-video-link {
        position: relative !important; /* Adjust for mobile flow */
        transform: none !important;
        top: auto !important;
        left: auto !important;
        min-width: unset !important;
        min-height: unset !important;
    }
    .page-privacy-policy__hero-video {
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        min-width: unset !important;
        min-height: unset !important;
    }

    /* Button responsiveness for mobile */
    .page-privacy-policy__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }
    .page-privacy-policy__cta-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }
}