/* style/gdpr.css */

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

/* Section styling */
.page-gdpr__section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

/* Ensure small top padding for the first section, body handles main offset */
.page-gdpr__hero-section {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    background: linear-gradient(180deg, #08160F 0%, #11271B 100%);
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__main-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: bold;
    color: #F2C14E;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: #A7D9B8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-gdpr__heading {
    font-size: clamp(24px, 3.5vw, 36px);
    color: #F2C14E;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    line-height: 1.3;
}

.page-gdpr__sub-heading {
    font-size: clamp(20px, 2.5vw, 28px);
    color: #22C768;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__text-block {
    margin-bottom: 20px;
    color: #F2FFF6;
    text-align: justify;
}

.page-gdpr__text-block a {
    color: #57E38D;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__text-block a:hover {
    color: #2AD16F;
}

.page-gdpr__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #F2FFF6;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    color: #F2FFF6;
}

.page-gdpr__list-item strong {
    color: #A7D9B8;
}

.page-gdpr__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Card-like sections for better visual separation */
.page-gdpr__section--intro,
.page-gdpr__section--rights,
.page-gdpr__section--data-collection,
.page-gdpr__section--security,
.page-gdpr__section--sharing,
.page-gdpr__section--cookies,
.page-gdpr__section--contact,
.page-gdpr__section--faq {
    background-color: #11271B;
    border-radius: 12px;
    margin: 40px auto;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid #2E7A4E;
}

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

.page-gdpr__faq-item {
    background-color: #08160F;
    border: 1px solid #2E7A4E;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    color: #F2FFF6;
    background-color: #0A4B2C;
    transition: background-color 0.3s ease;
    user-select: none;
}

.page-gdpr__faq-question:hover {
    background-color: #13994A;
}

.page-gdpr__faq-toggle {
    font-size: 24px;
    line-height: 1;
    color: #F2C14E;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: '−';
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    color: #A7D9B8;
    font-size: 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Style for details tag */
.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

.page-gdpr__faq-item summary {
    list-style: none;
}

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

/* Ensure links in FAQ answers are visible */
.page-gdpr__faq-answer a {
    color: #57E38D;
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-gdpr__section {
        padding: 40px 0;
    }

    .page-gdpr__hero-section {
        padding-top: 10px !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__main-title {
        font-size: 28px;
    }

    .page-gdpr__subtitle {
        font-size: 16px;
    }

    .page-gdpr__heading {
        font-size: 24px;
    }

    .page-gdpr__sub-heading {
        font-size: 20px;
    }

    .page-gdpr__text-block {
        font-size: 15px;
    }

    .page-gdpr__list {
        margin-left: 20px;
    }

    .page-gdpr__list-item {
        font-size: 15px;
    }

    .page-gdpr__cta-button {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__section--intro,
    .page-gdpr__section--rights,
    .page-gdpr__section--data-collection,
    .page-gdpr__section--security,
    .page-gdpr__section--sharing,
    .page-gdpr__section--cookies,
    .page-gdpr__section--contact,
    .page-gdpr__section--faq {
        padding: 25px 15px;
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Image containers responsiveness */
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* FAQ mobile adjustments */
    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px;
        font-size: 14px;
    }
}