/* style/gdpr.css */

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

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--bg-dark); /* Page background */
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Consistent padding for content sections */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    background-color: var(--bg-dark);
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* General Content Area */
.page-gdpr__content-area {
    padding: 60px 0;
    background-color: var(--bg-dark); /* Default background */
}

.page-gdpr__dark-section {
    background-color: var(--deep-green); /* Darker section background */
    color: var(--text-main);
}

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: var(--gold-color); /* Gold title on dark sections */
}

.page-gdpr__text-block {
    font-size: 1em;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-gdpr__dark-section .page-gdpr__text-block {
    color: var(--text-secondary);
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
}

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

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 0 15px var(--glow-color);
}

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

.page-gdpr__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main);
}

/* Feature Grid */
.page-gdpr__feature-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__feature-item,
.page-gdpr__right-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

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

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

/* Lists */
.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-gdpr__list-item {
    background-color: var(--card-bg);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    color: var(--text-main);
    font-size: 1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-gdpr__dark-section .page-gdpr__list-item {
    background-color: var(--deep-green);
    border-left-color: var(--gold-color);
}

.page-gdpr__list-item strong {
    color: var(--primary-color);
}

.page-gdpr__dark-section .page-gdpr__list-item strong {
    color: var(--gold-color);
}

/* Images within content */
.page-gdpr__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Contact Info */
.page-gdpr__contact-info {
    text-align: center;
    margin-top: 30px;
}

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

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

.page-gdpr__link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: var(--secondary-color);
}

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

.page-gdpr__faq-item {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    color: var(--text-main);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: var(--card-bg);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    background-color: var(--deep-green);
    color: var(--gold-color);
}

.page-gdpr__faq-question:hover {
    background-color: var(--deep-green);
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: var(--text-secondary);
}

.page-gdpr__faq-answer p {
    margin-bottom: 10px;
}

/* Remove default details arrow */
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-gdpr__faq-item summary {
    list-style: none;
}


/* CTA Section */
.page-gdpr__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: var(--deep-green);
}

.page-gdpr__cta-section .page-gdpr__section-title {
    color: var(--text-main);
    margin-bottom: 20px;
}

.page-gdpr__cta-section .page-gdpr__text-block {
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-section {
        padding: 40px 0;
    }
    .page-gdpr__content-area {
        padding: 40px 0;
    }
    .page-gdpr__feature-grid,
    .page-gdpr__rights-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 30px 0;
        padding-top: 10px !important; /* body handles header offset */
    }
    .page-gdpr__hero-content {
        padding: 0 15px;
    }
    .page-gdpr__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }
    .page-gdpr__description {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6em, 7vw, 2em);
    }
    .page-gdpr__text-block,
    .page-gdpr__feature-description,
    .page-gdpr__right-description,
    .page-gdpr__list-item,
    .page-gdpr__faq-answer p {
        font-size: 0.95em;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__cta-section,
    .page-gdpr__content-area {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Buttons responsiveness */
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 15px 20px; /* Adjust padding for full width buttons */
    }
    .page-gdpr__contact-info .page-gdpr__btn-primary {
        max-width: 250px !important; /* Allow contact button to be smaller if needed */
        margin: 0 auto;
    }
}