/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --page-bg-color: #08160F; /* Background */
    --card-bg-color: #11271B; /* Card BG */
    --text-main-color: #F2FFF6; /* Text Main */
    --text-secondary-color: #A7D9B8; /* Text Secondary */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green-color: #0A4B2C; /* Deep Green */
    --btn-gradient-start: #2AD16F;
    --btn-gradient-end: #13994A;
    --primary-color: #11A84E; /* Main color */
    --secondary-color: #22C768; /* Auxiliary color */
}

.page-privacy-policy {
    background-color: var(--page-bg-color);
    color: var(--text-main-color); /* Ensure high contrast with dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

.page-privacy-policy__section {
    padding: 60px 20px;
    position: relative;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-privacy-policy__dark-section {
    background-color: var(--deep-green-color); /* Darker section background */
    color: var(--text-main-color);
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add some padding for smaller screens */
    box-sizing: border-box;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden; /* Prevent content overflow */
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 8px;
    display: block; /* Ensures no extra space below image */
}

.page-privacy-policy__hero-content {
    position: relative; /* Ensure content is above image but not overlapping visually */
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1 font size */
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-privacy-policy__hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%);
    color: #ffffff;
    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-color: transparent;
    color: var(--btn-gradient-start);
    border: 2px solid var(--btn-gradient-start);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(42, 209, 111, 0.1);
}

/* Section Titles */
.page-privacy-policy__section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

/* Paragraphs */
.page-privacy-policy p {
    margin-bottom: 15px;
    color: var(--text-main-color);
}

.page-privacy-policy__dark-section p {
    color: var(--text-main-color);
}

/* Links */
.page-privacy-policy a {
    color: var(--btn-gradient-start);
    text-decoration: underline;
}

.page-privacy-policy a:hover {
    color: var(--glow-color);
    text-decoration: none;
}

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

.page-privacy-policy__list li {
    margin-bottom: 10px;
    color: var(--text-main-color);
}

.page-privacy-policy__dark-section .page-privacy-policy__list li {
    color: var(--text-main-color);
}

/* Cards */
.page-privacy-policy__card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-main-color); /* Ensure text on card is visible */
}

.page-privacy-policy__card-title {
    font-size: 1.6rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Images within content */
.page-privacy-policy__content-image {
    max-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; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-privacy-policy__last-updated {
    text-align: right;
    font-style: italic;
    color: var(--text-secondary-color);
    font-size: 0.9rem;
    margin-top: 40px;
}

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

.page-privacy-policy__faq-item {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

.page-privacy-policy__faq-item summary:hover {
    background-color: rgba(46, 122, 78, 0.2); /* Slightly lighter hover */
}

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

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--gold-color);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    margin-left: 20px;
    color: var(--btn-gradient-start);
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-image {
        max-height: 400px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-privacy-policy__section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
}

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

    .page-privacy-policy__section {
        padding: 40px 10px;
    }

    .page-privacy-policy__hero-section {
        padding-bottom: 40px;
    }

    .page-privacy-policy__hero-image {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-privacy-policy__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .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: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-privacy-policy__container,
    .page-privacy-policy__card {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent content overflow */
    }

    .page-privacy-policy__section-title {
        font-size: clamp(1.5rem, 5.5vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-privacy-policy__card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__card-title {
        font-size: 1.4rem;
    }

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

    /* Images */
    .page-privacy-policy img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* Videos - No video on this page, but include for robustness */
    .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; /* Small top padding, body handles header offset */
    }

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

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

@media (max-width: 480px) {
    .page-privacy-policy__hero-image {
        max-height: 250px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .page-privacy-policy__section-title {
        font-size: clamp(1.3rem, 6.5vw, 1.8rem);
    }
    .page-privacy-policy__faq-item summary {
        font-size: 1rem;
    }
}

/* Contrast fix if needed (though current design has good contrast) */
.page-privacy-policy__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-privacy-policy__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}