/* ============================================
   Locksmith Umhlanga - Custom Styles
   Uses Tailwind CSS via CDN for utility classes
   ============================================ */

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  color: #334155;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  color: #1e293b;
}

/* Hero Gradient */
.hero-gradient {
  background: linear-gradient(rgba(16, 24, 34, 0.85), rgba(16, 24, 34, 0.95));
  background-size: cover;
  background-position: center;
}

/* Section Padding */
.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
@media (min-width: 1024px) {
  .section-padding {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* Container */
.container-custom {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Primary CTA Button */
.btn-primary {
  background-color: #ef4444;
  color: #ffffff;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: transform 0.2s;
  box-shadow: 0 25px 50px -12px rgba(239,68,68,0.4);
  text-decoration: none;
}
.btn-primary:hover {
  transform: scale(1.05);
}

/* Secondary Button */
.btn-secondary {
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  text-decoration: none;
}
.btn-secondary:hover {
  background-color: rgba(255,255,255,0.2);
}

/* Outline Button */
.btn-outline {
  border: 2px solid #0ea5e9;
  color: #0ea5e9;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
  text-decoration: none;
  background: transparent;
}
.btn-outline:hover {
  background-color: #0ea5e9;
  color: #ffffff;
}

/* Card */
.card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(14,165,233,0.05);
  transition: all 0.3s;
}
@media (min-width: 1024px) {
  .card {
    padding: 2.5rem;
  }
}
.card:hover {
  border-color: rgba(14,165,233,0.2);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Section Badge */
.section-badge {
  font-size: 0.875rem;
  font-weight: 900;
  color: #0ea5e9;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}

/* Section Heading */
.section-heading {
  font-size: 1.875rem;
  font-weight: 800;
  color: #1e293b;
}
@media (min-width: 768px) {
  .section-heading {
    font-size: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .section-heading {
    font-size: 3rem;
  }
}

/* Focus Ring */
.focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 2px #0ea5e9, 0 0 0 4px rgba(14,165,233,0.3);
  border-radius: 0.5rem;
}

/* Ping Animation */
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Prose styles for content */
.prose {
  max-width: none;
  line-height: 1.75;
}
.prose p {
  margin-bottom: 1.25em;
  color: #475569;
}
.prose h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 2em;
  margin-bottom: 1em;
  color: #1e293b;
}
.prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  color: #1e293b;
}
.prose strong {
  color: #1e293b;
  font-weight: 700;
}
.prose ul {
  list-style-type: disc;
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}
.prose li {
  margin-bottom: 0.5em;
  color: #475569;
}
.prose a {
  color: #0ea5e9;
  text-decoration: none;
}
.prose a:hover {
  text-decoration: underline;
}
.prose img {
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}
.prose th {
  background-color: #f8fafc;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #e2e8f0;
}
.prose td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Skew background shape */
.skew-shape {
  transform: skewX(12deg) translateX(50%);
}
