/* style/privacy-policy.css */

/* Custom Color Variables */
:root {
    --page-privacy-policy-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-privacy-policy-card-bg: #11271B;
    --page-privacy-policy-background: #08160F;
    --page-privacy-policy-text-main: #F2FFF6;
    --page-privacy-policy-text-secondary: #A7D9B8;
    --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;
}

/* Base styles for the main content area */
.page-privacy-policy {
    background-color: var(--page-privacy-policy-background); /* Dark background */
    color: var(--page-privacy-policy-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Space before footer */
}

/* Section container for max-width and centering */
.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Default padding for desktop */
    box-sizing: border-box;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-privacy-policy-deep-green); /* A slightly different dark green for hero background */
    overflow: hidden; /* Ensure no image overflow */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure image wrapper doesn't overflow */
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

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

.page-privacy-policy__hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1; /* Ensure content is above any background elements */
    padding: 20px;
    background-color: rgba(17, 39, 27, 0.7); /* Semi-transparent card-bg for readability */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

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

/* Call to Action Buttons in Hero */
.page-privacy-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.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: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box; /* Ensure padding is included in width */
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-privacy-policy__btn-primary {
    background: var(--page-privacy-policy-button-gradient);
    color: var(--page-privacy-policy-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: var(--page-privacy-policy-glow); /* Use glow color for secondary text */
    border: 2px solid var(--page-privacy-policy-glow);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: rgba(87, 227, 141, 0.1); /* Light hover effect */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


/* General Section Styling */
.page-privacy-policy__section {
    padding: 40px 0;
    margin-bottom: 20px;
    background-color: var(--page-privacy-policy-background); /* Ensure consistent background */
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--page-privacy-policy-text-main);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

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

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: var(--page-privacy-policy-glow); /* Use glow for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__text-block {
    font-size: 1.05em;
    color: var(--page-privacy-policy-text-secondary);
    margin-bottom: 15px;
    text-align: justify;
}

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

.page-privacy-policy__list-item {
    font-size: 1.05em;
    color: var(--page-privacy-policy-text-secondary);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-privacy-policy__list-item::before {
    content: '•'; /* Custom bullet point */
    color: var(--page-privacy-policy-glow);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

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

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

/* Inline Image Styling */
.page-privacy-policy__image-inline {
    width: 100%;
    height: auto;
    display: block;
    max-width: 800px;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* FAQ Section */
.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: var(--page-privacy-policy-card-bg); /* Darker card background */
    border: 1px solid var(--page-privacy-policy-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.15em;
    color: var(--page-privacy-policy-text-main);
    background-color: var(--page-privacy-policy-deep-green); /* Slightly different background for summary */
    transition: background-color 0.3s ease;
}

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

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

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-privacy-policy-glow);
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section {
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for mobile */
        margin-bottom: 15px;
    }

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

    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

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

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

    /* Mobile image and video responsiveness */
    .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__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }

    .page-privacy-policy__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px 15px;
    }
}

/* Ensure no filter on images */
.page-privacy-policy img {
    filter: none;
}

/* Video responsiveness (general rule, though no video on this specific page) */
.page-privacy-policy video,
.page-privacy-policy__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy__video-section,
.page-privacy-policy__video-container,
.page-privacy-policy__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-privacy-policy video,
  .page-privacy-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__video-section,
  .page-privacy-policy__video-container,
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-privacy-policy__video-section {
    padding-top: 10px !important;
  }
  
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}