/* Ranchi Services Theme - Layout & Components */

.header-top-bar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #1e293b;
}

.header-top-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-contact-link {
  color: #38bdf8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-main-nav {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
}

.brand-accent {
  color: #0284c7;
}

.brand-tld {
  color: #f59e0b;
  font-size: 16px;
}

.brand-tagline {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-menu a {
  color: #1e293b;
  font-weight: 600;
  font-size: 15px;
}

.nav-menu a:hover {
  color: #0284c7;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  color: #7dd3fc;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

.hero-title {
  font-size: 44px;
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust-metrics {
  display: flex;
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}

.metric-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #f59e0b;
}

.metric-label {
  font-size: 13px;
  color: #94a3b8;
}

/* Service Card */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.service-card-image-wrap {
  position: relative;
  height: 200px;
  background: #e2e8f0;
}

.service-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-warranty-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #22c55e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.service-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title a {
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
}

.service-card-title a:hover {
  color: #0284c7;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-tag {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 60px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: #0284c7;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #38bdf8;
}

.locality-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.loc-tag {
  background: #1e293b;
  color: #cbd5e1;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 14px;
  color: #64748b;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
