/* style/privacy-policy.css */

/* --- General Styles for .page-privacy-policy --- */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main */
    background: #0D0E12; /* Background */
    padding-bottom: 40px;
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #FFB04D; /* Glow */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

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

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

.page-privacy-policy__image-content {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__text-link {
    color: #FFA53A; /* Auxiliary color */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-privacy-policy__text-link:hover {
    color: #FFB04D; /* Glow */
}

.text-highlight {
    color: #FFA53A; /* Auxiliary color for highlighting keywords */
    font-weight: bold;
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, not --header-offset */
    overflow: hidden;
    text-align: center;
    background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%); /* Card BG to Background */
    padding-bottom: 50px;
}

.page-privacy-policy__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for desktop hero */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Slightly darken image for text contrast, allowed as it's not changing color */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    color: #FFB04D; /* Glow */
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(255, 176, 77, 0.6);
}

.page-privacy-policy__intro-text {
    font-size: 1.3em;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 400px; /* Limit button width */
    width: 100%; /* Ensure it takes full width up to max */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-privacy-policy__cta-button--contact {
    margin-top: 20px;
}

/* --- Section Backgrounds for Contrast --- */
.page-privacy-policy__light-bg {
    background-color: #17191F; /* Card BG */
    color: #FFF3E6; /* Text Main */
    padding: 50px 0;
}

.page-privacy-policy__dark-bg {
    background-color: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
    padding: 50px 0;
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.page-privacy-policy__faq-list {
    margin-top: 30px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Increased padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF3E6; /* Text Main */
  font-weight: 600;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: rgba(255, 165, 58, 0.1); /* Slight hover effect */
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 1.15em; /* Slightly larger font */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6; /* Text Main */
}
.page-privacy-policy__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  flex-shrink: 0;
  margin-left: 20px;
  width: 32px; /* Larger width */
  text-align: center;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 25px 25px;
  background: #0D0E12; /* Background */
  border-radius: 0 0 8px 8px;
  color: #FFF3E6; /* Text Main */
  font-size: 1.05em;
}

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

    .page-privacy-policy__container {
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-privacy-policy__hero-image-wrapper {
        height: 300px; /* Smaller height for mobile hero */
        margin-bottom: 20px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust clamp for mobile */
        margin-bottom: 15px;
    }

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

    .page-privacy-policy__cta-button {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .page-privacy-policy__list {
        padding-left: 20px;
        font-size: 1em;
    }

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

    /* Universal image responsive styles for mobile */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px; /* Add padding to images within container */
    }

    .page-privacy-policy__content-section {
        padding: 30px 0;
    }

    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-qtext {
        font-size: 1em;
    }
    .page-privacy-policy__faq-toggle {
        font-size: 24px;
        margin-left: 15px;
        width: 28px;
    }
    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
        padding: 0 20px 20px;
        font-size: 1em;
    }
}