/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  color: var(--text-main-color, #F3F8FF); /* Default text color for dark body background */
  background-color: transparent; /* Body handles the main background */
  line-height: 1.6;
  font-family: 'Arial', sans-serif; /* Example font */
}

/* Variables from custom color palette */
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg-color: #10233F;
  --text-main-color: #F3F8FF;
  --text-secondary-color: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy-color: #08162B; /* This is the body background color */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Stack image above text */
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
  background-color: var(--deep-navy-color); /* Ensure section background matches body */
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1600px; /* Adjust max-width as per design */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px; /* Space between image and text content */
}

.page-gdpr__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  color: var(--text-main-color);
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: var(--gold-color); /* Use gold for prominence */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-gdpr__description {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: var(--text-main-color);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none; /* Ensure no default button border */
}

.page-gdpr__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Content Area */
.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-gdpr__dark-section {
  background-color: var(--card-bg-color); /* Dark background for content sections */
  color: var(--text-main-color);
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 40px;
}

.page-gdpr__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--gold-color);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-gdpr__text-block {
  margin-bottom: 30px;
  color: var(--text-secondary-color);
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
}

.page-gdpr__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary-color);
}

.page-gdpr__list li {
  margin-bottom: 10px;
}

.page-gdpr__list strong {
  color: var(--text-main-color);
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-gdpr a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr a:hover {
  color: var(--gold-color);
}

.page-gdpr__cta-button--contact {
  margin-top: 30px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
  .page-gdpr__dark-section {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Image containers responsive */
  .page-gdpr__hero-section,
  .page-gdpr__content-area,
  .page-gdpr__dark-section,
  .page-gdpr__container,
  .page-gdpr__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal overflow */
  }

  /* Hero section adjustments */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-content {
    padding: 0;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-gdpr__list {
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-section {
    padding-bottom: 30px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-gdpr__cta-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }
  .page-gdpr__dark-section {
    padding: 20px;
  }
}