/* style/privacy-policy.css */

/* --- Base Styles --- */
.page-privacy-policy {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #f8f8f8; /* Light background for the page */
}

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

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #FFF8DC, #FFD700); /* Goldish gradient */
    color: #333333;
    text-align: center;
    overflow: hidden; /* Ensure no overflow for responsive images */
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

.page-privacy-policy__main-title {
    font-size: 3.2em;
    font-weight: bold;
    color: #8B0000; /* Deep red for strong contrast */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-privacy-policy__intro-text {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555555;
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 40px auto 0; /* Add margin for spacing */
}

/* --- Content Sections --- */
.page-privacy-policy__content-section {
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.page-privacy-policy__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #8B0000; /* Deep red for main titles */
    margin-bottom: 30px;
    text-align: center;
}

.page-privacy-policy__sub-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #FFD700; /* Gold for sub-titles */
    margin-top: 40px;
    margin-bottom: 15px;
    border-left: 5px solid #8B0000; /* Accent border */
    padding-left: 15px;
}

.page-privacy-policy p {
    margin-bottom: 1em;
    color: #333333;
}

.page-privacy-policy ul {
    list-style: disc inside;
    margin-bottom: 1em;
    padding-left: 20px;
    color: #333333;
}

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

.page-privacy-policy strong {
    color: #8B0000; /* Highlight important terms */
}

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

/* Dark Background Sections */
.page-privacy-policy__dark-bg {
    background-color: #8B0000; /* Deep red background */
    color: #ffffff; /* White text for contrast */
}

.page-privacy-policy__dark-bg .page-privacy-policy__section-title,
.page-privacy-policy__dark-bg .page-privacy-policy__main-title {
    color: #FFD700; /* Gold titles on dark background */
}

.page-privacy-policy__dark-bg .page-privacy-policy__sub-title {
    color: #ffffff; /* White subtitles on dark background */
    border-left-color: #FFD700; /* Gold accent border */
}

.page-privacy-policy__dark-bg p,
.page-privacy-policy__dark-bg ul,
.page-privacy-policy__dark-bg li {
    color: #f0f0f0; /* Light grey text on dark background */
}

.page-privacy-policy__dark-bg strong {
    color: #FFD700; /* Gold for strong text on dark background */
}

.page-privacy-policy__contact-link {
    color: #FFD700; /* Gold for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
    color: #ffd700; /* Slightly lighter gold on hover */
}


/* --- CTA Section --- */
.page-privacy-policy__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #8B0000; /* Deep red background */
    color: #ffffff;
}

.page-privacy-policy__cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-privacy-policy__cta-title {
    font-size: 2.8em;
    font-weight: bold;
    color: #FFD700; /* Gold title */
    margin-bottom: 20px;
}

.page-privacy-policy__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFD700; /* Gold button */
    color: #8B0000; /* Deep red text */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    margin: 0 10px 20px; /* Spacing between buttons and bottom margin */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
}

.page-privacy-policy__cta-button:hover {
    background: #e6c200; /* Darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-button--secondary {
    background: #ffffff; /* White background */
    color: #8B0000; /* Deep red text */
    border: 2px solid #FFD700; /* Gold border */
}

.page-privacy-policy__cta-button--secondary:hover {
    background: #f0f0f0;
    color: #8B0000;
    border-color: #e6c200;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    /* Ensure no horizontal scroll for the entire page */
    .page-privacy-policy {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .page-privacy-policy__hero-section {
        padding: 60px 0 40px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .page-privacy-policy__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

    .page-privacy-policy__content-section {
        padding: 40px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.3em;
    }

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

    /* CTA Section Mobile */
    .page-privacy-policy__cta-section {
        padding: 50px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-privacy-policy__cta-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__cta-description {
        font-size: 1em;
    }
    .page-privacy-policy__cta-button {
        display: block; /* Stack buttons vertically */
        width: calc(100% - 30px) !important; /* Full width with padding */
        margin: 0 auto 15px !important; /* Center and add spacing */
        font-size: 1em;
        padding: 12px 25px;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.2em;
    }
    .page-privacy-policy__cta-title {
        font-size: 1.5em;
    }
}