/* style/gdpr.css */

/* Custom colors from requirements */
:root {
  --page-gdpr-primary-color: #11A84E;
  --page-gdpr-secondary-color: #22C768;
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-background: #08160F;
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-border-color: #2E7A4E;
  --page-gdpr-glow-color: #57E38D;
  --page-gdpr-gold-color: #F2C14E;
  --page-gdpr-divider-color: #1E3A2A;
  --page-gdpr-deep-green: #0A4B2C;
}

/* Base styles for the GDPR page */
.page-gdpr {
  background-color: var(--page-gdpr-background);
  color: var(--page-gdpr-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom for content */
}

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

.page-gdpr__section {
  padding: 60px 0;
  text-align: center;
}

.page-gdpr__dark-bg {
  background-color: var(--page-gdpr-background);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__card-bg {
  background-color: var(--page-gdpr-card-bg);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__text-main {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__text-secondary {
  color: var(--page-gdpr-text-secondary);
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure sufficient height */
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.3; /* Subtle overlay for text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--page-gdpr-text-secondary);
}

/* Buttons */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-gdpr__btn-secondary:hover {
  background-color: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-text-main);
  transform: translateY(-2px);
}

/* Section Titles and Paragraphs */
.page-gdpr__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 30px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__paragraph {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: left;
  color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__paragraph a {
  color: var(--page-gdpr-primary-color);
  text-decoration: underline;
}

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

/* Lists */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-gdpr__list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.5;
  position: relative;
  padding-left: 30px;
  color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__list--check li::before {
  content: '✓';
  color: var(--page-gdpr-primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Grid Layouts */
.page-gdpr__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-gdpr__grid-layout--two-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-gdpr__grid-item {
  text-align: center;
}

/* Images */
.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 auto;
}

.page-gdpr__image-rounded {
  border-radius: 15px;
}

.page-gdpr__image-container {
  text-align: center;
}

/* Cards */
.page-gdpr__card {
  background-color: var(--page-gdpr-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-gdpr-border-color);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__card-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--page-gdpr-text-secondary);
}

/* Contact Section Specific */
.page-gdpr__contact-info-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__contact-card .page-gdpr__btn-secondary {
  margin-top: 20px;
}

/* Utilities */
.page-gdpr__mt-30 {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-gdpr__grid-item:first-child {
    order: 2;
  }
  .page-gdpr__grid-item:last-child {
    order: 1;
  }
  .page-gdpr__hero-content {
    padding: 30px 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-gdpr__subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__hero-section {
    min-height: 500px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-gdpr__subtitle {
    font-size: 1rem;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  .page-gdpr__paragraph,
  .page-gdpr__list li,
  .page-gdpr__card-text {
    font-size: 0.95rem;
  }
  .page-gdpr__card-title {
    font-size: 1.3rem;
  }
  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 10px; /* Add margin for stacked buttons */
  }
  .page-gdpr__cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }
  .page-gdpr__image,
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__grid-layout,
  .page-gdpr__contact-info-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-gdpr__contact-info-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-content {
    padding: 20px 10px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .page-gdpr__subtitle {
    font-size: 0.9rem;
  }
  .page-gdpr__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  .page-gdpr__paragraph,
  .page-gdpr__list li,
  .page-gdpr__card-text {
    font-size: 0.9rem;
  }
  .page-gdpr__card-title {
    font-size: 1.2rem;
  }
}