/* style/gdpr.css */

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

.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;
    justify-content: center;
    text-align: center;
    min-height: 500px; /* Adjust as needed */
    overflow: hidden;
    padding-top: 10px; /* Small top padding for the first section */
    background-color: #08160F;
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3; /* Slightly dim the background image */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
}

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

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

/* Section Titles */
.page-gdpr__section-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
}

.page-gdpr__subsection-title {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #F2FFF6; /* Text Main */
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Buttons */
.page-gdpr__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

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

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

.page-gdpr__list {
    list-style: disc inside;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-gdpr__list-item-title {
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__list li {
    margin-bottom: 10px;
}

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

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

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

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

.page-gdpr__card--alt-bg {
    background-color: #0A4B2C; /* Deep Green for variety */
    border-color: #57E38D; /* Glow for border */
}

/* Image Styles */
.page-gdpr__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Specific Section Styles */
.page-gdpr__intro-section,
.page-gdpr__data-processing,
.page-gdpr__contact-section,
.page-gdpr__cta-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__data-security,
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: #11271B; /* Card BG, used as dark section background */
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__dark-section {
    background-color: #0A4B2C; /* Deep Green for darker sections */
    color: #F2FFF6;
}

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

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

.page-gdpr__contact-item a {
    color: #2AD16F; /* Bright green for links */
    text-decoration: none;
}

.page-gdpr__contact-item a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    background-color: #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 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #11271B; /* Card BG */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-question:hover {
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 10px;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    background-color: #0A4B2C; /* Deep Green when open */
}

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

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

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

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

    .page-gdpr__section-title {
        font-size: clamp(1.3rem, 7vw, 2rem);
        padding-top: 30px;
    }

    .page-gdpr__subsection-title {
        font-size: clamp(1.1rem, 6vw, 1.5rem);
    }

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

    .page-gdpr__grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

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

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

    /* Image responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-gdpr__hero-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-section {
        min-height: 400px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.2rem, 10vw, 2rem);
    }
    .page-gdpr__description {
        font-size: 0.9rem;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.1rem, 8vw, 1.8rem);
    }
}