/* style/gdpr.css */

/* Root variables */
:root {
  --primary-color: #1A237E; /* Deep Blue */
  --secondary-color: #FFD700; /* Gold */
  --accent-color: #E53935; /* Red */
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --bg-color-body: #0d0d0d; /* From shared.css */
  --card-bg-dark: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark body bg */
  --card-bg-light: #ffffff;
  --border-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Body background is dark, so text should be light */
  background-color: var(--bg-color-body);
  padding-top: 120px; /* Adjust based on actual header height */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, #0F164F 100%);
  color: var(--text-color-dark-bg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

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

.page-gdpr__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

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

.page-gdpr__btn-primary:hover {
  background: #FFC107; /* Slightly darker gold */
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-gdpr__principles-section,
.page-gdpr__security-section,
.page-gdpr__conclusion-section {
  padding: 60px 0;
  background-color: var(--bg-color-body);
  color: var(--text-color-dark-bg);
}

.page-gdpr__dark-section {
  background-color: #1A237E; /* Primary color as dark background */
  color: var(--text-color-dark-bg);
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 25px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  opacity: 0.85;
}

/* Grid Layout for Principles */
.page-gdpr__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-gdpr__card {
  background: var(--card-bg-dark); /* Using transparent white for dark body bg */
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-dark-bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

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

.page-gdpr__card-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-gdpr__card p {
  font-size: 1em;
  opacity: 0.9;
}

/* Rights Section */
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-gdpr__rights-list li {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid var(--secondary-color);
  margin-bottom: 20px;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}

.page-gdpr__rights-list li:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-gdpr__rights-list p {
  font-size: 1em;
  opacity: 0.9;
}

.page-gdpr__cta-buttons--center {
  margin-top: 40px;
}

/* Security Section */
.page-gdpr__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__feature-item {
  background: var(--card-bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__feature-icon {
  width: 250px; /* Adjusted to meet min size requirement */
  height: 180px; /* Adjusted to meet min size requirement */
  margin: 0 auto 20px; /* Center the image */
  object-fit: contain;
  filter: drop-shadow(0 0 5px var(--secondary-color));
  max-width: 100%; /* Ensure responsiveness */
  display: block; /* Ensure block level for centering */
}

.page-gdpr__feature-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-gdpr__feature-item p {
  font-size: 1em;
  opacity: 0.85;
}

/* Contact Section */
.page-gdpr__contact-section {
  text-align: center;
}

.page-gdpr__contact-info {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  margin: 40px auto 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.page-gdpr__contact-info p {
  font-size: 1.1em;
  margin-bottom: 10px;
}

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

.page-gdpr__contact-link:hover {
  color: #FFC107;
  text-decoration: underline;
}

/* Conclusion Section */
.page-gdpr__conclusion-section {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2.2em;
  }
  .page-gdpr__grid,
  .page-gdpr__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    padding-top: 100px !important; /* Mobile header height adjustment */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__hero-section {
    padding: 60px 0;
  }
  .page-gdpr__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-gdpr__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-gdpr__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 25px;
    font-size: 1em;
    box-sizing: border-box !important;
  }
  .page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-gdpr__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-gdpr__principles-section,
  .page-gdpr__security-section,
  .page-gdpr__conclusion-section,
  .page-gdpr__dark-section {
    padding: 40px 0;
  }
  .page-gdpr__card {
    padding: 25px;
  }
  .page-gdpr__card-title {
    font-size: 1.4em;
  }
  .page-gdpr__rights-list li {
    padding: 20px 25px;
  }
  .page-gdpr__list-title {
    font-size: 1.2em;
  }
  .page-gdpr__feature-icon {
    width: 200px !important;
    height: 150px !important;
    margin: 0 auto 20px !important;
  }
  .page-gdpr__feature-title {
    font-size: 1.3em;
  }
  .page-gdpr__contact-info {
    padding: 25px;
  }
  .page-gdpr__contact-info p {
    font-size: 1em;
  }

  /* Image responsive */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__contact-section,
  .page-gdpr__conclusion-section,
  .page-gdpr__grid,
  .page-gdpr__features-grid,
  .page-gdpr__feature-item,
  .page-gdpr__contact-info,
  .page-gdpr__rights-list li {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__hero-section .page-gdpr__container,
  .page-gdpr__principles-section .page-gdpr__container,
  .page-gdpr__security-section .page-gdpr__container,
  .page-gdpr__contact-section .page-gdpr__container,
  .page-gdpr__conclusion-section .page-gdpr__container,
  .page-gdpr__rights-section .page-gdpr__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-gdpr__card-title {
    font-size: 1.2em;
  }
  .page-gdpr__list-title {
    font-size: 1.1em;
  }
}