/* style/gdpr.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #E3B505;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #0a0a0a;
    --background-light: #f1f3f5;
    --card-background-light: #ffffff;
    --card-background-dark: rgba(255, 255, 255, 0.1);
    --border-color: #e0e0e0;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    line-height: 1.6;
    background-color: var(--background-dark); /* Ensure this matches body background */
}

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

/* Fixed navigation bar spacing */
.page-gdpr__hero-section {
    padding-top: 120px; /* Desktop: Adjust based on actual shared header height */
    padding-bottom: 60px;
    text-align: center;
}

.page-gdpr__introduction-section,
.page-gdpr__rights-section,
.page-gdpr__policy-section,
.page-gdpr__news-section,
.page-gdpr__faq-section {
    padding: 60px 0;
}

.page-gdpr__main-title {
    font-size: 3.2em;
    color: var(--text-light);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-gdpr__subtitle {
    font-size: 1.3em;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
    background: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.page-gdpr__introduction-section .page-gdpr__section-title,
.page-gdpr__policy-section .page-gdpr__section-title,
.page-gdpr__faq-section .page-gdpr__section-title {
    color: var(--primary-color);
}

.page-gdpr__rights-section .page-gdpr__section-title,
.page-gdpr__news-section .page-gdpr__section-title {
    color: var(--text-light);
}

.page-gdpr__content-block {
    font-size: 1.1em;
    line-height: 1.8;
}

.page-gdpr__content-block p {
    margin-bottom: 1em;
}

.page-gdpr__content-block a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-gdpr__content-block a:hover {
    color: var(--secondary-color);
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-gdpr__list-item {
    background: var(--card-background-light);
    color: var(--text-dark);
    padding: 20px 30px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--secondary-color);
}

.page-gdpr__list-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-gdpr__list-item p {
    font-size: 1em;
    color: var(--text-dark);
}

.page-gdpr__card {
    background: var(--card-background-light);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 40px;
    color: var(--text-dark);
}

.page-gdpr__card--dark {
    background: var(--primary-color);
    color: var(--text-light);
}

.page-gdpr__card--dark .page-gdpr__section-title {
    color: var(--text-light);
}

.page-gdpr__card--dark .page-gdpr__content-block a {
    color: var(--secondary-color);
}

.page-gdpr__card--dark .page-gdpr__content-block a:hover {
    color: #ffc107;
}

.page-gdpr__news-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-gdpr__news-item {
    background: var(--card-background-light);
    color: var(--text-dark);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-gdpr__news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__news-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.25em;
}

.page-gdpr__news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__news-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-gdpr__news-item p {
    font-size: 0.95em;
    color: var(--text-dark);
}

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

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important;
  padding: 20px 30px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-gdpr__faq-answer p {
    color: var(--text-dark);
}

.page-gdpr__faq-answer a {
    color: var(--primary-color);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-gdpr__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-gdpr__faq-question:active {
  background: #eeeeee;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-gdpr__image--large {
    max-width: 80%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__list-item h3 {
        font-size: 1.2em;
    }
    .page-gdpr__news-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-gdpr__card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding-top: 100px !important; /* Mobile: Adjust based on actual shared header height */
        padding-bottom: 40px;
    }
    .page-gdpr__introduction-section,
    .page-gdpr__rights-section,
    .page-gdpr__policy-section,
    .page-gdpr__news-section,
    .page-gdpr__faq-section {
        padding: 40px 0;
    }
    .page-gdpr__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-gdpr__subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-gdpr__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    .page-gdpr__content-block {
        font-size: 1em;
    }
    .page-gdpr__list-item {
        padding: 15px 20px;
    }
    .page-gdpr__list-item h3 {
        font-size: 1.1em;
    }
    .page-gdpr__news-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__news-item {
        padding: 20px;
    }
    .page-gdpr__news-item h3 {
        font-size: 1.1em;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    
    /* FAQ Mobile Styles */
    .page-gdpr__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-gdpr__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-gdpr__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-gdpr__faq-answer {
        padding: 0 15px;
    }
    
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px !important;
    }

    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__image--large {
        max-width: 100%;
    }
}