/* style/privacy-policy.css */

:root {
    --phsky-primary-color: #F2C14E;
    --phsky-secondary-color: #FFD36B;
    --phsky-card-bg: #111111;
    --phsky-bg-color: #0A0A0A;
    --phsky-text-main: #FFF6D6;
    --phsky-border-color: #3A2A12;
    --phsky-glow-color: #FFD36B;
    --header-offset: 120px; /* Default for desktop, adjusted by shared.css media queries */
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--phsky-text-main); /* Ensure light text on dark body background */
    background-color: var(--phsky-bg-color); /* Ensure consistent dark background */
}

/* HERO Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset); /* Ensure content is below fixed header */
    padding-bottom: 60px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--phsky-primary-color), var(--phsky-secondary-color));
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
    font-weight: bold;
    color: var(--phsky-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--phsky-bg-color); /* Dark background */
    color: var(--phsky-text-main); /* Light text */
}

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

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

.page-privacy-policy__text-block {
    font-size: 1em;
    margin-bottom: 20px;
    color: var(--phsky-text-main);
}

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

.page-privacy-policy__list li {
    margin-bottom: 10px;
    color: var(--phsky-text-main);
}

/* Cards */
.page-privacy-policy__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-privacy-policy__card {
    background-color: var(--phsky-card-bg); /* Dark card background */
    color: var(--phsky-text-main); /* Light text */
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--phsky-border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-privacy-policy__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--phsky-glow-color);
}

.page-privacy-policy__card-title {
    font-size: 1.3em;
    color: var(--phsky-secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #ffffff; /* White text on button */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 10px var(--phsky-glow-color);
}

.page-privacy-policy__last-updated {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 40px;
}

/* Image with text block */
.page-privacy-policy__image-text-block {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    align-items: center;
}

.page-privacy-policy__content-image {
    flex: 1 1 45%; /* Allows image to take up roughly half width */
    max-width: 550px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__text-content {
    flex: 1 1 45%; /* Allows text to take up roughly half width */
}

/* Security Features Grid */
.page-privacy-policy__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-privacy-policy__hero-image-wrapper {
        max-height: 400px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }
    .page-privacy-policy__image-text-block {
        flex-direction: column;
        text-align: center;
    }
    .page-privacy-policy__content-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-privacy-policy__hero-section {
        padding-top: var(--header-offset, 100px) !important; /* Mobile header offset */
        padding-bottom: 40px;
    }
    .page-privacy-policy__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.6em, 6vw, 2.2em);
    }
    .page-privacy-policy__description {
        font-size: 1em;
    }
    .page-privacy-policy__content-area {
        padding: 40px 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__card-grid,
    .page-privacy-policy__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-privacy-policy__card {
        padding: 20px;
    }
    .page-privacy-policy__card-title {
        font-size: 1.2em;
    }
    .page-privacy-policy__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-privacy-policy__text-content, .page-privacy-policy__content-image {
        flex: 1 1 100%;
    }

    /* Mobile image responsive */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__image-text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-privacy-policy__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}