/* style/privacy-policy.css */

/* Global styles for the privacy policy page, ensuring light text on dark body background */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main from custom colors, for dark background #0A0A0A */
    background-color: #0A0A0A; /* Background from custom colors, matching body */
}

/* Section styling */
.page-privacy-policy__section {
    padding: 60px 20px;
    border-bottom: 1px solid #3A2A12; /* Border from custom colors */
}

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

.page-privacy-policy__dark-section {
    background-color: #111111; /* Card BG from custom colors */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px; /* Minimum height for hero */
    overflow: hidden;
    padding-top: 10px; /* Small top padding as per requirement */
    padding-bottom: 60px;
    background-color: #0A0A0A;
}

.page-privacy-policy__hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Slightly dim the background image */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    background: rgba(17, 17, 17, 0.7); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    color: #FFD36B; /* Glow color for prominence */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-privacy-policy__hero-description {
    font-size: 1.2rem;
    color: #FFF6D6;
    margin-bottom: 30px;
}

/* Headings */
.page-privacy-policy__section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: #FFD36B; /* Glow color for section titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-privacy-policy h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #F2C14E; /* Main color for sub-headings */
    margin-bottom: 15px;
    font-weight: bold;
}

/* Text elements */
.page-privacy-policy p {
    margin-bottom: 20px;
    color: #FFF6D6;
}

.page-privacy-policy__text-block {
    font-size: 1.05rem;
}

.page-privacy-policy__text-link {
    color: #FFD36B; /* Glow color for links */
    text-decoration: underline;
}

.page-privacy-policy__text-link:hover {
    color: #F2C14E; /* Main color on hover */
}

/* Lists */
.page-privacy-policy__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #FFF6D6;
}

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

.page-privacy-policy__contact-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-privacy-policy__contact-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #FFF6D6;
}

.page-privacy-policy__contact-list strong {
    color: #F2C14E;
}

/* Buttons */
.page-privacy-policy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.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.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button custom color */
    color: #111111; /* Dark text for light button */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, #F2C14E 0%, #FFD36B 100%);
    color: #0A0A0A;
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: #F2C14E; /* Main color for text */
    border: 2px solid #F2C14E; /* Main color for border */
}

.page-privacy-policy__btn-secondary:hover {
    background: #F2C14E; /* Main color for background */
    color: #111111; /* Dark text for light button */
    border-color: #F2C14E;
}

/* Content Grid for Cards */
.page-privacy-policy__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-privacy-policy__card {
    background-color: #111111; /* Card BG from custom colors */
    border: 1px solid #3A2A12; /* Border from custom colors */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #FFF6D6;
}

.page-privacy-policy__card-title {
    color: #F2C14E; /* Main color for card titles */
    margin-bottom: 15px;
}

.page-privacy-policy__card-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
}

.page-privacy-policy__image-full-width {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin: 30px 0;
}

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

.page-privacy-policy__faq-item {
    background-color: #111111; /* Card BG from custom colors */
    border: 1px solid #3A2A12; /* Border from custom colors */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #111111;
    color: #F2C14E; /* Main color for FAQ questions */
    font-weight: bold;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(242, 193, 78, 0.1);
}

.page-privacy-policy__faq-question h3 {
    margin: 0;
    color: inherit; /* Inherit color from parent for consistency */
    font-size: 1.2rem; /* Ensure consistent font size */
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD36B; /* Glow color for toggle */
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate for '−' effect */
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #0A0A0A; /* Background from custom colors */
    color: #FFF6D6;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-privacy-policy__hero-description {
        font-size: 1.1rem;
    }
    .page-privacy-policy__section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    .page-privacy-policy h3 {
        font-size: clamp(1.3rem, 3vw, 1.8rem);
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__section {
        padding: 40px 15px;
    }
    .page-privacy-policy__hero-section {
        min-height: 400px;
        padding-bottom: 40px;
    }
    .page-privacy-policy__hero-content {
        padding: 15px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-privacy-policy__hero-description {
        font-size: 1rem;
    }
    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-privacy-policy__container {
        padding: 0 10px;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
        box-sizing: border-box !important;
    }
    .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;
    }
    /* Specific overrides for padding on elements within sections to maintain spacing */
    .page-privacy-policy__content-grid {
        padding-left: 0;
        padding-right: 0;
    }
    .page-privacy-policy__card {
        padding: 20px;
    }
    .page-privacy-policy__faq-item {
        margin-left: 0;
        margin-right: 0;
    }
    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    .page-privacy-policy__faq-question h3 {
        font-size: 1.1rem;
    }
    .page-privacy-policy__faq-answer {
        padding: 15px 20px;
    }
    .page-privacy-policy__list {
        margin-left: 15px;
    }
}

/* Ensure content area images meet min-size requirements (excluding specific exceptions) */
.page-privacy-policy__content-area img,
.page-privacy-policy__card-image,
.page-privacy-policy__image-full-width {
    min-width: 200px;
    min-height: 200px;
}

/* No filter on images */
.page-privacy-policy img {
    filter: none !important;
}