/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #000000; /* Body background from shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header, desktop & mobile */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 80px 20px;
    background-color: #0A1931; /* Main brand color for hero background */
    min-height: 400px; /* Minimum height for hero */
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim the background image */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #ffffff;
}

.page-privacy-policy__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary color for emphasis */
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* General Content Section */
.page-privacy-policy__content-section {
    padding: 60px 20px;
}

.page-privacy-policy__dark-bg {
    background-color: #0A1931; /* Main brand color for content background */
    color: #ffffff; /* Light text for dark background */
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #FFD700;
    margin-bottom: 30px;
    text-align: center;
}

.page-privacy-policy__sub-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-privacy-policy__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
}

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

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

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color for action */
    color: #0A1931; /* Dark text on gold button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-privacy-policy__btn-primary:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    color: #000000;
}

/* Contact List */
.page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-privacy-policy__contact-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-privacy-policy__contact-link {
    color: #FFD700; /* Auxiliary color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
    color: #ffffff;
}

/* FAQ Section */
.page-privacy-policy__faq-container {
    margin-top: 40px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ container */
    padding: 20px;
    border-radius: 8px;
}

.page-privacy-policy__faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.page-privacy-policy__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
    transition: color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    color: #FFD700;
}

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Plus to X (or rotate to minus) */
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Use !important to ensure it expands */
    padding: 15px;
}

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

/* Call to Action Section */
.page-privacy-policy__cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-top: 60px;
}

.page-privacy-policy__cta-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-privacy-policy__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-title {
        font-size: 2.5em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.6em;
    }
    .page-privacy-policy__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-privacy-policy__hero-section {
        padding: 60px 15px;
    }

    .page-privacy-policy__hero-title {
        font-size: 2em;
    }

    .page-privacy-policy__hero-description {
        font-size: 1em;
    }

    .page-privacy-policy__content-section,
    .page-privacy-policy__cta-section {
        padding: 40px 15px;
    }

    .page-privacy-policy__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }

    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item,
    .page-privacy-policy__contact-item,
    .page-privacy-policy__faq-answer p {
        font-size: 0.95em;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile button responsiveness */
    .page-privacy-policy__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile container responsiveness */
    .page-privacy-policy__content-section,
    .page-privacy-policy__cta-section,
    .page-privacy-policy__faq-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-privacy-policy__faq-answer {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
    }
    .page-privacy-policy__cta-title {
        font-size: 1.8em;
    }
}