/* Variables for colors */
:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --body-bg: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
    --dark-text: #333333;
    --light-text: #ffffff;
}

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark body background */
    background-color: var(--body-bg); /* Ensuring consistency with body-bg from shared */
    padding-bottom: 40px;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 40px;
    color: var(--light-text);
    text-align: center;
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px; /* Fixed height for desktop */
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area */
    display: block;
}

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

.page-gdpr__main-title {
    font-size: 3.2em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container takes full width */
    box-sizing: border-box;
    overflow: hidden;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button takes full width if needed */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: var(--light-text);
    border: none;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-gdpr__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 40px 0;
    margin-bottom: 30px;
    background-color: var(--card-bg); /* Card background color */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

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

.page-gdpr__paragraph {
    font-size: 1.1em;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.8;
}

.page-gdpr__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-gdpr__list-item {
    font-size: 1.05em;
    margin-bottom: 10px;
    color: var(--text-main);
}

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

.page-gdpr__image-inline {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-gdpr__paragraph a,
.page-gdpr__list-item a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__paragraph a:hover,
.page-gdpr__list-item a:hover {
    color: var(--secondary-color);
}


/* FAQ Section */
.page-gdpr__faq-section {
    padding: 40px 0;
    margin-bottom: 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: #1e2025; /* Slightly lighter than card-bg for contrast */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: #2a2d34; /* Darker hover */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--secondary-color);
}
.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 20px;
  background: #17191f; /* Same as card-bg */
  border-radius: 0 0 8px 8px;
  color: var(--text-main);
}
.page-gdpr__faq-answer p {
    margin: 0;
    padding-top: 10px;
    font-size: 1em;
}

/* CTA Section at the bottom */
.page-gdpr__cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--deep-orange) 100%);
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    color: var(--light-text);
}

.page-gdpr__cta-title {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--light-text);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__btn-large {
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 10px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Specific button gradient */
    color: var(--light-text);
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-large:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__description {
        font-size: 1.1em;
    }
    .page-gdpr__hero-image-wrapper {
        height: 400px;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.6em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__list-item {
        font-size: 1em;
    }
    .page-gdpr__cta-title {
        font-size: 2.4em;
    }
    .page-gdpr__cta-description {
        font-size: 1.2em;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-gdpr__btn-large {
        padding: 15px 35px;
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    /* Banner __hero-section */
    .page-gdpr__hero-section {
        padding-top: 10px; /* Small top padding, body handles header offset */
        margin-bottom: 30px;
    }
    .page-gdpr__hero-image-wrapper {
        height: 250px; /* Adjusted height for mobile */
        object-fit: contain; /* Ensure image fits */
    }
    .page-gdpr__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover; /* Still cover within the reduced height */
    }
    .page-gdpr__main-title {
        font-size: 2em;
        max-width: 100%;
    }
    .page-gdpr__description {
        font-size: 1em;
        max-width: 100%;
    }
}