/* style/privacy-policy.css */

:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --card-bg-color: #FFFFFF;
    --background-light: #F5F7FA;
    --text-main-color: #333333;
    --border-color: #E0E0E0;
    --button-gradient: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color);
    background-color: var(--background-light); /* Assuming body background is light */
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding for fixed header */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary-color);
    color: #ffffff;
    overflow: hidden;
}

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

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

.page-privacy-policy__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__intro-text {
    font-size: clamp(1em, 1.5vw, 1.25em);
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-privacy-policy__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--card-bg-color); /* Light background for content */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-top: -40px; /* Overlap with hero for visual flow */
    position: relative;
    z-index: 2;
}

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

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

.page-privacy-policy__section-title:first-of-type {
    margin-top: 0;
}

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

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

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

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

.page-privacy-policy__inline-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-privacy-policy__inline-link:hover {
    color: var(--secondary-color);
}

.page-privacy-policy__faq-section {
    background-color: var(--primary-color);
    padding: 60px 20px;
    color: #ffffff;
    text-align: center;
}

.page-privacy-policy__faq-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #ffffff;
    font-weight: 700;
}

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

.page-privacy-policy__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    text-align: left;
    color: #ffffff;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.15em;
    color: #ffffff;
    list-style: none; /* Remove default marker for summary */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}

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

    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Fixed header spacing */
        padding-bottom: 30px;
    }

    .page-privacy-policy__hero-content {
        padding: 0 15px;
    }

    .page-privacy-policy__main-title {
        font-size: 2em; /* Adjust for mobile */
        margin-bottom: 10px;
    }

    .page-privacy-policy__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__cta-button {
        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;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .page-privacy-policy__content-area {
        padding: 30px 15px;
        margin-top: -20px; /* Adjust overlap for mobile */
    }

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

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

    .page-privacy-policy__text-block {
        font-size: 0.95em;
    }

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

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

    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        box-sizing: border-box !important;
    }

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

    .page-privacy-policy__faq-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-privacy-policy__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
        font-size: 0.95em;
    }
}