/* style/gdpr.css */

/* Variables for consistent styling */
:root {
  --primary-color: #1A2B4C; /* Deep Midnight Blue */
  --secondary-color: #FFD700; /* Bright Gold */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1A2B4C;
  --border-color: #e0e0e0;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --button-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-gdpr {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--bg-light); /* Default body background is light */
  padding-top: 120px; /* Space for fixed header on desktop */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0d1a33 100%); /* Adjusted darker gradient */
  color: var(--text-color-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-section .page-gdpr__container {
  max-width: 900px;
}

.page-gdpr__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-color-light);
  font-weight: 700;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.25em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width for flex-wrap */
  max-width: 100%;
  box-sizing: border-box;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: var(--button-shadow);
  border: none;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  max-width: 100%; /* Ensure button adapts to container */
  box-sizing: border-box;
}

.page-gdpr__cta-button:hover {
  background: darken(var(--secondary-color), 10%);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

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

.page-gdpr__cta-button--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-gdpr__section-title--light {
  color: var(--text-color-light);
}

.page-gdpr__paragraph {
  font-size: 1.05em;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-gdpr__paragraph--light {
  color: rgba(255, 255, 255, 0.85);
}

.page-gdpr__content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 30px;
}

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

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

.page-gdpr__image-wrapper {
  flex: 1;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  display: block; /* Ensure no extra space below image */
  margin: 0 auto; /* Center image */
}

/* Dark Background Section */
.page-gdpr__dark-section {
  background-color: var(--bg-dark);
  color: var(--text-color-light);
}

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

.page-gdpr__card {
  background: var(--text-color-light); /* White background for cards */
  color: var(--text-color-dark); /* Dark text for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in a grid have equal height */
  display: flex;
  flex-direction: column;
}

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

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

.page-gdpr__card-text {
  font-size: 1em;
  line-height: 1.6;
  flex-grow: 1; /* Allow text to fill space */
}

/* List Styling */
.page-gdpr__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
  line-height: 1.6;
}