/* style/privacy-policy.css */

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small decorative top padding, body handles header offset */
    background-color: var(--card-bg, #11271B); /* Dark background for hero */
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and text */
}

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

.page-privacy-policy__hero-content {
    max-width: 900px;
    width: 100%; /* Ensure it takes full width within max-width */
    z-index: 1; /* Ensure text is above any potential background elements */
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main, #F2FFF6);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Enhance readability on image */
}

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

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* Ensure buttons adapt to container width */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
    color: #F2FFF6; /* Light text for dark button */
    border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

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

.page-privacy-policy__btn-secondary:hover {
    background: var(--glow, #57E38D);
    color: var(--background, #08160F); /* Dark text on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background, #08160F); /* Main background for content */
    color: var(--text-main, #F2FFF6); /* Light text for dark background */
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--gold, #F2C14E); /* Gold color for section 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, #57E38D); /* Glow color for underline */
    border-radius: 2px;
}

.page-privacy-policy__text-block {
    margin-bottom: 40px;
    padding: 25px;
    background-color: var(--card-bg, #11271B); /* Dark card background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, #2E7A4E);
}

.page-privacy-policy__text-block p {
    margin-bottom: 15px;
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--glow, #57E38D); /* Glow color for sub-titles */
}

.page-privacy-policy__text-block ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__text-block ul li {
    margin-bottom: 10px;
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__text-block strong {
    color: var(--gold, #F2C14E); /* Gold color for strong text */
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-privacy-policy__contact-link {
    color: var(--glow, #57E38D); /* Glow color for links */
    text-decoration: underline;
}

.page-privacy-policy__contact-link:hover {
    color: var(--gold, #F2C14E); /* Gold color on hover */
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    margin-top: 60px;
    margin-bottom: 40px;
}

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

.page-privacy-policy__faq-item {
    background-color: var(--card-bg, #11271B); /* Dark card background */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border, #2E7A4E);
    overflow: hidden;
    color: var(--text-main, #F2FFF6);
}

.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.15rem;
    color: var(--gold, #F2C14E); /* Gold color for question */
    background-color: var(--deep-green, #0A4B2C); /* 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(--divider, #1E3A2A); /* Darker on hover */
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--glow, #57E38D); /* Glow color for toggle icon */
}

.page-privacy-policy__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8); /* Secondary text color for answer */
    border-top: 1px solid var(--divider, #1E3A2A);
}

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


/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding for mobile */
    }

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

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

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

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

    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }

    .page-privacy-policy__section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__text-block {
        padding: 20px;
    }

    .page-privacy-policy__sub-title {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-privacy-policy p,
    .page-privacy-policy li {
      font-size: 15px; /* Slightly smaller font for mobile paragraphs */
      line-height: 1.5;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Video responsiveness - if any, though not used here */
    .page-privacy-policy video,
    .page-privacy-policy__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* Ensure containers are responsive */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__text-block,
    .page-privacy-policy__hero-content,
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__video-section,
    .page-privacy-policy__video-container,
    .page-privacy-policy__video-wrapper,
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding for content containers to prevent edge-to-edge content */
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

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

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