/* style/privacy-policy.css */

/* --- CSS Variables (from custom palette) --- */
:root {
    --primary-color: #FF8C1A;
    --auxiliary-color: #FFA53A;
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --card-bg-color: #17191F;
    --background-color: #0D0E12;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
}

/* --- General Page Styling --- */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color);
    background-color: var(--background-color);
    padding-top: 0; /* Handled by body padding-top in shared.css */
}

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

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

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

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

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-main-color);
    font-size: 1.1em;
}

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

.page-privacy-policy a {
    color: var(--auxiliary-color);
    text-decoration: underline;
}

.page-privacy-policy a:hover {
    color: var(--glow-color);
}

/* --- 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;
    padding-top: 10px; /* Small top padding */
    background-color: var(--background-color);
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-privacy-policy__image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-privacy-policy__hero-content {
    max-width: 800px;
    z-index: 1;
    color: var(--text-main-color);
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
    margin-bottom: 20px;
    color: var(--text-main-color);
    font-weight: bold;
    line-height: 1.2;
}

.page-privacy-policy__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-main-color);
}

/* --- Content Sections --- */
.page-privacy-policy__content-section {
    padding: 60px 0;
}

.page-privacy-policy__dark-bg {
    background-color: var(--background-color);
    color: var(--text-main-color);
}

.page-privacy-policy__light-bg {
    background-color: var(--card-bg-color);
    color: var(--text-main-color);
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
}

/* --- Buttons --- */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

.page-privacy-policy__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

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

.page-privacy-policy__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
    padding: 60px 0;
    background-color: var(--background-color);
    color: var(--text-main-color);
}

.page-privacy-policy__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-privacy-policy__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: var(--card-bg-color);
    border-bottom: 1px solid transparent; /* default */
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(255, 165, 58, 0.1); /* Slight hover effect */
}

/* Style for details/summary */
.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
    border-bottom-color: var(--border-color);
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--primary-color);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    content: "−"; /* Unicode minus sign */
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.05em;
    color: var(--text-main-color);
}

/* Hide default details marker */
.page-privacy-policy__faq-item > summary {
    list-style: none;
}
.page-privacy-policy__faq-item > summary::-webkit-details-marker {
    display: none;
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__hero-content {
        max-width: 600px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles header offset */
    }
    .page-privacy-policy__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-privacy-policy__hero-content {
        padding: 0 15px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-privacy-policy__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.3em;
    }
    .page-privacy-policy__text-block,
    .page-privacy-policy__list,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-answer {
        font-size: 1em;
    }

    /* Images responsiveness */
    .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__content-section,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Buttons 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;
        margin-right: 0 !important;
        margin-bottom: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__hero-content .page-privacy-policy__btn-primary {
        margin-right: 0; /* Remove right margin for stacking */
    }
    .page-privacy-policy__hero-content {
        display: flex;
        flex-direction: column; /* Stack hero content vertically */
        align-items: center;
    }

    /* Video section top padding for mobile (if video present) */
    .page-privacy-policy__video-section {
      padding-top: 10px !important;
    }
}