/* ===================================
   Legal Pages Stylesheet
   AuroraXSolutions
   =================================== */

/* Legal Hero Section */
.legal-hero {
  background: linear-gradient(135deg, #a52a2a 0%, #8b2332 50%, #7a1f2a 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  opacity: 0.3;
}

.legal-hero .container {
  position: relative;
  z-index: 1;
}

.legal-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 15px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 0.6s ease-out;
}

.legal-last-updated {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 300;
  animation: fadeIn 0.8s ease-out;
}

/* Legal Content Section */
.legal-content-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 60px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.8s ease-out;
}

/* Legal Introduction */
.legal-intro {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid #8b2332;
}

.legal-intro p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333333;
  margin: 0;
  font-weight: 400;
}

/* Legal Sections */
.legal-section {
  margin-bottom: 50px;
}

.legal-section:last-of-type {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #8b2332;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}

.legal-section h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: #333333;
  margin: 30px 0 15px 0;
}

.legal-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555555;
  margin: 0 0 20px 0;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

/* Lists */
.legal-section ul {
  margin: 20px 0;
  padding-left: 30px;
}

.legal-section ul li {
  font-size: 1rem;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 12px;
  position: relative;
}

.legal-section ul li::marker {
  color: #8b2332;
}

/* Contact Info Box */
.contact-info-box {
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
  border-left: 4px solid #8b2332;
  padding: 30px;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-info-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  margin: 10px 0;
}

.contact-info-box p:first-child {
  margin-top: 0;
}

.contact-info-box p:last-child {
  margin-bottom: 0;
}

.contact-info-box strong {
  font-weight: 700;
  color: #8b2332;
}

.contact-info-box a {
  color: #8b2332;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-info-box a:hover {
  color: #a52a2a;
  text-decoration: underline;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media screen and (max-width: 968px) {
  .legal-hero {
    padding: 60px 0 50px;
  }

  .legal-hero-title {
    font-size: 2.5rem;
  }

  .legal-content {
    padding: 50px 40px;
  }

  .legal-section h2 {
    font-size: 1.5rem;
  }

  .legal-section h3 {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 768px) {
  .legal-hero {
    padding: 50px 0 40px;
  }

  .legal-hero-title {
    font-size: 2rem;
  }

  .legal-last-updated {
    font-size: 0.9rem;
  }

  .legal-content-section {
    padding: 60px 0;
  }

  .legal-content {
    padding: 40px 30px;
    border-radius: 0;
  }

  .legal-intro {
    margin-bottom: 40px;
    padding-bottom: 25px;
  }

  .legal-intro p {
    font-size: 1rem;
  }

  .legal-section {
    margin-bottom: 40px;
  }

  .legal-section h2 {
    font-size: 1.375rem;
    margin-bottom: 15px;
  }

  .legal-section h3 {
    font-size: 1.125rem;
    margin: 25px 0 12px 0;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .legal-section ul {
    padding-left: 25px;
  }

  .contact-info-box {
    padding: 25px 20px;
  }

  .contact-info-box p {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 480px) {
  .legal-hero {
    padding: 40px 0 30px;
  }

  .legal-hero-title {
    font-size: 1.75rem;
  }

  .legal-last-updated {
    font-size: 0.85rem;
  }

  .legal-content-section {
    padding: 40px 0;
  }

  .legal-content {
    padding: 30px 20px;
  }

  .legal-intro {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }

  .legal-intro p {
    font-size: 0.95rem;
  }

  .legal-section {
    margin-bottom: 30px;
  }

  .legal-section h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }

  .legal-section h3 {
    font-size: 1.05rem;
    margin: 20px 0 10px 0;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 15px;
  }

  .legal-section ul {
    margin: 15px 0;
    padding-left: 20px;
  }

  .legal-section ul li {
    margin-bottom: 10px;
  }

  .contact-info-box {
    padding: 20px 15px;
    margin-top: 25px;
  }

  .contact-info-box p {
    font-size: 0.9rem;
    margin: 8px 0;
  }
}

/* Print Styles */
@media print {
  .legal-hero {
    background: #8b2332;
    padding: 30px 0;
  }

  .legal-hero-title {
    text-shadow: none;
  }

  .legal-content {
    box-shadow: none;
    padding: 20px;
  }

  .legal-section {
    page-break-inside: avoid;
  }

  .contact-info-box {
    background: #f8f8f8;
    box-shadow: none;
  }
}
