/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color, will be #F2FFF6 on dark background */
    background-color: var(--background-color); /* #08160F from custom palette */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: var(--background-color); /* Deep Green */
    color: var(--text-main); /* Light Greenish White */
    gap: 30px;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure text is above image if any overlap */
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-privacy-policy__description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-secondary); /* Light Green */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Content Area Sections */
.page-privacy-policy__content-area {
    padding: 60px 0;
}

.page-privacy-policy__dark-section {
    background-color: var(--card-bg); /* #11271B */
    color: var(--text-main); /* #F2FFF6 */
}

.page-privacy-policy__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--gold); /* Gold for main titles */
    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(--glow); /* Glow for underline */
    border-radius: 2px;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-main);
}

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

.page-privacy-policy ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-privacy-policy ul li {
    margin-bottom: 10px;
}

.page-privacy-policy__image-block {
    margin-top: 40px;
    text-align: center;
}

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

.page-privacy-policy__image-caption {
    font-style: italic;
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Links */
.page-privacy-policy a {
    color: var(--glow); /* Glow color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: var(--gold); /* Gold on hover */
    text-decoration: underline;
}

/* Contact List */
.page-privacy-policy__contact-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 20px;
    color: var(--text-main);
}

.page-privacy-policy__contact-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.page-privacy-policy__contact-link {
    font-weight: 600;
}

/* Buttons */
.page-privacy-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

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

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
    color: var(--text-main); /* Light text on dark button */
    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);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Subtle hover effect */
}

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

.page-privacy-policy__btn-secondary:hover {
    background: var(--glow); /* Glow color for background */
    color: var(--card-bg); /* Darker text on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 0;
    background-color: var(--background-color);
    color: var(--text-main);
}

.page-privacy-policy__faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-privacy-policy__faq-item {
    background-color: var(--card-bg); /* #11271B */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--divider); /* #1E3A2A */
}

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

.page-privacy-policy__faq-item summary:hover {
    background-color: var(--divider); /* #1E3A2A */
}

.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;
    color: var(--text-main);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 15px;
    color: var(--glow); /* Glow color for toggle */
}

.page-privacy-policy__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--divider);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .page-privacy-policy__description {
        font-size: 1rem;
    }

    .page-privacy-policy__section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .page-privacy-policy__sub-title {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }

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

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__container {
        padding: 0 15px; /* Add horizontal padding for content */
    }

    .page-privacy-policy__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* Ensure small top padding on mobile */
    }

    .page-privacy-policy__hero-content {
        margin-bottom: 20px;
    }

    .page-privacy-policy__hero-image-wrapper {
        padding: 0 15px; /* Padding for image wrapper */
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Video responsiveness (if any) */
    .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; /* body already handles --header-offset */
    }

    /* Buttons responsiveness */
    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add horizontal padding for buttons */
    }

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

    /* Content containers responsiveness */
    .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__faq-item summary {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

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