/* style/gdpr.css */

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

.page-gdpr {
    background-color: var(--page-gdpr-bg-color);
    color: var(--page-gdpr-text-main); /* Default text color for the page */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
    padding-bottom: 60px; /* Space for footer */
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    overflow: hidden; /* Ensure no overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%; /* Ensure content takes full width up to max-width */
    z-index: 1; /* Ensure content is above any potential background elements */
}

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

.page-gdpr__subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button does not overflow */
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-btn-gradient);
    color: var(--page-gdpr-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4); /* Glow effect */
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--page-gdpr-text-main);
    border: 2px solid var(--page-gdpr-border-color);
}

.page-gdpr__btn-secondary:hover {
    background: rgba(46, 122, 78, 0.2); /* Slightly darker transparent background */
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.page-gdpr__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--page-gdpr-divider-color);
}

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

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

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--page-gdpr-gold-color); /* Use gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-gdpr p {
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.page-gdpr strong {
    color: var(--page-gdpr-text-main);
}

.page-gdpr a {
    color: var(--secondary-color); /* Link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 12px;
    object-fit: cover;
    max-width: 800px; /* Example max-width for content images */
    min-width: 200px;
    min-height: 200px;
}

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

.page-gdpr__card {
    background-color: var(--page-gdpr-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-gdpr-border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-title {
    font-size: 1.5rem;
    color: var(--page-gdpr-gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__card p {
    color: var(--page-gdpr-text-secondary);
    font-size: 1rem;
}

/* Rights List Section */
.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-gdpr__rights-item {
    background-color: var(--page-gdpr-card-bg);
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid var(--page-gdpr-border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-gdpr__rights-title {
    font-size: 1.4rem;
    color: var(--page-gdpr-text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-gdpr__rights-item p {
    color: var(--page-gdpr-text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Feature List for Compliance Section */
.page-gdpr__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__feature-item {
    background-color: var(--page-gdpr-card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--page-gdpr-border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-gdpr__feature-title {
    font-size: 1.5rem;
    color: var(--page-gdpr-gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__feature-item p {
    color: var(--page-gdpr-text-secondary);
    font-size: 1rem;
}

/* Data Processing Info Section */
.page-gdpr__data-processing-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__info-block {
    background-color: var(--page-gdpr-card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--page-gdpr-border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-gdpr__info-title {
    font-size: 1.4rem;
    color: var(--page-gdpr-text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-gdpr__info-block p {
    color: var(--page-gdpr-text-secondary);
    font-size: 1rem;
}

/* Contact Info Section */
.page-gdpr__contact-info {
    background-color: var(--page-gdpr-card-bg);
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
    border: 1px solid var(--page-gdpr-border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-gdpr__contact-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

.page-gdpr__contact-list li {
    font-size: 1.1rem;
    color: var(--page-gdpr-text-main);
    margin-bottom: 10px;
}

.page-gdpr__contact-list li strong {
    color: var(--page-gdpr-gold-color);
}

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

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--page-gdpr-text-main);
    cursor: pointer;
    list-style: none; /* Remove default marker */
    position: relative;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary:hover {
    background-color: rgba(46, 122, 78, 0.1); /* Slight hover effect */
}

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

.page-gdpr__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-gdpr__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--page-gdpr-gold-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: '−'; /* Change to minus when open */
}

.page-gdpr__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: var(--page-gdpr-text-secondary);
    border-top: 1px solid var(--page-gdpr-divider-color);
}

.page-gdpr__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Conclusion Section */
.page-gdpr__section--conclusion {
    text-align: center;
}

.page-gdpr__cta-buttons--bottom {
    margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-gdpr__card-grid,
    .page-gdpr__feature-list,
    .page-gdpr__data-processing-info {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}