/* style/privacy-policy.css */

/* Custom color variables from palette */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg-color: #11271B;
    --background-color: #08160F;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Use Text Main: #F2FFF6 for dark background */
    background-color: var(--background-color); /* Background: #08160F */
}

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

/* Hero Banner Section */
.page-privacy-policy__hero-banner {
    position: relative;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: var(--background-color);
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    max-height: 400px; /* Limit height for banner effect */
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Slightly darken image for text readability if needed, but text is below */
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Use clamp for H1 */
    font-weight: 700;
    color: var(--text-main-color); /* Text Main: #F2FFF6 */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-privacy-policy__intro-text {
    font-size: 1.2em;
    color: var(--text-secondary-color); /* Text Secondary: #A7D9B8 */
    max-width: 800px;
    margin: 0 auto;
}

/* Content Section */
.page-privacy-policy__content-section {
    padding: 60px 0;
    background-color: var(--background-color); /* Background: #08160F */
    color: var(--text-main-color); /* Text Main: #F2FFF6 */
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--gold-color); /* Gold: #F2C14E */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--divider-color); /* Divider: #1E3A2A */
    padding-bottom: 10px;
}

.page-privacy-policy__subsection-title {
    font-size: 1.6em;
    color: var(--text-main-color); /* Text Main: #F2FFF6 */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy p {
    margin-bottom: 1em;
    color: var(--text-secondary-color); /* Text Secondary: #A7D9B8 */
    font-size: 1.05em;
}

.page-privacy-policy strong {
    color: var(--text-main-color); /* Text Main: #F2FFF6 */
}

.page-privacy-policy ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 1em;
    color: var(--text-secondary-color); /* Text Secondary: #A7D9B8 */
}

.page-privacy-policy ul li {
    margin-bottom: 0.5em;
    color: var(--text-secondary-color); /* Text Secondary: #A7D9B8 */
}

.page-privacy-policy a {
    color: var(--glow-color); /* Glow: #57E38D */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: var(--primary-color); /* Primary: #11A84E */
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color); /* Border: #2E7A4E */
  overflow: hidden;
  background: var(--card-bg-color); /* Card BG: #11271B */
  color: var(--text-main-color); /* Text Main: #F2FFF6 */
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: var(--deep-green-color); /* Deep Green: #0A4B2C */
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color); /* Text Main: #F2FFF6 */
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color); /* Gold: #F2C14E */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: var(--deep-green-color); /* Deep Green: #0A4B2C */
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary-color); /* Text Secondary: #A7D9B8 */
}
.page-privacy-policy__contact-cta {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: var(--text-main-color);
}


/* Call to Action Section */
.page-privacy-policy__cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--card-bg-color); /* Card BG: #11271B */
    color: var(--text-main-color); /* Text Main: #F2FFF6 */
}

.page-privacy-policy__cta-title {
    font-size: 2.5em;
    color: var(--gold-color); /* Gold: #F2C14E */
    margin-bottom: 20px;
}

.page-privacy-policy__cta-description {
    font-size: 1.2em;
    color: var(--text-secondary-color); /* Text Secondary: #A7D9B8 */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary,
.page-privacy-policy__link-button {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff; /* White text for contrast */
    border: none;
}

.page-privacy-policy__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: var(--glow-color); /* Glow: #57E38D */
    border: 2px solid var(--glow-color); /* Glow: #57E38D */
}

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

.page-privacy-policy__link-button {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff;
    border: none;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 1em;
    margin-top: 15px;
}

.page-privacy-policy__link-button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Copyright Section */
.page-privacy-policy__copyright-section {
    padding: 30px 0;
    text-align: center;
    background-color: var(--deep-green-color); /* Deep Green: #0A4B2C */
    color: var(--text-secondary-color); /* Text Secondary: #A7D9B8 */
    font-size: 0.9em;
    border-top: 1px solid var(--divider-color); /* Divider: #1E3A2A */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__subsection-title {
        font-size: 1.4em;
    }
    .page-privacy-policy__cta-title {
        font-size: 2em;
    }
}

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

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

    .page-privacy-policy__hero-content {
        padding: 0 15px;
    }
    
    .page-privacy-policy__hero-image {
        border-radius: 4px;
        max-height: 250px;
    }

    .page-privacy-policy__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .page-privacy-policy__intro-text {
        font-size: 1em;
    }

    .page-privacy-policy__content-section {
        padding: 40px 0;
    }

    .page-privacy-policy__section-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

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

    .page-privacy-policy p,
    .page-privacy-policy ul li {
        font-size: 0.95em;
    }
    
    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
    }

    /* FAQ */
    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
    .page-privacy-policy__faq-qtext { font-size: 1em; }
    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
    }

    /* CTA */
    .page-privacy-policy__cta-section {
        padding: 40px 0;
    }
    .page-privacy-policy__cta-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__cta-description {
        font-size: 1em;
    }
    .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,
    .page-privacy-policy__link-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-privacy-policy__cta-buttons > a {
        margin: 0 auto; /* Center buttons if they stack */
    }
}