/* style/gdpr.css */

/* Custom properties for colors */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --main-bg: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --primary-color-rgb: 242, 193, 78; /* Added for rgba calculations */
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page content */
  background-color: var(--main-bg); /* Default background for the page content */
  line-height: 1.6;
  font-size: 16px;
  padding-bottom: 50px; /* Add some padding at the bottom */
}

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

.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color); /* Separator between sections */
}

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

.page-gdpr__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive font size for H2 */
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4); /* Subtle glow */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  /* Rely on body for header offset, use small padding for visual spacing */
  padding-top: 10px;
  background-color: var(--main-bg); /* Ensure hero background matches main */
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure width 100% for flex container */
}

.page-gdpr__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative; /* For potential overlay effects */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px; /* Match container border-radius */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-gdpr__hero-content h1 {
  font-size: clamp(32px, 5vw, 56px); /* Large, responsive H1 */
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
}

.page-gdpr__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-main);
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-gdpr__cta-button--secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: none;
}

.page-gdpr__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--main-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* General Content Styling */
.page-gdpr p {
  margin-bottom: 15px;
  color: var(--text-main);
}

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

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

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

.page-gdpr__card {
  background-color: var(--card-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-main); /* Ensure text color on card is light */
}

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

.page-gdpr__card-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-gdpr__security-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-gdpr__security-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-gdpr__security-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2em;
}

.page-gdpr__contact-info {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
  text-align: center;
}

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

.page-gdpr__contact-info a {
  font-weight: bold;
}

/* Images within content sections */
.page-gdpr__section img {
  width: 100%;
  height: auto;
  max-width: 800px; /* Limit max width for content images */
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding-bottom: 80px;
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: rgba(var(--primary-color-rgb, 242, 193, 78), 0.1); /* Subtle hover effect */
}
.page-gdpr__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}
.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 25px;
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 12px 12px;
}
.page-gdpr__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Ensure small padding on mobile */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-content h1 {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    width: 100%; /* Full width buttons on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__cta-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-gdpr__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
    border-radius: 8px;
  }

  .page-gdpr__card-title {
    font-size: 20px;
  }

  .page-gdpr__security-list li {
    padding-left: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr__security-list li::before {
    font-size: 1.1em;
  }

  .page-gdpr__contact-info {
    padding: 20px;
    border-radius: 8px;
  }

  .page-gdpr__contact-info p {
    font-size: 16px;
  }

  /* FAQ Mobile */
  details.page-gdpr__faq-item {
    border-radius: 8px;
  }
  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-gdpr__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 20px 20px;
  }

  /* Global image responsive styles for content */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}