/* style/gdpr.css */

:root {
  --page-gdpr-primary-color: #C61F1F;
  --page-gdpr-secondary-color: #E53030;
  --page-gdpr-card-bg: #2A1212;
  --page-gdpr-background: #140C0C;
  --page-gdpr-text-main: #FFF1E8;
  --page-gdpr-border-color: #6A1E1E;
  --page-gdpr-gold-color: #F3C54D;
  --page-gdpr-deep-red: #7E0D0D;
  --page-gdpr-button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

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

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Adjusted for shared header offset */
  padding-bottom: 40px;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-gdpr__hero-content-wrapper {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 0;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--page-gdpr-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.page-gdpr__description {
  font-size: clamp(1em, 1.5vw, 1.25em);
  color: var(--page-gdpr-text-main);
  margin-bottom: 30px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: var(--page-gdpr-gold-color);
  color: var(--page-gdpr-background);
  transform: translateY(-3px);
}

.page-gdpr__intro-section,
.page-gdpr__data-collection-section,
.page-gdpr__data-sharing-section,
.page-gdpr__contact-cta-section,
.page-gdpr__footer-links {
  padding: 60px 0;
  background-color: var(--page-gdpr-background);
}

.page-gdpr__dark-section {
  background-color: var(--page-gdpr-card-bg);
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--page-gdpr-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-main);
  text-align: justify;
}

.page-gdpr__commitment-section,
.page-gdpr__your-rights-section {
  padding: 60px 0;
  background-color: var(--page-gdpr-background);
}

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

.page-gdpr__card {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-gdpr__card-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-gdpr__card-title,
.page-gdpr__right-title {
  font-size: 1.5em;
  color: var(--page-gdpr-gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__card-text,
.page-gdpr__right-text {
  font-size: 1em;
  color: var(--page-gdpr-text-main);
}

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

.page-gdpr__list-item {
  background-color: var(--page-gdpr-card-bg);
  border-left: 5px solid var(--page-gdpr-gold-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  color: var(--page-gdpr-text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__right-item {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: var(--page-gdpr-background);
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-gdpr-gold-color);
  cursor: pointer;
  background-color: var(--page-gdpr-deep-red);
  border-bottom: 1px solid var(--page-gdpr-border-color);
}

.page-gdpr__faq-question:hover {
  background-color: var(--page-gdpr-primary-color);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

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

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
}

.page-gdpr__faq-answer a {
  color: var(--page-gdpr-gold-color);
  text-decoration: underline;
}

.page-gdpr__contact-cta-section .page-gdpr__btn-primary {
  margin-top: 30px;
}

.page-gdpr__copyright {
  text-align: center;
  font-size: 0.9em;
  color: rgba(255, 241, 232, 0.7);
  padding-top: 20px;
  border-top: 1px solid var(--page-gdpr-border-color);
}

/* General image styling */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-gdpr__section-title {
    font-size: 2em;
  }

  .page-gdpr__card-title,
  .page-gdpr__right-title {
    font-size: 1.3em;
  }

  .page-gdpr__commitment-grid,
  .page-gdpr__rights-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

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

  .page-gdpr__main-title {
    font-size: 2.2em !important;
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1em !important;
    margin-bottom: 20px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__intro-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__data-sharing-section,
  .page-gdpr__contact-cta-section,
  .page-gdpr__footer-links,
  .page-gdpr__commitment-section,
  .page-gdpr__your-rights-section,
  .page-gdpr__faq-section {
    padding: 40px 0;
  }

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

  .page-gdpr__text-block {
    font-size: 0.95em !important;
  }

  .page-gdpr__commitment-grid,
  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card,
  .page-gdpr__right-item {
    padding: 20px;
  }

  .page-gdpr__card-icon {
    width: 80px;
    height: 80px;
  }

  .page-gdpr__card-title,
  .page-gdpr__right-title {
    font-size: 1.2em !important;
  }

  .page-gdpr__list-item {
    font-size: 1em !important;
    padding: 12px 15px;
  }

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

  .page-gdpr__faq-question {
    padding: 15px;
    font-size: 1em !important;
  }

  .page-gdpr__faq-answer {
    padding: 15px;
    font-size: 0.9em !important;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__commitment-section,
  .page-gdpr__your-rights-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__data-sharing-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-cta-section,
  .page-gdpr__footer-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em !important;
  }
  .page-gdpr__section-title {
    font-size: 1.6em !important;
  }
  .page-gdpr__text-block {
    font-size: 0.9em !important;
  }
  .page-gdpr__faq-question {
    font-size: 0.9em !important;
  }
}