/* style/gdpr.css */

/* Base styles for the GDPR page, assuming a dark body background from shared.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Light text for dark background */
  background-color: var(--background, #08160F); /* Dark background */
}

.page-gdpr__section-padding {
  padding: 60px 20px;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--gold, #F2C14E);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px;
  background-color: var(--deep-green, #0A4B2C);
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
  margin-top: 30px;
  border-radius: 8px;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--gold, #F2C14E);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

/* Call to Action Buttons */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main, #F2FFF6);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 48, 0, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-gdpr__cta-button--secondary {
  background: transparent;
  border: 2px solid var(--main-color, #11A84E);
  color: var(--main-color, #11A84E);
  box-shadow: none;
}

.page-gdpr__cta-button--secondary:hover {
  background: var(--main-color, #11A84E);
  color: var(--text-main, #F2FFF6);
  transform: translateY(-2px);
}

/* General Content Sections */
.page-gdpr__intro-section, .page-gdpr__rights-section, .page-gdpr__cookies-section, .page-gdpr__contact-section {
  background-color: var(--background, #08160F);
}

.page-gdpr__principles-section, .page-gdpr__security-section, .page-gdpr__faq-section, .page-gdpr__conclusion-section {
  background-color: var(--card-bg, #11271B);
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Principles Grid */
.page-gdpr__principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main, #F2FFF6);
  transition: transform 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow, #57E38D);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-text {
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
}

/* Rights List & Security Features */
.page-gdpr__rights-list, .page-gdpr__security-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-gdpr__rights-list li, .page-gdpr__security-features li {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--divider, #1E3A2A);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-gdpr__list-title {
  font-size: 1.3em;
  color: var(--gold, #F2C14E);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__rights-list li p, .page-gdpr__security-features li p {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1em;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: var(--background, #08160F);
  border: 1px solid var(--divider, #1E3A2A);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--gold, #F2C14E);
  cursor: pointer;
  user-select: none;
  background-color: var(--card-bg, #11271B);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(var(--gold-rgb, 242, 193, 78), 0.1);
}

.page-gdpr__faq-question::-webkit-details-marker, /* Hide default marker for Chrome/Safari */
.page-gdpr__faq-item summary::marker { /* Hide default marker for Firefox */
  display: none;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__faq-answer p {
  margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-gdpr__section-title {
    font-size: 2em;
  }

  .page-gdpr__main-title {
    font-size: 2.5em;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
  }

  .page-gdpr__section-padding {
    padding: 40px 15px;
  }

  .page-gdpr__principles-grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__card, .page-gdpr__rights-list li, .page-gdpr__security-features li, .page-gdpr__faq-item {
    padding: 20px;
  }

  .page-gdpr__card-title, .page-gdpr__list-title {
    font-size: 1.3em;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__hero-image, .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Mobile button responsiveness */
  .page-gdpr__cta-button, .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;
    text-align: center;
  }

  .page-gdpr__cta-buttons, .page-gdpr__button-group, .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Default color variables for light/dark text */
:root {
  --background: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --main-color: #11A84E;
  --accent-color: #22C768;
  --button-gradient-start: #2AD16F;
  --button-gradient-end: #13994A;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
  --gold-rgb: 242, 193, 78; /* For rgba usage */
}