/* style/gdpr.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --bg-color: #08160F;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-gdpr {
    background-color: var(--bg-color);
    color: var(--text-main-color);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 40px; /* Space below content */
    overflow: hidden;
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* Ensure content above is clickable */
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.2; /* Slightly dim the background image */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 100px 20px 0; /* padding-top for visual spacing, not header offset */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* Take full height if image is background */
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-gdpr__description {
    font-size: 1.15rem;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 700px;
}

.page-gdpr__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__cta-button--secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.page-gdpr__cta-button--secondary:hover {
    background: rgba(17, 168, 78, 0.1);
    color: var(--glow-color);
    box-shadow: 0 0 10px var(--glow-color);
}

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

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

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

.page-gdpr__section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
}

.page-gdpr__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gold-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-gdpr__sub-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

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

.page-gdpr__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.page-gdpr__image-text-block-image {
    flex: 1 1 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block; /* Ensures proper spacing and behavior */
}

.page-gdpr__image-text-block-content {
    flex: 2 1 500px;
}

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

.page-gdpr__grid-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-gdpr__grid-item:hover {
    transform: translateY(-5px);
}

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

.page-gdpr__section-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

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

.page-gdpr__list-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-gdpr__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

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

.page-gdpr__bullet-list {
    list-style-type: disc;
    padding-left: 25px;
    color: var(--text-secondary-color);
}

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

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

.page-gdpr__faq-list {
    margin-top: 40px;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    background-color: rgba(17, 168, 78, 0.1);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(17, 168, 78, 0.2);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    border-bottom: 1px solid var(--border-color);
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    padding: 20px 25px;
    color: var(--text-secondary-color);
    font-size: 1.05rem;
}

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

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

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

.page-gdpr__cta-final-section {
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.page-gdpr__cta-final-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.page-gdpr__cta-final-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding: 80px 20px 0;
    }

    .page-gdpr__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

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

    .page-gdpr__image-text-block {
        flex-direction: column;
        text-align: center;
    }

    .page-gdpr__image-text-block-image {
        flex: none;
        width: 100%;
        max-width: 600px; /* Constrain image on smaller screens */
    }

    .page-gdpr__image-text-block-content {
        flex: none;
        width: 100%;
    }

    .page-gdpr__grid-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-gdpr__card-grid {
        grid-template-columns: 1fr;
    }

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

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

    .page-gdpr__list-title {
        font-size: 1.1rem;
    }

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

/* Mobile specific */
@media (max-width: 768px) {
    .page-gdpr__hero-content {
        padding: 60px 15px 0;
    }

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

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

    .page-gdpr__cta-button,
    .page-gdpr__cta-button--secondary {
        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-title {
        font-size: 1.8rem;
    }

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

    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__image-text-block-image,
    .page-gdpr__section-image,
    .page-gdpr__cta-final-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Adjust if object-fit is used for specific heights */
        box-sizing: border-box !important;
    }

    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-gdpr__faq-question {
        font-size: 1rem;
    }

    .page-gdpr__faq-answer {
        font-size: 0.95rem;
    }

    .page-gdpr__image-text-block {
        gap: 20px;
    }

    .page-gdpr__grid-item,
    .page-gdpr__rights-item,
    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__section-title::after {
        margin-top: 10px;
    }
}