/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background, so light text */
    background-color: transparent; /* Inherit from body or shared.css */
}

.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;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 600px;
    padding: 80px 20px;
    background-color: #017439;
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    display: block;
}

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

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-gdpr__hero-link {
    color: #FFFF00; /* Yellow for specific link */
    text-decoration: underline;
}

.page-gdpr__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Section Styles */
.page-gdpr__content-section {
    padding: 60px 0;
    background-color: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-gdpr__content-section:nth-of-type(even) {
    background-color: #222222;
}

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

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-gdpr__paragraph--centered {
    text-align: center;
}

/* Links within content */
.page-gdpr__paragraph a,
.page-gdpr__list-item a,
.page-gdpr__faq-answer a {
    color: #017439;
    text-decoration: none;
}

.page-gdpr__paragraph a:hover,
.page-gdpr__list-item a:hover,
.page-gdpr__faq-answer a:hover {
    text-decoration: underline;
}

/* Lists */
.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

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

/* Images */
.page-gdpr__image-full-width {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary,
.page-gdpr__btn-play {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
    background-color: #C30808; /* Custom color for Login/Register */
    color: #FFFF00; /* Custom font color */
    border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* Card layout for rights section */
.page-gdpr__list--grid {
    list-style: none;
    margin-left: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #e0e0e0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.page-gdpr__card-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card-text {
    font-size: 1em;
    line-height: 1.5;
    flex-grow: 1;
}

/* Video Section */
.page-gdpr__video-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.page-gdpr__video {
    width: 100%;
    height: auto;
    display: block;
}

.page-gdpr__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-gdpr__video-wrapper:hover .page-gdpr__video-overlay {
    opacity: 1;
}

.page-gdpr__btn-play {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
    padding: 18px 35px;
    font-size: 1.1em;
}

.page-gdpr__btn-play:hover {
    background-color: #a30606;
    border-color: #a30606;
}

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

.page-gdpr__contact-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.page-gdpr__contact-item a {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
}

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

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: #017439;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
}

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

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

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

.page-gdpr__faq-answer {
    padding: 20px 25px;
    font-size: 1.1em;
    color: #e0e0e0;
    background-color: rgba(255, 255, 255, 0.05);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__list--grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* General mobile adjustments */
    .page-gdpr__hero-section {
        min-height: 500px;
        padding: 60px 20px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

    .page-gdpr__hero-description {
        font-size: 1em;
    }

    .page-gdpr__hero-cta {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr__btn-play,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        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__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;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-gdpr__content-section {
        padding: 40px 0;
    }

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

    .page-gdpr__paragraph,
    .page-gdpr__list-item {
        font-size: 0.95em;
    }

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

    .page-gdpr__list--grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .page-gdpr__card {
        padding: 25px;
    }

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

    /* Images and Videos responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* FAQ */
    .page-gdpr__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-gdpr__faq-answer {
        padding: 15px 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-gdpr__hero-cta {
        max-width: 90%;
    }
}