/* style/gdpr.css */

/* Custom properties from color palette */
:root {
    --page-gdpr-primary-color: #11A84E; /* Main color */
    --page-gdpr-secondary-color: #22C768; /* Auxiliary color */
    --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    --page-gdpr-card-bg: #11271B; /* Card Background */
    --page-gdpr-background: #08160F; /* Main Background */
    --page-gdpr-text-main: #F2FFF6; /* Main Text */
    --page-gdpr-text-secondary: #A7D9B8; /* Secondary Text */
    --page-gdpr-border: #2E7A4E; /* Border */
    --page-gdpr-glow: #57E38D; /* Glow */
    --page-gdpr-gold: #F2C14E; /* Gold */
    --page-gdpr-divider: #1E3A2A; /* Divider */
    --page-gdpr-deep-green: #0A4B2C; /* Deep Green */
}

/* Base styles for the page content, assuming body has --background from shared.css */
.page-gdpr {
    background-color: var(--page-gdpr-background); /* Use the specified background color */
    color: var(--page-gdpr-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden; /* Ensure no overflow from image */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for large screens */
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above any potential background effects */
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: var(--page-gdpr-text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr__description {
    font-size: 1.2em;
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button Styles */
.page-gdpr__cta-button {
    display: inline-block;
    background: var(--page-gdpr-button-gradient);
    color: var(--page-gdpr-text-main); /* White text for dark button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-gdpr__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--page-gdpr-glow);
}

.page-gdpr__cta-button--secondary {
    background: none;
    border: 2px solid var(--page-gdpr-primary-color);
    color: var(--page-gdpr-primary-color);
    box-shadow: none;
}

.page-gdpr__cta-button--secondary:hover {
    background: var(--page-gdpr-primary-color);
    color: var(--page-gdpr-text-main);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--page-gdpr-divider);
}

.page-gdpr__dark-bg {
    background-color: var(--page-gdpr-card-bg); /* Use Card BG for dark sections */
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: var(--page-gdpr-gold); /* Gold color for section titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 25px;
    text-align: justify;
}

/* Rights Grid */
.page-gdpr__rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__right-item {
    background-color: var(--page-gdpr-background); /* Darker background for items */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-gdpr-border);
}

.page-gdpr__right-title {
    font-size: 1.5em;
    color: var(--page-gdpr-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__right-description {
    font-size: 1em;
    color: var(--page-gdpr-text-secondary);
}

/* Data Collection */
.page-gdpr__data-collection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__data-item {
    background-color: var(--page-gdpr-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-gdpr-border);
}

.page-gdpr__data-heading {
    font-size: 1.6em;
    color: var(--page-gdpr-gold);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__data-list {
    list-style: disc inside;
    color: var(--page-gdpr-text-secondary);
    padding-left: 15px;
}

.page-gdpr__data-list li {
    margin-bottom: 10px;
    font-size: 1em;
}

/* Security Features */
.page-gdpr__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__feature-item {
    background-color: var(--page-gdpr-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-gdpr-border);
}

.page-gdpr__feature-title {
    font-size: 1.5em;
    color: var(--page-gdpr-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__feature-description {
    font-size: 1em;
    color: var(--page-gdpr-text-secondary);
}

/* Data Sharing */
.page-gdpr__sharing-info {
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__sharing-heading {
    font-size: 1.6em;
    color: var(--page-gdpr-gold);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__sharing-list {
    list-style: disc inside;
    color: var(--page-gdpr-text-secondary);
    padding-left: 15px;
}

.page-gdpr__sharing-list li {
    margin-bottom: 10px;
    font-size: 1em;
}

/* Cookie Policy */
.page-gdpr__cookie-types {
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__cookie-heading {
    font-size: 1.6em;
    color: var(--page-gdpr-gold);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__cookie-list {
    list-style: disc inside;
    color: var(--page-gdpr-text-secondary);
    padding-left: 15px;
}

.page-gdpr__cookie-list li {
    margin-bottom: 10px;
    font-size: 1em;
}

/* Contact Info */
.page-gdpr__contact-info {
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
    padding-right: 400px; /* Space for image on right */
}

.page-gdpr__contact-heading {
    font-size: 1.6em;
    color: var(--page-gdpr-gold);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__contact-text {
    font-size: 1.1em;
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 15px;
}

.page-gdpr__contact-list {
    list-style: none;
    color: var(--page-gdpr-text-secondary);
    padding-left: 0;
    margin-bottom: 20px;
}

.page-gdpr__contact-list li {
    margin-bottom: 10px;
    font-size: 1em;
    display: flex;
    align-items: center;
}

.page-gdpr__contact-list li::before {
    content: "•"; /* Custom bullet point */
    color: var(--page-gdpr-primary-color);
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.page-gdpr__contact-link {
    color: var(--page-gdpr-secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
    color: var(--page-gdpr-glow);
    text-decoration: underline;
}

.page-gdpr__illustration-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    object-fit: cover;
}

.page-gdpr__illustration-image--right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 350px; /* Fixed width for contact image */
    height: auto;
    object-fit: cover;
    margin: 0;
}


/* Policy Updates */
.page-gdpr__update-info {
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__update-heading {
    font-size: 1.6em;
    color: var(--page-gdpr-gold);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__update-list {
    list-style: disc inside;
    color: var(--page-gdpr-text-secondary);
    padding-left: 15px;
}

.page-gdpr__update-list li {
    margin-bottom: 10px;
    font-size: 1em;
}

/* Images */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Consistent border-radius for images */
}

/* Content area images CSS dimensions lower bound */
.page-gdpr__hero-image {
    min-width: auto; 
    min-height: auto;
}
.page-gdpr__illustration-image {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }

    .page-gdpr__description {
        font-size: 1.1em;
    }

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

    .page-gdpr__contact-info {
        padding-right: 0; /* Remove padding for smaller screens */
    }

    .page-gdpr__illustration-image--right {
        position: relative;
        transform: none;
        top: auto;
        right: auto;
        width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* Ensure small top padding on mobile */
    }

    .page-gdpr__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }

    .page-gdpr__description {
        font-size: 1em;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
    }

    .page-gdpr__cta-button,
    .page-gdpr__cta-button--secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr 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;
        padding-right: 15px;
        margin-bottom: 15px; /* Add space between stacked buttons */
    }

    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__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-gdpr__content-section,
    .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__illustration-image--right {
        width: 100% !important;
    }

    .page-gdpr__rights-grid,
    .page-gdpr__data-collection,
    .page-gdpr__security-features {
        grid-template-columns: 1fr; /* Stack items on mobile */
    }

    .page-gdpr__right-item,
    .page-gdpr__data-item,
    .page-gdpr__feature-item {
        padding: 20px;
    }

    .page-gdpr__right-title,
    .page-gdpr__data-heading,
    .page-gdpr__feature-title,
    .page-gdpr__sharing-heading,
    .page-gdpr__cookie-heading,
    .page-gdpr__contact-heading,
    .page-gdpr__update-heading {
        font-size: 1.3em;
    }
    
    .page-gdpr p,
    .page-gdpr li,
    .page-gdpr__description,
    .page-gdpr__text-block,
    .page-gdpr__right-description,
    .page-gdpr__feature-description,
    .page-gdpr__contact-text {
        font-size: 15px;
    }
}

/* Ensure no CSS filter on images */
.page-gdpr img {
    filter: none !important;
}