/* Tailwind is primary; this file adds custom layer + overrides */

/* NAV LINKS */
.nav-link,
.nav-link-mobile {
  position: relative;
}
.nav-link::after,
.nav-link-mobile::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #f59e0b;
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link-mobile:hover::after {
  width: 100%;
}

/* GLASS CARD */
.glass-card {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(10px);
}

/* SECTION TITLE */
.section-title {
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1e293b;
}

/* PRODUCT CARDS */
.product-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}
.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.product-card h3 {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
}
.product-sub {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}
.product-text {
  font-size: 0.85rem;
  color: #475569;
}
.product-benefits {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: #475569;
  list-style: disc;
  padding-left: 1.1rem;
}
.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #1e293b;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.product-cta:hover {
  background: #f59e0b;
  color: #1e293b;
}

/* FILTER BUTTONS */
.filter-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  background: #ffffff;
  color: #475569;
  font-weight: 500;
}
.filter-btn.active {
  background: #1e293b;
  color: #ffffff;
  border-color: #1e293b;
}

/* FEATURE BLOCKS */
.feature-block {
  background: #f8fafc;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
}
.feature-block i {
  color: #f59e0b;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.feature-block h3 {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.15rem;
}
.feature-block p {
  font-size: 0.85rem;
  color: #475569;
}

/* STATS */
.stat-card {
  background: #1e293b;
  color: #ffffff;
  border-radius: 1rem;
  padding: 1rem;
}
.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f59e0b;
}
.stat-label {
  font-size: 0.7rem;
  color: #cbd5f5;
  margin-top: 0.25rem;
}

/* PROCESS */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.process-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #f8fafc;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
}
.process-step span {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #1e293b;
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
}
.process-step h3 {
  font-weight: 600;
  color: #1e293b;
}
.process-step p {
  font-size: 0.85rem;
  color: #475569;
}

/* GALLERY */
.gallery-grid {
  column-count: 3;
  column-gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 1rem;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 1rem;
}
.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: #e5e7eb;
  font-size: 1.25rem;
  cursor: pointer;
}

/* CLIENT LOGOS */
.client-logo {
  border-radius: 0.75rem;
  border: 1px dashed #cbd5f5;
  padding: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: #475569;
  background: #f8fafc;
}

/* TESTIMONIALS */
.testimonial-card {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* FOOTER */
.footer-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.footer-list {
  font-size: 0.75rem;
  color: #cbd5f5;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-list a:hover {
  color: #f59e0b;
}

/* FORM */
.form-label {
  display: block;
  font-size: 0.75rem;
  color: #475569;
  margin-bottom: 0.25rem;
}
.form-input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  color: #0f172a;
  background: #ffffff;
}
.form-input:focus {
  outline: none;
  border-color: #f59e0b;
}

/* LOADER */
.loader-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
  animation: pulse 1.2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
  }
  70% {
    transform: scale(1.4);
    box-shadow: 0 0 0 18px rgba(245, 158, 11, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .gallery-grid {
    column-count: 2;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    column-count: 1;
  }
}
