/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F; /* This is the specific background for this page's content sections */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-privacy-policy {
    background-color: var(--background-color); /* Apply the specific background color for the page */
    color: var(--text-main); /* Ensure text is light on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

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

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding as required */
    background-color: var(--deep-green); /* Example background for the hero section */
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height to maintain aspect ratio for hero image */
    overflow: hidden;
}

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

.page-privacy-policy__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly with image for visual appeal, but text is below image in DOM */
    position: relative;
    z-index: 1;
    background-color: rgba(17, 39, 27, 0.8); /* Semi-transparent background for text on hero */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Use clamp for H1 as required */
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-privacy-policy__description {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: var(--text-main);
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    filter: brightness(1.1);
}

/* General Sections */
.page-privacy-policy__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
}

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

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    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(--primary-color);
    border-radius: 2px;
}

.page-privacy-policy__subsection-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-privacy-policy p {
    margin-bottom: 1em;
    color: var(--text-secondary);
}

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

.page-privacy-policy__list li {
    margin-bottom: 0.5em;
}

.page-privacy-policy__list strong {
    color: var(--text-main);
}

.page-privacy-policy__points {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.page-privacy-policy__point-item {
    flex: 1 1 calc(33% - 20px);
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

.page-privacy-policy__point-item .page-privacy-policy__point-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.page-privacy-policy__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-privacy-policy__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-privacy-policy__text-block {
    flex: 1;
}

.page-privacy-policy__image-block {
    flex: 1;
    min-width: 200px; /* Ensure images are not too small */
    text-align: center;
}

.page-privacy-policy__content-image,
.page-privacy-policy__contact-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center image */
}

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

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

.page-privacy-policy__faq-item summary {
    list-style: none; /* Hide default marker */
}

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main);
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: var(--primary-color);
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--gold-color);
}

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

/* Floating Buttons */
.page-privacy-policy__floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.page-privacy-policy__floating-btn {
    display: block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-privacy-policy__floating-btn--register {
    background: var(--button-gradient);
    color: var(--text-main);
}

.page-privacy-policy__floating-btn--login {
    background: var(--primary-color);
    color: var(--text-main);
}

.page-privacy-policy__floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
    filter: brightness(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        margin-top: -50px;
        padding: 30px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }

    .page-privacy-policy__section-title {
        font-size: 2em;
    }

    .page-privacy-policy__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .page-privacy-policy__content-wrapper--reverse {
        flex-direction: column; /* Keep column order for reverse on smaller screens */
    }

    .page-privacy-policy__points {
        flex-direction: column;
    }

    .page-privacy-policy__point-item {
        flex: 1 1 100%;
    }
}

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

    .page-privacy-policy__container {
        padding: 0 15px; /* Add padding for mobile containers */
    }

    .page-privacy-policy__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-privacy-policy__hero-content {
        margin-top: -30px;
        padding: 20px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }

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

    .page-privacy-policy__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important; /* Button responsive */
        width: 100% !important; /* Button responsive */
        box-sizing: border-box !important; /* Button responsive */
        white-space: normal !important; /* Button text wrapping */
        word-wrap: break-word !important; /* Button text wrapping */
    }

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

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

    .page-privacy-policy__subsection-title {
        font-size: 1.5em;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Video responsiveness (if any) - not present in this page, but good to include general rule */
    .page-privacy-policy video,
    .page-privacy-policy__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure containers for images/videos/buttons are responsive */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container,
    .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-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-privacy-policy__floating-buttons {
        flex-direction: row; /* Stack horizontally on mobile */
        width: calc(100% - 40px); /* Adjust width for padding */
        left: 20px;
        right: 20px;
        bottom: 15px;
        gap: 8px;
        justify-content: center;
    }

    .page-privacy-policy__floating-btn {
        flex: 1; /* Distribute space evenly */
        font-size: 0.9em;
        padding: 10px 15px;
        max-width: unset; /* Remove max-width for flex item */
    }
}