/* style/privacy-policy.css */

/* Base styles for the page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color, #FFF5E1); /* Default light text for potentially dark body background */
    background-color: var(--background-color-default, #B71C1C); /* Using the specified background color */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as body handles header offset */
    padding-bottom: 40px; /* Add bottom padding */
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff; /* Ensure hero text is white */
    background: #C91F17; /* Primary color as fallback */
}

.page-privacy-policy__hero-wrapper {
    display: flex;
    flex-direction: column; /* Stack image and content */
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Max width for the wrapper */
}

.page-privacy-policy__hero-image-container {
    width: 100%;
    max-height: 500px; /* Limit height to prevent image from being too large */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Space between image and content */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-privacy-policy__hero-content {
    padding: 20px; /* Adjusted padding */
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.4); /* Slightly dark overlay for readability */
    border-radius: 8px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFD86A; /* Gold color for main title */
}

.page-privacy-policy__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF5E1; /* Main text color */
}

/* CTA Buttons */
.page-privacy-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 600px; /* Limit width for button group */
    margin: 0 auto;
}

.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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #7A0E0E; /* Deep Red for contrast */
    border: none;
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-privacy-policy__btn-secondary {
    background: #7A0E0E; /* Deep Red */
    color: #FFD86A; /* Gold for contrast */
    border: 2px solid #F4D34D; /* Gold border */
}

.page-privacy-policy__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background-color-default, #B71C1C); /* Background for the content area */
    color: var(--text-main-color, #FFF5E1); /* Main text color */
}

.page-privacy-policy__dark-section {
    background-color: #7A0E0E; /* Deep Red for a section, ensuring contrast for text */
    color: #FFF5E1; /* Light text for dark background */
    padding: 40px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    font-weight: 600;
    color: #FFD86A; /* Gold for section titles */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    font-weight: 500;
    color: #F4D34D; /* Gold for sub titles */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__text-block {
    margin-bottom: 20px;
    font-size: 1.05em;
    line-height: 1.8;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-privacy-policy__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
    line-height: 1.6;
}

/* Image with text block */
.page-privacy-policy__image-text-block {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-privacy-policy__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-privacy-policy__feature-image,
.page-privacy-policy__service-image {
    width: 45%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

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

/* General image styling for content area */
.page-privacy-policy img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }

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

    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }

    .page-privacy-policy__image-text-block {
        flex-direction: column;
        align-items: center;
    }

    .page-privacy-policy__image-text-block--reverse {
        flex-direction: column; /* Also stack in reverse on smaller screens */
    }

    .page-privacy-policy__feature-image,
    .page-privacy-policy__service-image {
        width: 80%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px !important; /* Adjust bottom padding for mobile */
    }

    .page-privacy-policy__hero-content {
        padding: 20px 15px !important; /* Adjusted padding for mobile */
    }

    .page-privacy-policy__hero-image-container {
        margin-bottom: 15px; /* Space between image and content on mobile */
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 7vw, 2.5em) !important;
        margin-bottom: 15px;
    }

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

    /* CTA Buttons */
    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        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: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* Content Area */
    .page-privacy-policy__content-area {
        padding: 20px 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .page-privacy-policy__dark-section {
        padding: 30px 15px;
    }

    .page-privacy-policy__container {
        padding: 0;
    }

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

    .page-privacy-policy__sub-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__text-block,
    .page-privacy-policy__list li {
        font-size: 0.95em;
        line-height: 1.7;
    }

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

    /* Universal Image Adaptation for content area */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__image-text-block {
        gap: 20px;
    }

    .page-privacy-policy__feature-image,
    .page-privacy-policy__service-image {
        width: 100%;
        max-width: 100%;
    }
    /* Placeholder for products-section or any other content section that might exist on other pages */
    .page-privacy-policy__products-section {
        padding: 20px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    /* Example for a card grid if it existed */
    .page-privacy-policy__cards-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    .page-privacy-policy__card {
        width: 100%; /* Each card takes full width */
    }
}