/* Legal Pages Styles */

/* Hero Section */
.legal-hero {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  font-style: italic;
}

/* Content Section */
.legal-content {
  padding: 80px 0;
  background: #f8f9fa;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.legal-text h2 {
  color: #007bff;
  font-size: 1.8rem;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}

.legal-text h2:first-child {
  margin-top: 0;
}

.legal-text h3 {
  color: #333;
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem 0;
  font-weight: 600;
}

.legal-text p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.legal-text ul {
  margin: 1rem 0 1.5rem 2rem;
  color: #666;
}

.legal-text ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-text ul li::marker {
  color: #007bff;
}

/* Contact Info Box */
.contact-info {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #007bff;
  margin-top: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: #333;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .content-wrapper {
    padding: 2rem;
    margin: 0 1rem;
  }

  .legal-text h2 {
    font-size: 1.5rem;
  }

  .legal-text h3 {
    font-size: 1.2rem;
  }

  .legal-text ul {
    margin-left: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .content-wrapper {
    padding: 1.5rem;
  }

  .legal-text h2 {
    font-size: 1.3rem;
  }

  .legal-text ul {
    margin-left: 1rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer {
    display: none;
  }

  .legal-hero {
    background: none;
    color: black;
    padding: 2rem 0;
  }

  .legal-content {
    background: none;
    padding: 0;
  }

  .content-wrapper {
    box-shadow: none;
    padding: 0;
  }

  .legal-text h2 {
    color: black;
    page-break-after: avoid;
  }

  .legal-text h3 {
    page-break-after: avoid;
  }

  .legal-text p {
    color: black;
    text-align: left;
  }

  .legal-text ul {
    color: black;
  }

  .contact-info {
    background: none;
    border: 1px solid #ccc;
  }
}

/* Accessibility Improvements */
.legal-text a {
  color: #007bff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.legal-text a:hover {
  color: #0056b3;
}

.legal-text a:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Table of Contents (if needed) */
.toc {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border-left: 4px solid #007bff;
}

.toc h3 {
  margin-top: 0;
  color: #007bff;
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc ul li {
  margin-bottom: 0.5rem;
}

.toc ul li a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.toc ul li a:hover {
  color: #007bff;
}

/* Highlight Important Sections */
.important-notice {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 1rem;
  margin: 1.5rem 0;
}

.important-notice p {
  margin: 0;
  color: #856404;
}

.warning-notice {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 1rem;
  margin: 1.5rem 0;
}

.warning-notice p {
  margin: 0;
  color: #721c24;
}
