/* style/privacy-policy.css */

/* Custom properties for colors */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f5f5f5;
    --background-white: #ffffff;
    --button-login: #EA7C07;
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    background-color: var(--background-white); /* Body background from shared.css is white */
}

/* Ensure main content is not hidden by fixed header */
.page-privacy-policy {
    padding-top: var(--header-offset, 120px);
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--background-light); /* Light background for hero */
    color: var(--text-dark);
}

.page-privacy-policy__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 800px; /* Limit image width in hero for better composition */
    margin-bottom: 20px;
}

.page-privacy-policy__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-privacy-policy__hero-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-login); /* Use specific login color for CTA */
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__cta-button:hover {
    background: #e06c00; /* Slightly darker #EA7C07 */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--background-white);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin-bottom: 40px;
}

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

.page-privacy-policy__section-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    font-weight: bold;
}

.page-privacy-policy__sub-title {
    font-size: 1.5em;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1em;
    line-height: 1.7;
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 1em;
    line-height: 1.6;
}

.page-privacy-policy__list-item strong {
    color: var(--primary-color);
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure block display for max-width to work */
}

.page-privacy-policy__image-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.page-privacy-policy__image-wrapper--small img {
    max-width: 600px; /* Adjust max-width for smaller context images */
    margin: 0 auto;
}

/* Links within content */
.page-privacy-policy__paragraph a,
.page-privacy-policy__list-item a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__paragraph a:hover,
.page-privacy-policy__list-item a:hover {
    color: #1f8ec7; /* Slightly darker #26A9E0 */
}

/* Contact links section */
.page-privacy-policy__contact-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure buttons don't overflow on mobile */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-privacy-policy__btn-primary:hover {
    background: #1f8ec7; /* Slightly darker #26A9E0 */
    border-color: #1f8ec7;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-privacy-policy__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy {
        padding-top: var(--header-offset, 120px) !important; /* Mobile padding-top */
    }

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

    .page-privacy-policy__hero-title {
        font-size: 1.8em;
    }

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

    .page-privacy-policy__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-privacy-policy__content-area {
        padding: 30px 15px;
        margin-left: 15px;
        margin-right: 15px;
    }

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

    .page-privacy-policy__section-title {
        font-size: 1.5em;
        margin-top: 30px;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.2em;
        margin-top: 25px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 0.95em;
    }

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

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important; /* Ensure padding/border is included in width */
    }

    .page-privacy-policy__image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    
    .page-privacy-policy__image-wrapper--small img {
        max-width: 100% !important; /* Override for small images too */
    }

    /* Mobile button responsiveness */
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-privacy-policy__contact-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}