/* ===================================
   LEGAL PAGES STYLES
   Mobile-First Responsive Design
   =================================== */

/* ===================================
   BREADCRUMB
   =================================== */

.breadcrumb-nav {
  background: #f8f9fa;
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  margin-right: 0.5rem;
  color: #6c757d;
}

.breadcrumb-item a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #ec4899;
}

.breadcrumb-item.active {
  color: #333;
  font-weight: 500;
}

/* ===================================
   LEGAL CONTAINER
   =================================== */

.legal-container {
  background: #ffffff;
  padding: 2rem 0 3rem;
  min-height: calc(100vh - 80px);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

/* ===================================
   HEADER
   =================================== */

.legal-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, #ec4899 30%, #a855f7 70%, transparent 100%) 1;
}

.legal-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-header .last-updated {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

/* ===================================
   SECTIONS
   =================================== */

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section:last-of-type {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.legal-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #ec4899;
  margin-bottom: 0.5rem;
  margin-top: 1.25rem;
}

.legal-section h3:first-child {
  margin-top: 0;
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
}

.legal-section address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0.5rem;
}

.legal-section a {
  color: #ec4899;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.legal-section a:hover {
  color: #db2777;
  text-decoration: underline;
}

/* ===================================
   INFO BOXES
   =================================== */

.company-info,
.contact-details,
.professional-info,
.website-info,
.disclaimer,
.dispute-resolution,
.regulations {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 3px solid #ec4899;
  margin-top: 1rem;
}

/* Contact Details Grid */
.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.contact-item h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

.contact-item a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #ec4899;
}

/* Opening Hours */
.opening-hours {
  margin-top: 1rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.day-hours {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.day-hours:hover {
  border-color: #ec4899;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.1);
}

.day {
  font-weight: 500;
  color: #333;
  font-size: 0.95rem;
}

.hours {
  font-weight: 600;
  color: #ec4899;
  font-size: 0.95rem;
}

/* ===================================
   FOOTER
   =================================== */

.legal-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.legal-footer p {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
}

.legal-footer strong {
  color: #333;
  font-weight: 600;
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */

@media (min-width: 768px) {
  .legal-container {
    padding: 3rem 0 4rem;
  }

  .legal-header h1 {
    font-size: 2.5rem;
  }

  .legal-section h2 {
    font-size: 1.75rem;
  }

  .contact-details {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .hours-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================================
   RESPONSIVE - DESKTOP
   =================================== */

@media (min-width: 1024px) {
  .legal-container {
    padding: 4rem 0 5rem;
  }

  .legal-header h1 {
    font-size: 3rem;
  }

  .legal-content {
    max-width: 1000px;
  }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
