/* ===================================================
   Services CSS: Professional SEO Landing Pages
=================================================== */

/* ---------- Service Page Hero Section ---------- */
.service-hero {
  background: linear-gradient(135deg, var(--color-bg-surface) 0%, rgba(59, 130, 246, 0.1) 100%);
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  scroll-margin-top: 150px;
}

.service-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #000;
  font-weight: 800;
  letter-spacing: -0.02em;
}

[data-theme='dark'] .service-hero h1 {
  background: linear-gradient(135deg, #fff 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.service-hero p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.service-hero .location-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.5);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-top: 1rem;
}

/* ---------- Breadcrumb Navigation ---------- */
.breadcrumb {
  background: var(--color-bg-surface);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  font-size: 0.95rem;
  position: sticky;
  top: var(--navbar-height);
  z-index: 10;
  max-width: 100%;
  overflow-x: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.breadcrumb a {
  color: var(--color-primary);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.breadcrumb a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--color-text-muted);
  margin: 0 0.5rem;
  white-space: nowrap;
}

.breadcrumb i {
  font-size: 0.85rem;
}

/* ---------- Service Content Grid ---------- */
.service-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 4rem 2rem;
}

.service-intro {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.service-intro h2 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-intro p {
  color: var(--color-text-main);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.service-intro p:last-child {
  margin-bottom: 0;
}

/* ---------- Specs Table ---------- */
.specs-section {
  margin-bottom: 3rem;
}

.specs-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.specs-section h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 2px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-surface);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.specs-table thead {
  background: linear-gradient(90deg, var(--color-primary) 0%, rgba(59, 130, 246, 0.8) 100%);
}

.specs-table thead th {
  padding: 1.2rem;
  text-align: left;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.specs-table tbody tr {
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  transition: background var(--transition-fast);
}

.specs-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.05);
}

.specs-table tbody tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 1rem 1.2rem;
  color: var(--color-text-main);
  font-size: 0.95rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--color-primary);
}

/* ---------- Features & Benefits Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: var(--color-bg-surface);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h4 {
  margin-bottom: 0.8rem;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-btn-primary {
  background: #2563eb;
  color: white;
}

.cta-btn-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.6);
  transform: translateY(-2px);
}

.cta-btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.cta-btn-secondary:hover {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- Service Cards Grid (Index Page) ---------- */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.service-card {
  background: var(--color-bg-surface);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  transition: left var(--transition-normal);
}

.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
  transform: translateY(-8px);
  background: rgba(59, 130, 246, 0.03);
}

.service-card:hover::after {
  left: 0;
}

.service-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.service-card .arrow {
  color: var(--color-primary);
  transition: transform var(--transition-fast);
  margin-top: auto;
}

.service-card:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Silos Navigation ---------- */
.silos-nav {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.silo-tab {
  padding: 0.8rem 1.5rem;
  background: var(--color-bg-surface);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-weight: 600;
  font-size: 0.95rem;
}

.silo-tab:hover,
.silo-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* ---------- Quick Links Section ---------- */
.quick-links {
  background: var(--color-bg-surface);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 3rem 0;
}

.quick-links h3 {
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.quick-link {
  padding: 1rem;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  color: var(--color-primary);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.quick-link:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--color-primary);
  transform: translateX(4px);
}

.quick-link i {
  flex-shrink: 0;
}

/* ---------- Why Choose Us Section ---------- */
.why-choose-us {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  margin: 3rem 0;
}

.why-choose-us h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--color-primary);
}

.why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1rem;
}

.why-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.2rem;
}

.why-item-content h4 {
  margin-bottom: 0.4rem;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.why-item-content p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- FAQ Section ---------- */
.faq-section {
  margin: 3rem 0;
}

.faq-section h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--color-primary);
}

.faq-items {
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--color-bg-surface);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.faq-question:hover {
  background: rgba(59, 130, 246, 0.05);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background: rgba(59, 130, 246, 0.03);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 1.5rem;
  color: var(--color-text-main);
  line-height: 1.7;
}

