/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main for dark background */
    background-color: #08160F; /* Background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #08160F; /* Background */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-gdpr__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px;
    border-radius: 8px;
}

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__dark-section {
    background-color: #11271B; /* Card BG, darker for contrast */
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__section-description,
.page-gdpr__text-block {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #A7D9B8; /* Text Secondary */
}

.page-gdpr__text-block {
    text-align: left;
    color: #F2FFF6; /* Text Main */
}

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

/* Card Styling */
.page-gdpr__card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__card p {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
}

/* Rights List */
.page-gdpr__rights-list,
.page-gdpr__security-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 900px;
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__rights-list li,
.page-gdpr__security-list li {
    background-color: #0A4B2C; /* Deep Green for list items */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid #2AD16F; /* Accent color */
    font-size: 1rem;
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__rights-list li strong,
.page-gdpr__security-list li strong {
    color: #F2C14E; /* Gold */
}

/* Policy Links */
.page-gdpr__policy-links {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 900px;
    text-align: center;
}

.page-gdpr__policy-links li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__policy-links a {
    color: #57E38D; /* Glow for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__policy-links a:hover {
    color: #F2C14E; /* Gold on hover */
}

/* Buttons */
.page-gdpr__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff; /* White text for buttons */
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    background-color: transparent;
    border: 2px solid #2AD16F; /* Accent border */
    color: #2AD16F; /* Accent color for text */
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
}

.page-gdpr__btn-secondary:hover {
    background-color: #2AD16F;
    color: #ffffff;
}

/* Image styles */
.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__image--full-width {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
}

.page-gdpr__image--centered {
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__faq-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    list-style: none; /* Hide default marker */
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-question {
    flex-grow: 1;
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 15px;
    color: #57E38D; /* Glow */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #A7D9B8; /* Text Secondary */
}

.page-gdpr__faq-answer p {
    margin: 0;
    color: #A7D9B8; /* Text Secondary */
}

/* Links */
.page-gdpr a {
    color: #57E38D; /* Glow */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr a:hover {
    color: #F2C14E; /* Gold on hover */
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-gdpr__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
        padding-bottom: 40px;
    }

    .page-gdpr__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        max-width: 100%;
        padding: 0 15px;
    }

    .page-gdpr__hero-description {
        font-size: 1rem;
        padding: 0 15px;
    }

    .page-gdpr__section {
        padding: 40px 0;
    }

    .page-gdpr__section-title {
        font-size: 1.8rem;
        padding: 0 15px;
    }
    
    .page-gdpr__section-description,
    .page-gdpr__text-block {
        font-size: 0.95rem;
        padding: 0 15px;
        text-align: left; /* Align text left for better readability on mobile */
    }

    .page-gdpr__content-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .page-gdpr__card {
        padding: 25px;
    }

    .page-gdpr__rights-list,
    .page-gdpr__security-list,
    .page-gdpr__policy-links {
        padding: 0 15px;
    }

    .page-gdpr__rights-list li,
    .page-gdpr__security-list li {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    /* Mobile Image Responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__faq-section,
    .page-gdpr__faq-list,
    .page-gdpr__btn-container,
    .page-gdpr__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile Button Responsive */
    .page-gdpr__btn-primary,
    .page-gdpr__btn-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 !important;
        padding-right: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
    }
    
    .page-gdpr__hero-content .page-gdpr__btn-primary {
        max-width: 80% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .page-gdpr__btn-container {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }

    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-gdpr__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.85rem;
    }
}