/* style/privacy-policy.css */

/* Variables for custom colors */
:root {
    --g666-bg-primary: #08160F; /* Background */
    --g666-card-bg: #11271B; /* Card BG */
    --g666-text-main: #F2FFF6; /* Text Main */
    --g666-text-secondary: #A7D9B8; /* Text Secondary */
    --g666-border: #2E7A4E; /* Border */
    --g666-glow: #57E38D; /* Glow */
    --g666-gold: #F2C14E; /* Gold */
    --g666-divider: #1E3A2A; /* Divider */
    --g666-deep-green: #0A4B2C; /* Deep Green */
    --g666-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */

    /* Inherited from shared for contrast check */
    --background-color: #08160F; /* Assuming this is the body background from shared.css */
}

.page-privacy-policy {
    background-color: var(--g666-bg-primary);
    color: var(--g666-text-main); /* Light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-privacy-policy__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    position: relative;
    overflow: hidden;
    background-color: var(--g666-card-bg); /* Use card bg for hero section background */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and content */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    color: var(--g666-text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-privacy-policy__lead-text {
    font-size: 1.1em;
    color: var(--g666-text-secondary);
    margin-bottom: 40px;
}

.page-privacy-policy__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--g666-divider);
}

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

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

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--g666-gold); /* Using gold for main titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.3em, 2.5vw, 1.8em);
    color: var(--g666-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy__content-block {
    margin-bottom: 30px;
    background-color: var(--g666-card-bg); /* Card BG for content blocks */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy p {
    margin-bottom: 15px;
    color: var(--g666-text-secondary);
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: var(--g666-text-secondary);
}

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

.page-privacy-policy__list-item strong {
    color: var(--g666-text-main);
}

.page-privacy-policy__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

/* Specific layout for sections with image and text */
.page-privacy-policy__data-security-container,
.page-privacy-policy__user-rights-container,
.page-privacy-policy__contact-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-privacy-policy__security-content,
.page-privacy-policy__rights-content,
.page-privacy-policy__contact-content {
    flex: 1;
    min-width: 300px;
}

.page-privacy-policy__security-image,
.page-privacy-policy__rights-image,
.page-privacy-policy__contact-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Links */
.page-privacy-policy a {
    color: var(--g666-glow); /* Use glow color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: var(--g666-gold); /* Gold on hover */
    text-decoration: underline;
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--g666-button-gradient);
    color: #ffffff; /* White text on green button */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-privacy-policy__contact-item {
    margin-bottom: 10px;
    color: var(--g666-text-secondary);
}

.page-privacy-policy__contact-item strong {
    color: var(--g666-text-main);
}

/* Responsive styles */
@media (max-width: 992px) {
    .page-privacy-policy__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-privacy-policy__main-title {
        margin-bottom: 15px;
    }
    .page-privacy-policy__lead-text {
        margin-bottom: 30px;
    }
    .page-privacy-policy__section {
        padding: 40px 15px;
    }
    .page-privacy-policy__section-title {
        margin-bottom: 25px;
    }
    .page-privacy-policy__sub-title {
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-privacy-policy__content-block {
        padding: 20px;
    }
    .page-privacy-policy__data-security-container,
    .page-privacy-policy__user-rights-container,
    .page-privacy-policy__contact-container {
        flex-direction: column;
        gap: 30px;
    }
    .page-privacy-policy__security-image,
    .page-privacy-policy__rights-image,
    .page-privacy-policy__contact-image {
        order: -1; /* Image appears above content on smaller screens */
    }
}

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

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__data-security-container,
    .page-privacy-policy__user-rights-container,
    .page-privacy-policy__contact-container,
    .page-privacy-policy__security-content,
    .page-privacy-policy__rights-content,
    .page-privacy-policy__contact-content,
    .page-privacy-policy__security-image,
    .page-privacy-policy__rights-image,
    .page-privacy-policy__contact-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }

    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile hero */
        padding-bottom: 30px !important;
    }

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

    .page-privacy-policy__section-title {
        font-size: clamp(1.5em, 6vw, 2em); /* Adjust for mobile */
    }

    .page-privacy-policy__sub-title {
        font-size: clamp(1.1em, 5vw, 1.5em); /* Adjust for mobile */
    }

    /* Buttons responsiveness */
    .page-privacy-policy__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }
    
    .page-privacy-policy__cta-buttons {
      display: flex;
      flex-direction: column; /* Mobile vertical stacking */
    }
}