/* style/gdpr.css */

/* Custom Colors */
:root {
    --page-gdpr-bg: #08160F;
    --page-gdpr-card-bg: #11271B;
    --page-gdpr-text-main: #F2FFF6;
    --page-gdpr-text-secondary: #A7D9B8;
    --page-gdpr-border: #2E7A4E;
    --page-gdpr-glow: #57E38D;
    --page-gdpr-gold: #F2C14E;
    --page-gdpr-divider: #1E3A2A;
    --page-gdpr-deep-green: #0A4B2C;
    --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

/* Base section styling */
.page-gdpr__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-gdpr__container--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 10px 0 60px 0; /* body already has padding-top from shared.css */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--page-gdpr-deep-green); /* Fallback for image */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for text contrast */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
    text-align: center;
    margin-top: -150px; /* Overlap slightly with the image for visual effect, ensuring text is not on the image */
    color: var(--page-gdpr-text-main);
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 font-size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-main);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-gdpr__description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--page-gdpr-text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-button-gradient);
    color: #ffffff; /* White text for contrast */
    border: none;
}

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

.page-gdpr__btn-secondary {
    background: var(--page-gdpr-card-bg); /* Darker green background */
    color: var(--page-gdpr-text-main); /* Light text for contrast */
    border: 1px solid var(--page-gdpr-border);
}

.page-gdpr__btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    background: var(--page-gdpr-deep-green);
}

/* Section Titles */
.page-gdpr__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--page-gdpr-gold);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-gdpr__section-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--page-gdpr-text-secondary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--page-gdpr-text-main);
}

/* Grid Layout for Principles and Rights */
.page-gdpr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

/* Cards */
.page-gdpr__card {
    background-color: var(--page-gdpr-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border: 1px solid var(--page-gdpr-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

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

.page-gdpr__card p {
    font-size: 1rem;
    color: var(--page-gdpr-text-secondary);
}

/* Image with Text Block */
.page-gdpr__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 80px;
    text-align: left;
    flex-wrap: wrap;
}

.page-gdpr__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__content-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    object-fit: cover;
}

.page-gdpr__text-content {
    flex: 1;
    min-width: 300px;
}

.page-gdpr__text-content-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--page-gdpr-gold);
}

.page-gdpr__text-content p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__text-link {
    color: var(--page-gdpr-glow);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
    color: var(--page-gdpr-gold);
}

/* List styling */
.page-gdpr__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
    text-align: left;
}

.page-gdpr__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--page-gdpr-glow);
    font-size: 1.2em;
    line-height: 1;
}

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

/* Contact Info */
.page-gdpr__contact-info {
    background-color: var(--page-gdpr-card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border: 1px solid var(--page-gdpr-border);
    max-width: 700px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-gdpr__contact-detail {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__contact-button {
    margin-top: 30px;
}

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

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item:hover {
    background-color: var(--page-gdpr-deep-green);
}

.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(--page-gdpr-text-main);
    cursor: pointer;
    list-style: none; /* For details/summary */
}

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: '−'; /* Changed by JS */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--page-gdpr-text-secondary);
    line-height: 1.7;
}

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

/* Final CTA Section */
.page-gdpr__cta-final {
    background: var(--page-gdpr-deep-green);
    padding: 80px 0;
}

.page-gdpr__cta-final .page-gdpr__section-title {
    color: var(--page-gdpr-gold);
    margin-bottom: 25px;
}

.page-gdpr__cta-final .page-gdpr__section-intro {
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 40px;
}

/* General image styling */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-gdpr__hero-content {
        margin-top: -100px;
    }
    .page-gdpr__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-gdpr__section-title {
        font-size: 2rem;
    }
    .page-gdpr__image-text-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-gdpr__image-text-block--reverse {
        flex-direction: column;
    }
    .page-gdpr__content-image {
        max-width: 100%;
    }
    .page-gdpr__text-content {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__hero-content {
        padding: 30px 15px;
        margin-top: -80px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-gdpr__description {
        font-size: 1rem;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-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__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__section-title {
        font-size: 1.8rem;
    }
    .page-gdpr__section-intro {
        font-size: 1rem;
    }
    .page-gdpr__grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__card {
        padding: 25px;
    }
    .page-gdpr__card-title {
        font-size: 1.3rem;
    }
    .page-gdpr__content-area {
        padding: 20px 15px;
    }
    .page-gdpr__list li {
        font-size: 1rem;
    }
    .page-gdpr__contact-info {
        padding: 30px 20px;
    }
    .page-gdpr__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }
    .page-gdpr__cta-final {
        padding: 60px 0;
    }

    /* Mobile image and video specific rules */
    .page-gdpr img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__image-text-block,
    .page-gdpr__contact-info,
    .page-gdpr__faq-list,
    .page-gdpr__cta-final {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body already has --header-offset */
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-content {
        margin-top: -60px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    .page-gdpr__text-content-title {
        font-size: 1.6rem;
    }
}