/* style/privacy-policy.css */

/* Custom color variables from the provided palette */
:root {
    --vty05-primary-color: #11A84E; /* Main color */
    --vty05-secondary-color: #22C768; /* Auxiliary color */
    --vty05-button-gradient-start: #2AD16F;
    --vty05-button-gradient-end: #13994A;
    --vty05-card-bg: #11271B;
    --vty05-background: #08160F;
    --vty05-text-main: #F2FFF6;
    --vty05-text-secondary: #A7D9B8;
    --vty05-border: #2E7A4E;
    --vty05-glow: #57E38D;
    --vty05-gold: #F2C14E;
    --vty05-divider: #1E3A2A;
    --vty05-deep-green: #0A4B2C;
}

/* Ensure main content area respects body padding-top from shared.css */
/* No explicit padding-top: var(--header-offset) here to avoid double padding */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--vty05-text-main); /* Default text color for the page */
    background-color: var(--vty05-background); /* Page background */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and text */
    box-sizing: border-box;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    z-index: 1;
    color: var(--vty05-text-main);
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: bold;
    color: var(--vty05-glow); /* Using glow for main title for impact */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Soft glow */
}

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

.page-privacy-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container takes full width */
    max-width: 500px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-privacy-policy__cta-buttons--center {
    margin-top: 40px;
}

.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;
    transition: all 0.3s ease;
    box-sizing: border-box;
    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(--vty05-button-gradient-start); /* Fallback for gradient */
    background: linear-gradient(180deg, var(--vty05-button-gradient-start) 0%, var(--vty05-button-gradient-end) 100%);
    color: var(--vty05-text-main);
    border: 2px solid var(--vty05-button-gradient-start);
    box-shadow: 0 4px 10px rgba(19, 153, 74, 0.4);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(19, 153, 74, 0.6);
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: var(--vty05-glow);
    border: 2px solid var(--vty05-glow);
    box-shadow: 0 4px 10px rgba(87, 227, 141, 0.2);
}

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

/* Content Sections */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--vty05-divider);
}

.page-privacy-policy__content-area:last-of-type {
    border-bottom: none;
}

.page-privacy-policy__dark-bg {
    background-color: var(--vty05-background);
    color: var(--vty05-text-main);
}

.page-privacy-policy__light-bg {
    background-color: var(--vty05-card-bg); /* Using card bg for light section to ensure contrast with page bg */
    color: var(--vty05-text-main); /* Keep main text color for contrast */
}

.page-privacy-policy__section-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--vty05-gold);
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-privacy-policy__sub-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--vty05-primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-privacy-policy__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--vty05-text-secondary);
}

.page-privacy-policy__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--vty05-text-secondary);
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 1rem;
}

.page-privacy-policy__nested-list {
    list-style: circle inside;
    margin-top: 10px;
    padding-left: 20px;
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    max-width: 800px;
    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__content-area a {
    color: var(--vty05-glow);
    text-decoration: underline;
}

.page-privacy-policy__content-area a:hover {
    color: var(--vty05-gold);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: var(--vty05-card-bg); /* Using card bg for FAQ section */
    color: var(--vty05-text-main);
}

.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: var(--vty05-background); /* Darker background for individual FAQ items */
    border: 1px solid var(--vty05-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-item summary {
    list-style: none;
}
.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--vty05-text-main);
    cursor: pointer;
    background-color: var(--vty05-deep-green); /* Slightly different background for question */
    border-bottom: 1px solid var(--vty05-border);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
    border-bottom: none;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--vty05-glow);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or simply change to '-' */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    .page-privacy-policy__section-title {
        font-size: 2rem;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 10px 15px 40px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-privacy-policy__description {
        font-size: 1rem;
    }
    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 300px; /* narrower for mobile */
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important; /* Ensure full width on mobile */
        box-sizing: border-box !important;
    }
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8rem;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4rem;
    }
    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-question,
    .page-privacy-policy__faq-answer p {
        font-size: 0.95rem;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px;
        min-height: 200px;
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    /* Video responsiveness placeholder (no video on this page, but rules are required) */
    .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;
    }
}