/* style/gdpr.css */

/* Custom Properties for Colors */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

/* Base styles for the GDPR page */
.page-gdpr {
  background-color: var(--color-background);
  color: var(--color-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: var(--color-deep-green);
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 12px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--color-button-gradient-start);
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: var(--color-text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

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

/* General Section Styles */
.page-gdpr__section {
  padding: 60px 0;
  background-color: var(--color-background);
}

.page-gdpr__section:nth-of-type(even) {
  background-color: var(--color-card-bg);
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-gdpr__section-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-gdpr__principle-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-gdpr__principle-item:hover {
  transform: translateY(-5px);
}

.page-gdpr__principle-title {
  font-size: 1.4rem;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__principle-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

/* Content Grid (for data collection, security) */
.page-gdpr__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

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

.page-gdpr__content-grid--reverse .page-gdpr__text-block {
  order: 2;
}

.page-gdpr__content-grid--reverse .page-gdpr__image-wrapper {
  order: 1;
}

.page-gdpr__text-block h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  color: var(--color-text-main);
}

.page-gdpr__text-block ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
  color: var(--color-text-main);
}

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

.page-gdpr__text-block ul li strong {
  color: var(--color-text-main);
}

.page-gdpr__image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Your Rights Section */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__right-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__right-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-gdpr__right-title {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__right-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.page-gdpr__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-gdpr__cta-button--secondary {
  background: var(--color-gold);
  color: var(--color-background);
}

.page-gdpr__cta-button--secondary:hover {
  opacity: 0.9;
}

/* Data Sharing & Cookies Section */
.page-gdpr__sharing-content,
.page-gdpr__cookie-content,
.page-gdpr__changes-info {
  max-width: 900px;
  margin: 40px auto 0 auto;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__sharing-content h3,
.page-gdpr__cookie-content h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.page-gdpr__sharing-content p,
.page-gdpr__cookie-content p,
.page-gdpr__changes-info p {
  margin-bottom: 15px;
  color: var(--color-text-main);
}

.page-gdpr__sharing-content ul,
.page-gdpr__cookie-content ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
  color: var(--color-text-main);
}

.page-gdpr__sharing-content ul li,
.page-gdpr__cookie-content ul li {
  margin-bottom: 8px;
  color: var(--color-text-secondary);
}

.page-gdpr__sharing-content a,
.page-gdpr__cookie-content a,
.page-gdpr__faq-answer a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__sharing-content a:hover,
.page-gdpr__cookie-content a:hover,
.page-gdpr__faq-answer a:hover {
  color: var(--color-primary);
}

/* Contact CTA Card */
.page-gdpr__contact-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 50px 30px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-gdpr__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15rem;
  color: var(--color-primary);
  font-weight: 600;
  background-color: var(--color-card-bg);
  border-bottom: 1px solid var(--color-divider);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid var(--color-border);
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-gold);
  margin-left: 15px;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--color-text-secondary);
  border-top: none;
}

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
  color: var(--color-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__content-grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__content-grid--reverse .page-gdpr__text-block,
  .page-gdpr__content-grid--reverse .page-gdpr__image-wrapper {
    order: unset;
  }

  .page-gdpr__hero-image-wrapper {
    margin-bottom: 30px;
  }
}

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

  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-gdpr__description {
    font-size: 1rem;
  }

  .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__cta-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-gdpr__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-gdpr__principles-grid,
  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__text-block h3 {
    font-size: 1.3rem;
  }

  .page-gdpr__text-block p,
  .page-gdpr__text-block ul li {
    font-size: 0.95rem;
  }

  .page-gdpr__image,
  .page-gdpr__right-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__image-wrapper,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__principles-grid,
  .page-gdpr__rights-grid,
  .page-gdpr__sharing-content,
  .page-gdpr__cookie-content,
  .page-gdpr__changes-info,
  .page-gdpr__contact-card,
  .page-gdpr__faq-list,
  .page-gdpr__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-gdpr__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-gdpr__faq-answer {
    padding: 15px;
    font-size: 0.9rem;
  }
}