/* style/gdpr.css */

/* Custom properties for colors */
:root {
    --page-gdpr-background-color: #08160F;
    --page-gdpr-card-bg: #11271B;
    --page-gdpr-text-main: #F2FFF6;
    --page-gdpr-text-secondary: #A7D9B8;
    --page-gdpr-border-color: #2E7A4E;
    --page-gdpr-glow-color: #57E38D;
    --page-gdpr-gold-color: #F2C14E;
    --page-gdpr-divider-color: #1E3A2A;
    --page-gdpr-deep-green: #0A4B2C;
    --page-gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-gdpr-primary-color: #11A84E; /* Main color */
    --page-gdpr-secondary-color: #22C768; /* Auxiliary color */
}

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

.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;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden; /* Ensure content doesn't spill */
    text-align: center;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height to prevent image from being too tall */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and text */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 20px;
    background: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: -80px; /* Overlap with image slightly for visual appeal, but text is below */
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive H1 font size */
    color: var(--page-gdpr-gold-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-gdpr__hero-description {
    font-size: 1.1rem;
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 30px;
}

/* General Sections */
.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--page-gdpr-gold-color);
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    font-weight: 600;
}

.page-gdpr__sub-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--page-gdpr-text-main);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__introduction-section,
.page-gdpr__data-collection-section,
.page-gdpr__data-usage-section,
.page-gdpr__data-sharing-section,
.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__retention-section,
.page-gdpr__changes-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-gdpr-divider-color);
}

.page-gdpr__introduction-section p,
.page-gdpr__data-collection-section p,
.page-gdpr__data-usage-section p,
.page-gdpr__data-sharing-section p,
.page-gdpr__rights-section p,
.page-gdpr__security-section p,
.page-gdpr__retention-section p,
.page-gdpr__changes-section p,
.page-gdpr__contact-section p,
.page-gdpr__faq-section p {
    color: var(--page-gdpr-text-main);
    margin-bottom: 15px;
    font-size: 1rem;
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    min-height: 200px; /* Minimum size requirement */
}

/* Lists */
.page-gdpr__list,
.page-gdpr__rights-list,
.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-gdpr__list-item,
.page-gdpr__rights-item,
.page-gdpr__contact-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: var(--page-gdpr-text-main);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-item strong {
    color: var(--page-gdpr-gold-color);
}

.page-gdpr__rights-item .page-gdpr__sub-title {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--page-gdpr-gold-color);
}

.page-gdpr__contact-item a {
    color: var(--page-gdpr-gold-color);
    text-decoration: none;
}
.page-gdpr__contact-item a:hover {
    text-decoration: underline;
}

/* Buttons */
.page-gdpr__btn-primary {
    display: inline-block;
    background: var(--page-gdpr-btn-gradient);
    color: var(--page-gdpr-text-main); /* White text on green gradient */
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

.page-gdpr__faq-item summary {
    list-style: none; /* Hide default marker */
}
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--page-gdpr-gold-color);
    background-color: rgba(17, 39, 27, 0.6); /* Slightly darker card BG for question */
    border-bottom: 1px solid var(--page-gdpr-border-color);
}

.page-gdpr__faq-question:hover {
    background-color: rgba(17, 39, 27, 0.8);
}

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

.page-gdpr__faq-answer {
    padding: 20px;
    color: var(--page-gdpr-text-main);
    font-size: 1rem;
}

/* Video Section */
.page-gdpr__video-section {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--page-gdpr-divider-color);
    padding-top: 10px; /* Small top padding for video section */
}

.page-gdpr__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px; /* Max width for video */
    margin: 30px auto;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.page-gdpr__video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum size requirement */
}

.page-gdpr__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.page-gdpr__video-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.page-gdpr__video-description {
    color: var(--page-gdpr-text-secondary);
    max-width: 800px;
    margin: 20px auto 0;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        margin-top: -60px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }

    .page-gdpr__hero-image-wrapper {
        max-height: 400px;
    }

    .page-gdpr__hero-image {
        max-height: 400px;
    }

    .page-gdpr__hero-content {
        margin-top: -40px;
        padding: 15px;
    }

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

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

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

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

    .page-gdpr__introduction-section,
    .page-gdpr__data-collection-section,
    .page-gdpr__data-usage-section,
    .page-gdpr__data-sharing-section,
    .page-gdpr__rights-section,
    .page-gdpr__security-section,
    .page-gdpr__retention-section,
    .page-gdpr__changes-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section,
    .page-gdpr__video-section {
        padding: 40px 0;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure containers with images/videos/buttons are responsive */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__video-wrapper,
    .page-gdpr__hero-image-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-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }

    /* Mobile video responsiveness */
    .page-gdpr video,
    .page-gdpr__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-gdpr__video-section,
    .page-gdpr__video-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;
    }
    
    /* Mobile button responsiveness */
    .page-gdpr__btn-primary,
    .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__button-group {
        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__btn-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

/* Contrast fix if needed */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}