/* style/gdpr.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1E90FF; /* Dodger Blue */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

.page-gdpr h1, .page-gdpr h2, .page-gdpr h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr h1 {
    font-size: 2.8em;
    text-align: center;
    color: var(--text-light);
}

.page-gdpr h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    color: var(--secondary-color);
}

.page-gdpr h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
}

.page-gdpr p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-gdpr ul {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-gdpr ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

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

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

/* Hero Section */
.page-gdpr .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--secondary-color), #0056b3);
    color: var(--text-light);
}

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

.page-gdpr .hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 800px; /* Adjust max-width for content images */
}

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

.page-gdpr .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-gdpr .hero-content p {
    font-size: 1.2em;
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr .cta-button:hover {
    background: #FFC107; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Section Styling */
.page-gdpr .section-intro, .page-gdpr .section-principles, .page-gdpr .section-user-rights, .page-gdpr .section-data-security, .page-gdpr .section-cookies, .page-gdpr .section-contact, .page-gdpr .section-faq {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-gdpr .section-intro p, .page-gdpr .section-user-rights p, .page-gdpr .section-data-security p, .page-gdpr .section-cookies p, .page-gdpr .section-contact p {
    text-align: justify;
}

.page-gdpr .section-principles {
    background-color: #f0f0f0;
}

.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(--text-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr .principle-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr .principle-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-gdpr .principle-item h3 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-gdpr .principle-item p {
    font-size: 1em;
    color: #555;
}

/* FAQ Section */
.page-gdpr .faq-list {
    margin-top: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-dark);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 20px;
  background: var(--bg-light);
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-gdpr h1 {
        font-size: 2.2em;
    }

    .page-gdpr h2 {
        font-size: 1.8em;
    }

    .page-gdpr h3 {
        font-size: 1.3em;
    }

    .page-gdpr p, .page-gdpr ul li {
        font-size: 1em;
    }

    .page-gdpr .hero-section {
        padding: 40px 15px;
    }

    .page-gdpr .hero-image img {
        border-radius: 4px;
    }

    .page-gdpr .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

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

    .page-gdpr .principle-icon {
        width: 80px;
        height: 80px;
    }

    .faq-question {
      padding: 15px;
    }

    .faq-question h3 {
      font-size: 1.1em;
    }

    .faq-toggle {
      font-size: 20px;
    }

    .faq-answer {
      padding: 0 15px;
    }

    .faq-item.active .faq-answer {
      padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr h1 {
        font-size: 1.8em;
    }
    .page-gdpr h2 {
        font-size: 1.6em;
    }
    .page-gdpr .hero-content p {
        font-size: 1em;
    }
}