/* ---------- Footer Styling (Matching index.css) ---------- */
.footer {
  background: #f9fafb;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 4rem;
}

[data-theme='dark'] .footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  margin-bottom: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col {
  flex: 1;
}

.footer-column h4,
.footer-col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #1f2937;
  font-weight: 700;
}

[data-theme='dark'] .footer-column h4,
[data-theme='dark'] .footer-col h4 {
  color: #fff;
}

.footer-column p,
.footer-col p {
  color: #404040;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

[data-theme='dark'] .footer-column p,
[data-theme='dark'] .footer-col p {
  color: #d1d5db;
}

.footer-column ul,
.footer-col ul {
  list-style: none;
  padding: 0;
}

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

.footer-column ul li,
.footer-col ul li,
.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a,
.footer-col ul li a,
.footer-links a {
  color: #404040;
  transition: color var(--transition-fast);
}

[data-theme='dark'] .footer-column ul li a,
[data-theme='dark'] .footer-col ul li a,
[data-theme='dark'] .footer-links a {
  color: #d1d5db;
}
  text-decoration: none;
}

.footer-column ul li a:hover,
.footer-col ul li a:hover,
.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.footer-column a,
.footer-col a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-column a:hover,
.footer-col a:hover {
  color: var(--color-accent);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
  color: #6b7280;
  text-decoration: none;
}

[data-theme='dark'] .social-links a {
  background: rgba(255, 255, 255, 0.1);
  color: #d1d5db;
}

.social-links a:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: #404040;
  font-size: 0.9rem;
}

[data-theme='dark'] .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #d1d5db;
}

.footer-bottom a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* ---------- Breadcrumb Improvements ---------- */
.breadcrumb {
  background: var(--color-bg-surface);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  font-size: 0.95rem;
  position: sticky;
  top: var(--navbar-height);
  z-index: 10;
  max-width: 100%;
  overflow-x: auto;
}

.breadcrumb a {
  color: var(--color-primary);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.breadcrumb a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--color-text-muted);
  margin: 0 0.5rem;
  white-space: nowrap;
}

.breadcrumb i {
  font-size: 0.85rem;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 768px) {
  .service-hero {
    margin-top: 2rem;
  }

  .service-hero h1 {
    font-size: 2rem;
  }

  .service-hero p {
    font-size: 1rem;
  }

  .breadcrumb {
    font-size: 0.85rem;
    padding: 1rem 1.5rem;
    gap: 0.5rem;
    min-height: 50px;
  }

  .breadcrumb span {
    margin: 0 0.3rem;
  }

  .specs-table {
    font-size: 0.9rem;
  }

  .specs-table th,
  .specs-table td {
    padding: 0.8rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .service-cards-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .silos-nav {
    gap: 0.5rem;
  }

  .silo-tab {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .footer-column h4 {
    font-size: 1rem;
  }

  .footer-column p,
  .footer-column ul li a {
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .service-hero {
    padding: 2rem 1rem;
    min-height: auto;
    margin-top: 3rem;
  }

  .service-hero h1 {
    font-size: 1.5rem;
  }

  .service-content {
    padding: 2rem 1rem;
  }

  .specs-section h3,
  .why-choose-us h3,
  .faq-section h3 {
    font-size: 1.3rem;
  }

  .service-intro {
    padding: 1.5rem;
  }

  .cta-section {
    padding: 1.5rem;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
  }

  .breadcrumb {
    font-size: 0.8rem;
    padding: 1rem 1rem;
    gap: 0.5rem;
    top: calc(var(--navbar-height) - 10px);
    min-height: 60px;
    flex-wrap: wrap;
    align-content: center;
  }

  .breadcrumb span {
    margin: 0 0.2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h4 {
    font-size: 0.95rem;
  }

  .footer-column p,
  .footer-column ul li a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    padding: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.75rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .cta-section {
    border-width: 1px;
  }

  .service-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .why-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .specs-table {
    font-size: 0.85rem;
  }

  .specs-table th,
  .specs-table td {
    padding: 0.6rem;
  }
}
