/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --page-privacy-policy-bg: #08160F;
    --page-privacy-policy-card-bg: #11271B;
    --page-privacy-policy-text-main: #F2FFF6;
    --page-privacy-policy-text-secondary: #A7D9B8;
    --page-privacy-policy-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-privacy-policy-btn-text: #ffffff;
    --page-privacy-policy-border: #2E7A4E;
    --page-privacy-policy-glow: #57E38D;
    --page-privacy-policy-gold: #F2C14E;
    --page-privacy-policy-divider: #1E3A2A;
    --page-privacy-policy-deep-green: #0A4B2C;
}

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    color: var(--page-privacy-policy-text-main); /* Default text color for the page content */
    background-color: var(--page-privacy-policy-bg); /* Page background color */
    line-height: 1.6;
    font-size: 1rem;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
    background-color: var(--page-privacy-policy-deep-green); /* A brand-related dark background for the hero section */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width */
    height: auto;
    overflow: hidden;
    position: relative;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image to make text pop, but not a color filter */
}

.page-privacy-policy__hero-content {
    position: relative; /* Position relative to allow z-index, but not absolute over image */
    padding: 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content up over the image's bottom edge */
    background-color: var(--page-privacy-policy-card-bg); /* Use card background for content block */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    z-index: 2; /* Ensure content is above image */
    border: 1px solid var(--page-privacy-policy-border);
}

.page-privacy-policy__main-title {
    color: var(--page-privacy-policy-text-main);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    /* No fixed font-size for H1, rely on weight/line-height/spacing for hierarchy */
}

.page-privacy-policy__description-text {
    color: var(--page-privacy-policy-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container takes full width */
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt to container width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-privacy-policy__btn-primary {
    background: var(--page-privacy-policy-btn-gradient);
    color: var(--page-privacy-policy-btn-text);
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: var(--page-privacy-policy-text-main);
    border: 2px solid var(--page-privacy-policy-border);
}

.page-privacy-policy__btn-secondary:hover {
    background: rgba(242, 255, 246, 0.1); /* Use RGB for transparency based on --page-privacy-policy-text-main */
    border-color: var(--page-privacy-policy-glow);
    color: var(--page-privacy-policy-glow);
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--page-privacy-policy-bg); /* Ensure content area background is consistent */
    color: var(--page-privacy-policy-text-main);
}

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

.page-privacy-policy__section-title {
    color: var(--page-privacy-policy-text-main);
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 25px;
    line-height: 1.3;
    border-bottom: 2px solid var(--page-privacy-policy-divider);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    color: var(--page-privacy-policy-text-main);
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-privacy-policy__text-block {
    color: var(--page-privacy-policy-text-secondary);
    margin-bottom: 20px;
    font-size: 1rem;
}

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

.page-privacy-policy__list-item {
    color: var(--page-privacy-policy-text-secondary);
    margin-bottom: 10px;
    font-size: 1rem;
}

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

.page-privacy-policy__list-item a {
    color: var(--page-privacy-policy-glow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__list-item a:hover {
    text-decoration: underline;
    color: var(--page-privacy-policy-gold);
}

.page-privacy-policy__contact-cta {
    margin-top: 50px;
    padding: 30px;
    background-color: var(--page-privacy-policy-card-bg);
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--page-privacy-policy-border);
}

.page-privacy-policy__cta-text {
    color: var(--page-privacy-policy-text-main);
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 600;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 20px;
    background-color: var(--page-privacy-policy-card-bg); /* Use card background for FAQ section */
    color: var(--page-privacy-policy-text-main);
    border-top: 1px solid var(--page-privacy-policy-divider);
}

.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: var(--page-privacy-policy-bg); /* Darker background for individual FAQ items */
    border: 1px solid var(--page-privacy-policy-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-item summary {
    list-style: none; /* Remove default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--page-privacy-policy-text-main);
    background-color: var(--page-privacy-policy-card-bg); /* Slightly lighter than item bg */
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item summary:hover {
    background-color: var(--page-privacy-policy-deep-green);
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit browsers */
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--page-privacy-policy-glow);
    width: 20px;
    text-align: center;
}

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

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--page-privacy-policy-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
    color: var(--page-privacy-policy-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        margin-top: -80px;
        max-width: 700px;
    }
    .page-privacy-policy__main-title {
        font-size: 2.5rem;
    }
    .page-privacy-policy__section-title {
        font-size: 2rem;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4rem;
    }
}

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

    .page-privacy-policy__hero-section {
        padding: 10px 0 40px 0;
    }
    
    .page-privacy-policy__hero-content {
        margin-top: -60px;
        padding: 15px;
        max-width: 90%;
    }

    .page-privacy-policy__main-title {
        font-size: 1.8rem; /* Adjusted for mobile, still not fixed */
        margin-bottom: 15px;
    }

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

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

    /* Specific padding for content within containers on mobile */
    .page-privacy-policy__content-area .page-privacy-policy__container,
    .page-privacy-policy__faq-section .page-privacy-policy__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

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

    .page-privacy-policy__sub-title {
        font-size: 1.2rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

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

    .page-privacy-policy__list {
        padding-left: 20px;
    }

    .page-privacy-policy__contact-cta {
        padding: 20px;
    }

    .page-privacy-policy__cta-text {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .page-privacy-policy__faq-item summary {
        padding: 15px 20px;
        font-size: 1.05rem;
    }

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

    /* Mobile image and video responsive adaptation */
    .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,
    .page-privacy-policy__hero-image-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }

    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}