/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    padding-bottom: 50px; /* Ensure space above footer */
}

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

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

.page-gdpr__hero-image-wrapper {
    width: 100%;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr__intro-text {
    font-size: 1.15em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width for responsive buttons */
    max-width: 600px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
}

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid #1E3A2A; /* Divider */
}

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

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

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #F2FFF6; /* Text Main */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__text-block {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

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

/* Card Styles */
.page-gdpr__card {
    background: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

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

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

.page-gdpr__dark-bg {
    background: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__light-bg {
    background: #0A4B2C; /* Deep Green, still dark but lighter than background */
    color: #F2FFF6; /* Text Main */
}

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

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

.page-gdpr__list-item {
    background: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 10px;
    color: #A7D9B8; /* Text Secondary */
    display: flex;
    align-items: flex-start;
}

.page-gdpr__list-item strong {
    color: #F2FFF6; /* Text Main */
    margin-right: 8px;
}

/* Button Styles */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding/border included in width */
    max-width: 100%; /* Ensure responsive on mobile */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6; /* Text Main */
    border: none;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: #2AD16F; /* Lighter green from gradient for contrast */
    border: 2px solid #2AD16F;
}

.page-gdpr__btn-secondary:hover {
    background: #2AD16F;
    color: #08160F; /* Background color for text on hover */
    box-shadow: 0 0 15px rgba(42, 209, 111, 0.5); /* Lighter glow */
}

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

.page-gdpr__contact-item {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 10px;
}

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

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

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

.page-gdpr__faq-item {
    background: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    font-weight: bold;
    background: #0A4B2C; /* Deep Green for question background */
}

.page-gdpr__faq-question:hover {
    background: #13994A; /* Slightly darker green on hover */
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to '-' */
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }

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

    .page-gdpr__sub-title {
        font-size: 1.5em;
    }

    .page-gdpr__commitment-grid,
    .page-gdpr__rights-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@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 handles header offset */
    }

    .page-gdpr__hero-content {
        padding: 0 15px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        text-align: center;
    }

    .page-gdpr__intro-text {
        font-size: 1em;
        text-align: center;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to button container */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

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

    .page-gdpr__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-gdpr__sub-title {
        font-size: 1.3em;
    }

    .page-gdpr__text-block {
        font-size: 0.95em;
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__content-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__card-title {
        font-size: 1.3em;
    }

    .page-gdpr__card-text {
        font-size: 0.9em;
    }

    .page-gdpr__commitment-grid,
    .page-gdpr__rights-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .page-gdpr__list-item {
        padding: 12px 15px;
        font-size: 0.9em;
    }

    .page-gdpr__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-gdpr__faq-answer {
        padding: 0 15px 15px;
        font-size: 0.95em;
    }
}