/* style/gdpr.css */

:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg: #D32F2F;
  --background-main: #B71C1C;
  --text-main: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red: #7A0E0E;
  --default-text-color: #333333; /* Fallback for general content */
  --default-bg-color: #ffffff; /* Fallback for general content */
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--default-text-color); /* Default to dark text for general content */
  background-color: var(--default-bg-color); /* Default to light background */
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  background-color: var(--background-main);
  color: var(--text-main);
  overflow: hidden;
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-gdpr__hero-image {
  width: 100%;
  margin-bottom: 30px;
  order: 1; /* Image first */
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  order: 2; /* Content after image */
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #333333; /* Dark text for gold button */
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-gdpr__section {
  padding: 60px 20px;
  background-color: var(--default-bg-color); /* Default light background */
  color: var(--default-text-color); /* Default dark text */
}

.page-gdpr__section:nth-of-type(even) {
  background-color: #f9f9f9; /* Slightly different background for alternating sections */
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: var(--primary-color);
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--border-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-gdpr__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #444444;
}

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

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

.page-gdpr__list-item {
  background-color: var(--default-bg-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-gdpr__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-item h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-gdpr__list-item p {
  font-size: 1rem;
  color: #555555;
}

.page-gdpr__section--contact .page-gdpr__contact-info {
  background-color: var(--card-bg);
  color: var(--text-main);
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__section--contact .page-gdpr__contact-info p,
.page-gdpr__section--contact .page-gdpr__contact-info address {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--text-main);
}

.page-gdpr__link {
  color: var(--gold-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.page-gdpr__link:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

/* FAQ Styles */
details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
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: var(--deep-red);
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color);
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: var(--deep-red);
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}
details.page-gdpr__faq-item .page-gdpr__faq-answer p {
  margin: 0;
  color: var(--text-main);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__hero-image img {
    border-radius: 4px;
  }
  
  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__section {
    padding: 40px 15px;
  }

  .page-gdpr__main-title {
    font-size: 2rem;
  }

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

  .page-gdpr__text-block,
  .page-gdpr__list-item p,
  .page-gdpr__section--contact .page-gdpr__contact-info p,
  .page-gdpr__section--contact .page-gdpr__contact-info address {
    font-size: 0.95rem;
  }

  .page-gdpr__list-item {
    padding: 20px;
  }

  .page-gdpr__list-item h3 {
    font-size: 1.2rem;
  }

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

  /* FAQ responsive */
  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 15px; }
  details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }
}