/* style/gdpr.css */

/* Base styles for the page-gdpr scope */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
  padding-bottom: 50px; /* Ensure space above footer */
}

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

.page-gdpr__section {
  padding: 40px 0;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-gdpr__dark-section {
  background-color: #2A1212; /* Card BG */
  color: #FFF1E8;
}

.page-gdpr__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #FFF1E8;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-gdpr__section-title .text-gold {
  color: #F3C54D; /* Gold */
}

.page-gdpr__section-title .text-red {
  color: #C61F1F; /* Main color */
}

.page-gdpr__description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #FFF1E8;
}

/* Hero Section */
.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  position: relative;
  background-color: #140C0C;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Adjust as needed */
  overflow: hidden;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image for visual flow */
  background: linear-gradient(0deg, #140C0C 0%, rgba(20, 12, 12, 0.8) 70%, rgba(20, 12, 12, 0) 100%);
  border-radius: 8px;
}

.page-gdpr__main-title {
  font-size: 44px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.page-gdpr__intro-text {
  font-size: 18px;
  color: #FFF1E8;
  margin-bottom: 30px;
}

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

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Custom button color */
  color: #FFF1E8;
  border: none;
  box-shadow: 0 4px 15px rgba(255,176,74,0.4);
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,176,74,0.6);
}

.page-gdpr__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold */
  box-shadow: 0 4px 15px rgba(243,197,77,0.2);
}

.page-gdpr__btn-secondary:hover {
  background: #3A2222;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243,197,77,0.4);
}

.page-gdpr__btn-inline {
  margin-top: 20px;
}

/* Content Grid */
.page-gdpr__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-gdpr__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__text-block {
  flex: 1;
}

.page-gdpr__text-block p {
  margin-bottom: 20px;
  font-size: 17px;
  color: #FFF1E8;
}

.page-gdpr__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__image,
.page-gdpr__image-center img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__image-center {
  text-align: center;
  margin-top: 30px;
}

/* Commitment List */
.page-gdpr__commitment-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__commitment-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-align: center;
}

.page-gdpr__commitment-heading {
  font-size: 22px;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
}

.page-gdpr__commitment-item p {
  font-size: 16px;
  color: #FFF1E8;
}

/* Rights Grid */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-gdpr__right-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.page-gdpr__card-title {
  font-size: 22px;
  color: #C61F1F; /* Main color */
  margin-bottom: 15px;
}

.page-gdpr__right-card p {
  font-size: 16px;
  color: #FFF1E8;
}

/* Contact CTA */
.page-gdpr__contact-cta {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding-bottom: 60px;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 30px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  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: #FFF1E8;
}

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: #3A2222;
}

.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}

.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 25px;
  background: #1F0F0F;
  border-radius: 0 0 10px 10px;
  color: #FFF1E8;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer p {
  margin-bottom: 0;
  font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 38px;
  }
  .page-gdpr__section-title {
    font-size: 28px;
  }
  .page-gdpr__content-grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-gdpr__hero-content {
    margin-top: -80px;
  }
  .page-gdpr__commitment-list, .page-gdpr__rights-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-gdpr__btn-primary, .page-gdpr__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px !important;
  }
  .page-gdpr__section {
    padding: 30px 0 !important;
  }
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
  }
  .page-gdpr__hero-content {
    padding: 30px 15px !important;
    margin-top: -60px !important;
  }
  .page-gdpr__main-title {
    font-size: 30px !important;
    margin-bottom: 15px !important;
  }
  .page-gdpr__intro-text {
    font-size: 16px !important;
    margin-bottom: 20px !important;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .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 !important;
    padding-right: 15px !important;
  }
  .page-gdpr__section-title {
    font-size: 24px !important;
    margin-bottom: 20px !important;
  }
  .page-gdpr__description,
  .page-gdpr__text-block p {
    font-size: 15px !important;
    text-align: left !important;
  }
  .page-gdpr__content-grid {
    gap: 20px !important;
  }
  .page-gdpr__image,
  .page-gdpr__image-center img,
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__image-wrapper,
  .page-gdpr__image-block,
  .page-gdpr__image-center,
  .page-gdpr__commitment-list,
  .page-gdpr__rights-grid,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-gdpr__commitment-list,
  .page-gdpr__rights-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-gdpr__commitment-item,
  .page-gdpr__right-card {
    padding: 20px !important;
  }
  .page-gdpr__commitment-heading,
  .page-gdpr__card-title {
    font-size: 20px !important;
  }
  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px !important;
  }
  .page-gdpr__faq-qtext {
    font-size: 16px !important;
  }
  .page-gdpr__faq-toggle {
    font-size: 24px !important;
    width: 24px !important;
    margin-left: 10px !important;
  }
  details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 15px 15px !important;
  }
}