/* style/privacy-policy.css */
.page-privacy-policy {
    color: var(--text-main, #FFF1E8);
    background-color: var(--bg-color, #140C0C);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

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

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    color: #FFF1E8;
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensures image covers area without distortion */
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-privacy-policy__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    border-radius: 10px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    font-weight: bold;
    color: var(--gold, #F3C54D);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-privacy-policy__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFF1E8;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #FFF1E8;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-privacy-policy__cta-button:hover {
    opacity: 0.9;
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--gold, #F3C54D);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
}

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

.page-privacy-policy__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-privacy-policy__card {
    background-color: var(--card-bg, #2A1212);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main, #FFF1E8);
    border: 1px solid var(--border, #6A1E1E);
}

.page-privacy-policy__card-title {
    font-size: 1.5em;
    color: var(--gold, #F3C54D);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__card-text {
    font-size: 1em;
    color: var(--text-main, #FFF1E8);
}

.page-privacy-policy__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-main, #FFF1E8);
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
}

.page-privacy-policy__list-item strong {
    color: var(--gold, #F3C54D);
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 10px;
    object-fit: cover;
}

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #FFF1E8;
    border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
    opacity: 0.9;
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: var(--gold, #F3C54D);
    border: 2px solid var(--gold, #F3C54D);
}

.page-privacy-policy__btn-secondary:hover {
    background: var(--gold, #F3C54D);
    color: var(--deep-red, #7E0D0D);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-privacy-policy__container {
        padding: 15px;
    }

    .page-privacy-policy__hero-content {
        max-width: 700px;
        padding: 15px;
    }

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

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

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

    .page-privacy-policy__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .page-privacy-policy__container {
        padding: 10px;
    }

    .page-privacy-policy__hero-section {
        padding-bottom: 20px;
    }

    .page-privacy-policy__hero-image {
        object-fit: contain !important; /* Ensure image is not cropped on mobile */
        height: auto !important;
        max-height: none !important;
        aspect-ratio: unset !important;
    }

    .page-privacy-policy__hero-content {
        position: static; /* Allow content to flow naturally below the image */
        transform: none;
        width: 100%;
        padding: 20px 15px;
        background: none; /* Remove background overlay for better readability */
        margin-top: 10px;
    }
    
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-privacy-policy__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-bottom: 10px; /* Add margin between stacked buttons */
    }
    
    .page-privacy-policy__cta-button:last-child,
    .page-privacy-policy__btn-primary:last-child,
    .page-privacy-policy__btn-secondary:last-child {
        margin-bottom: 0;
    }

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

    .page-privacy-policy__card-grid {
        grid-template-columns: 1fr;
    }

    .page-privacy-policy__card {
        padding: 20px;
    }

    .page-privacy-policy__card-title {
        font-size: 1.3em;
    }

    .page-privacy-policy__list {
        margin-left: 10px;
    }

    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
    }

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

    /* Ensure content containers are responsive */
    .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;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
    }
}