/* style/privacy-policy.css */
:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --color-deep-navy: #08162B;
}

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--color-deep-navy); /* Body background from shared.css, but ensure content area has proper contrast */
}

/* HERO Section Styles */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, rely on body for --header-offset */
    overflow: hidden;
    background-color: var(--color-deep-navy);
}

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

.page-privacy-policy__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-privacy-policy__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-privacy-policy__main-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-privacy-policy__intro-text {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.8;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Content Section Styles */
.page-privacy-policy__content-section {
    padding: 40px 20px;
    background-color: var(--color-deep-navy);
    color: var(--text-main);
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

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

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

.page-privacy-policy__paragraph {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

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

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

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

.page-privacy-policy__link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-privacy-policy__contact-info p {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.page-privacy-policy__image-wrapper {
    margin: 30px 0;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* FAQ Section Styles */
.page-privacy-policy__faq-list {
    margin-top: 30px;
}

details.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
    font-weight: 600;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
    background: rgba(var(--primary-color), 0.2);
}

.page-privacy-policy__faq-qtext {
    flex: 1;
    font-size: 17px;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}

.page-privacy-policy__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 20px 20px;
    background: rgba(var(--card-bg), 0.8);
    border-radius: 0 0 8px 8px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

details.page-privacy-policy__faq-item[open] {
    background: var(--card-bg);
    border-color: var(--secondary-color);
}

details.page-privacy-policy__faq-item[open] summary.page-privacy-policy__faq-question {
    background: rgba(var(--primary-color), 0.3);
    border-bottom: 1px solid var(--divider-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__hero-image img {
        border-radius: 4px;
    }

    .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__main-title {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 15px;
    }

    .page-privacy-policy__intro-text {
        font-size: clamp(15px, 3vw, 17px);
        margin-bottom: 20px;
    }

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

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

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

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

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-answer p {
        font-size: 15px;
    }

    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        padding: 15px;
    }

    .page-privacy-policy__faq-qtext {
        font-size: 16px;
    }

    .page-privacy-policy__faq-toggle {
        font-size: 20px;
        width: 24px;
        margin-left: 10px;
    }

    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
    }

    /* Image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__contact-info {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}