/* style/privacy-policy.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --background-dark: #0A0A0A;
    --card-background: #111111;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --header-offset: 120px; /* Default desktop offset */
}

.page-privacy-policy {
    color: var(--text-main);
    background-color: var(--background-dark);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-privacy-policy__section-title {
    color: var(--primary-color);
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-privacy-policy__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Desktop padding to clear fixed header */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 100%); /* Dark gradient background */
}

.page-privacy-policy__hero-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.page-privacy-policy__hero-image-container {
    width: 100%;
    max-width: 800px; /* Limit image width for better composition */
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 211, 107, 0.3);
}

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

.page-privacy-policy__hero-text-content {
    text-align: center;
    max-width: 900px;
}

.page-privacy-policy__hero-title {
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__hero-cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 15px rgba(242, 193, 78, 0.4);
    border: none;
}

.page-privacy-policy__hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(242, 193, 78, 0.6);
}

/* Content Sections */
.page-privacy-policy__content-introduction, 
.page-privacy-policy__information-collection, 
.page-privacy-policy__data-usage, 
.page-privacy-policy__data-sharing, 
.page-privacy-policy__data-retention, 
.page-privacy-policy__data-transfer, 
.page-privacy-policy__data-disclosure, 
.page-privacy-policy__security-section, 
.page-privacy-policy__privacy-rights, 
.page-privacy-policy__children-privacy, 
.page-privacy-policy__external-links, 
.page-privacy-policy__policy-changes, 
.page-privacy-policy__contact-section, 
.page-privacy-policy__faq-section,
.page-privacy-policy__cta-final {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-privacy-policy__content-introduction p, 
.page-privacy-policy__data-retention p, 
.page-privacy-policy__data-transfer p, 
.page-privacy-policy__data-disclosure p,
.page-privacy-policy__children-privacy p,
.page-privacy-policy__external-links p,
.page-privacy-policy__policy-changes p,
.page-privacy-policy__contact-section p,
.page-privacy-policy__cta-final p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-privacy-policy__info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-privacy-policy__card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    color: var(--text-main); /* Ensure text is light on dark card background */
}

.page-privacy-policy__card:hover {
    transform: translateY(-5px);
}

.page-privacy-policy__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-privacy-policy__card-text {
    font-size: 1em;
    color: var(--text-main);
}

.page-privacy-policy__list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-privacy-policy__list-item {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__security-content, .page-privacy-policy__rights-content {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-privacy-policy__security-image, .page-privacy-policy__rights-image, .page-privacy-policy__contact-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 211, 107, 0.2);
}

.page-privacy-policy__security-section .page-privacy-policy__text-block, 
.page-privacy-policy__privacy-rights .page-privacy-policy__list {
    flex: 1;
}

.page-privacy-policy__privacy-rights .page-privacy-policy__rights-image {
    order: 2; /* Image on the right for privacy rights */
}

.page-privacy-policy__contact-section {
    text-align: center;
}

.page-privacy-policy__contact-button {
    display: inline-block;
    background: var(--primary-color);
    color: #000000; /* Dark text on bright button */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-privacy-policy__contact-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.page-privacy-policy__contact-image {
    margin-top: 40px;
    max-width: 600px;
}

.page-privacy-policy__last-updated {
    font-style: italic;
    text-align: center;
    color: var(--text-main);
    margin-top: 20px;
    font-size: 0.9em;
}

/* FAQ Section */
.page-privacy-policy__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(242, 193, 78, 0.1);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-main);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 15px 20px;
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
}

/* Final CTA */
.page-privacy-policy__cta-final {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-privacy-policy__cta-button--large {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(242, 193, 78, 0.5);
    border: none;
    margin-top: 30px;
}

.page-privacy-policy__cta-button--large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(242, 193, 78, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-title {
        font-size: 2.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__security-content, .page-privacy-policy__rights-content {
        flex-direction: column;
        text-align: center;
    }
    .page-privacy-policy__privacy-rights .page-privacy-policy__rights-image {
        order: 1;
    }
}

@media (max-width: 768px) {
    :root {
        --header-offset: 100px; /* Adjust for mobile header height */
    }
    .page-privacy-policy__hero-section {
        padding-top: var(--header-offset, 100px) !important; /* Mobile padding to clear fixed header */
        padding-bottom: 40px;
    }
    .page-privacy-policy__hero-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-privacy-policy__hero-description {
        font-size: 1em;
    }
    .page-privacy-policy__hero-cta-button, .page-privacy-policy__cta-button--large {
        width: 100% !important;
        max-width: 300px !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-privacy-policy__text-block, .page-privacy-policy__list-item, .page-privacy-policy__card-text {
        font-size: 0.95em;
    }
    .page-privacy-policy__info-cards {
        grid-template-columns: 1fr;
    }
    .page-privacy-policy__security-image, .page-privacy-policy__rights-image, .page-privacy-policy__contact-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__contact-section .page-privacy-policy__contact-button {
        width: 100%;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
    .page-privacy-policy__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-privacy-policy__faq-answer {
        padding: 10px 15px;
    }
    .page-privacy-policy__contact-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-privacy-policy__hero-description {
        font-size: 0.9em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }
}