/* style/gdpr.css */

:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light: #f8f9fa;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherited from body, but good to reinforce */
  padding-bottom: 60px; /* Space above footer */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--primary-color);
  color: var(--text-light);
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.8;
  color: var(--text-light);
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

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

.page-gdpr__btn-primary:hover {
  background: #e6b800;
  border-color: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-gdpr__intro-section,
.page-gdpr__rights-section,
.page-gdpr__contact-section {
  padding: 80px 20px;
  background-color: var(--bg-light);
  color: var(--text-dark);
  box-sizing: border-box;
}

.page-gdpr__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-gdpr__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
  color: inherit;
}

.page-gdpr__section-note {
  font-size: 16px;
  text-align: center;
  max-width: 900px;
  margin: 40px auto 0 auto;
  font-style: italic;
  color: inherit;
}

.page-gdpr__intro-container,
.page-gdpr__principles-container,
.page-gdpr__rights-container,
.page-gdpr__implementation-container,
.page-gdpr__contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-gdpr__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-gdpr__text-block p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
}

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

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

.page-gdpr__principle-card {
  background: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--text-light);
}

.page-gdpr__principle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-gdpr__principle-card p {
  font-size: 16px;
  line-height: 1.7;
}

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

.page-gdpr__right-item {
  background: var(--card-bg-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--text-dark);
}

.page-gdpr__right-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr__right-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px auto;
  display: block;
  object-fit: contain;
}

.page-gdpr__item-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-gdpr__right-item p {
  font-size: 16px;
  line-height: 1.7;
}

.page-gdpr__implementation-section {
  padding: 80px 20px;
  box-sizing: border-box;
}

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

.page-gdpr__implementation-item {
  background: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--text-light);
}

.page-gdpr__implementation-item .page-gdpr__item-title {
  color: var(--secondary-color);
}

.page-gdpr__implementation-item p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-gdpr__text-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
  color: #e6b800;
  text-decoration: underline;
}

.page-gdpr__bottom-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.page-gdpr__contact-section {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--bg-light);
  color: var(--text-dark);
  box-sizing: border-box;
}

.page-gdpr__contact-info {
  margin-top: 40px;
  font-size: 18px;
}

.page-gdpr__contact-info p {
  margin-bottom: 15px;
}

.page-gdpr__contact-button {
  margin-top: 30px;
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-gdpr__contact-button:hover {
  background: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-gdpr__closing-statement {
  margin-top: 50px;
  font-size: 17px;
  font-style: italic;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 42px;
  }
  .page-gdpr__section-title {
    font-size: 34px;
  }
  .page-gdpr__hero-description,
  .page-gdpr__section-description,
  .page-gdpr__contact-info p {
    font-size: 17px;
  }
  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding: 60px 15px;
  }
  .page-gdpr__hero-container,
  .page-gdpr__intro-container,
  .page-gdpr__principles-container,
  .page-gdpr__rights-container,
  .page-gdpr__implementation-container,
  .page-gdpr__contact-container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-gdpr__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-gdpr__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-gdpr__cta-button {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__section-title {
    font-size: 28px;
  }
  .page-gdpr__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-gdpr__intro-section,
  .page-gdpr__rights-section,
  .page-gdpr__implementation-section,
  .page-gdpr__contact-section {
    padding: 40px 0;
  }
  .page-gdpr__principle-card,
  .page-gdpr__right-item,
  .page-gdpr__implementation-item {
    padding: 25px;
  }
  .page-gdpr__card-title,
  .page-gdpr__item-title {
    font-size: 20px;
  }
  .page-gdpr__text-block p,
  .page-gdpr__principle-card p,
  .page-gdpr__right-item p,
  .page-gdpr__implementation-item p {
    font-size: 15px;
  }
  .page-gdpr__image,
  .page-gdpr__bottom-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__contact-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 28px;
  }
  .page-gdpr__section-title {
    font-size: 24px;
  }
  .page-gdpr__hero-description {
    font-size: 15px;
  }
  .page-gdpr__cta-button {
    font-size: 15px;
  }
  .page-gdpr__card-title,
  .page-gdpr__item-title {
    font-size: 18px;
  }
  .page-gdpr__right-icon {
    width: 80px;
    height: 80px;
  }
}