/* style/privacy-policy.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --accent-login: #EA7C07;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default to light text as body is dark */
    background-color: var(--black-color); /* Inherited from shared.css */
}

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding as body has header offset */
    padding-bottom: 40px;
    color: var(--text-light);
    overflow: hidden;
    position: relative;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-privacy-policy__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    z-index: 1;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-privacy-policy__hero-description {
    font-size: 1.15em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-privacy-policy__content-section {
    background-color: var(--secondary-color);
    padding: 60px 0;
    color: var(--text-dark);
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.page-privacy-policy__text-block {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__text-block p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-privacy-policy__text-block ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-privacy-policy__text-block li {
    margin-bottom: 8px;
    font-size: 1.05em;
}

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

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-privacy-policy__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

.page-privacy-policy__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-privacy-policy__link {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-privacy-policy__link:hover {
    color: darken(var(--primary-color), 10%);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        max-width: 700px;
        padding: 15px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 3.8vw, 2.5em);
    }

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

    .page-privacy-policy__section-title {
        font-size: 2em;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }

    .page-privacy-policy__text-block {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Small top padding as body has header offset */
        padding-bottom: 30px;
    }

    .page-privacy-policy__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-privacy-policy__hero-content {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
        background-color: transparent;
        padding: 20px 15px;
        box-sizing: border-box;
    }
    
    .page-privacy-policy__main-title {
        font-size: clamp(1.6em, 7vw, 2.2em);
        margin-bottom: 10px;
    }

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

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

    .page-privacy-policy__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

    .page-privacy-policy__text-block {
        padding: 20px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__text-block p,
    .page-privacy-policy__text-block li {
        font-size: 1em;
    }

    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0;
        margin-bottom: 15px;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-privacy-policy__btn-primary:last-child,
    .page-privacy-policy__btn-secondary:last-child {
        margin-bottom: 0;
    }
}