/* ============================================================
   FastFix Homepage — Custom Stylesheet
   For: fastfixhelp.com WordPress (Astra theme)
   ============================================================ */

/* ====== VARIABLES ====== */
:root {
  --slate: #1B2A3D;
  --slate-light: #2A3F5A;
  --amber: #D4872C;
  --amber-light: #E5A04D;
  --cream: #F5F0E8;
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* ====== BASE RESETS (scoped to homepage) ====== */
.ffbn-homepage {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 48px;
}
.ffbn-homepage img {
  max-width: 100%;
  height: auto;
  display: block;
}
.ffbn-homepage a {
  text-decoration: none;
  color: inherit;
}

/* ====== HERO ====== */
.ffbn-homepage .hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--slate);
  overflow: hidden;
}
.ffbn-homepage .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://fastfixhelp.com/wp-content/uploads/2026/02/fastfix/image-01-v2.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.35);
  transform: scale(1.05);
}
.ffbn-homepage .hero-grain {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(rgba(255,255,255,0.01) 0% 25%, transparent 0% 50%) 0 0 / 3px 3px;
  pointer-events: none;
}
.ffbn-homepage .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}
.ffbn-homepage .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,135,44,0.15);
  border: 1px solid rgba(212,135,44,0.3);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  color: var(--amber-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: ffbn-fadeDown 0.8s ease both;
}
.ffbn-homepage .hero-badge::before {
  content: "\2605";
}
.ffbn-homepage .hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  max-width: 700px;
  animation: ffbn-fadeDown 0.8s ease 0.15s both;
}
.ffbn-homepage .hero h1 em {
  font-style: normal;
  color: var(--amber);
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ffbn-homepage .hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: ffbn-fadeDown 0.8s ease 0.3s both;
}
.ffbn-homepage .hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: ffbn-fadeDown 0.8s ease 0.45s both;
}
.ffbn-homepage .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.ffbn-homepage .btn-primary {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(212,135,44,0.3);
}
.ffbn-homepage .btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212,135,44,0.4);
}
.ffbn-homepage .btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.ffbn-homepage .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}
.ffbn-homepage .hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: ffbn-fadeDown 0.8s ease 0.6s both;
}
.ffbn-homepage .hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--amber);
  line-height: 1;
}
.ffbn-homepage .hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ====== TRUST BAR ====== */
.ffbn-homepage .trust-bar {
  background: var(--slate);
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ffbn-homepage .trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.ffbn-homepage .trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.ffbn-homepage .trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--amber);
  flex-shrink: 0;
}

/* ====== SECTIONS ====== */
.ffbn-homepage .section {
  padding: 6rem 2rem;
}
.ffbn-homepage .section-dark {
  background: var(--slate);
  color: var(--white);
}
.ffbn-homepage .section-cream {
  background: var(--cream);
}
.ffbn-homepage .section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.ffbn-homepage .section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.8rem;
}
.ffbn-homepage .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.ffbn-homepage .section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.ffbn-homepage .section-dark .section-subtitle {
  color: rgba(255,255,255,0.6);
}

/* ====== SERVICES GRID ====== */
.ffbn-homepage .services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ffbn-homepage .service-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.ffbn-homepage .service-card:hover {
  transform: translateY(-4px);
}
.ffbn-homepage .service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.ffbn-homepage .service-card:hover img {
  transform: scale(1.05);
}
.ffbn-homepage .service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,42,61,0.92) 0%, rgba(27,42,61,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.ffbn-homepage .service-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.ffbn-homepage .service-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.ffbn-homepage .service-card.featured {
  grid-column: span 1;
  grid-row: span 1;
}

/* ====== BEFORE/AFTER ====== */
.ffbn-homepage .ba-section {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ffbn-homepage .ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ffbn-homepage .ba-img {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.ffbn-homepage .ba-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.ffbn-homepage .ba-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--slate);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ffbn-homepage .ba-tag.after {
  background: var(--amber);
}
.ffbn-homepage .ba-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.ffbn-homepage .ba-content p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ====== GALLERY ====== */
.ffbn-homepage .gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.ffbn-homepage .gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}
.ffbn-homepage .gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}
.ffbn-homepage .gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}
.ffbn-homepage .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ffbn-homepage .gallery-item:hover img {
  transform: scale(1.06);
}

/* ====== WHY US ====== */
.ffbn-homepage .why-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.ffbn-homepage .why-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.ffbn-homepage .why-card:hover {
  background: rgba(255,255,255,0.08);
}
.ffbn-homepage .why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  background: rgba(212,135,44,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ffbn-homepage .why-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--amber);
}
.ffbn-homepage .why-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.ffbn-homepage .why-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ====== STICKY CALL BAR ====== */
.ffbn-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--slate);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  font-family: var(--font-body);
}
.ffbn-topbar-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
}
.ffbn-topbar-brand span {
  color: var(--amber);
}
.ffbn-topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ffbn-topbar-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}
.ffbn-topbar-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--amber);
}
.ffbn-topbar-cta {
  background: var(--amber);
  color: var(--white);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.ffbn-topbar-cta:hover {
  background: var(--amber-light);
}

/* ====== CTA ====== */
.ffbn-homepage .cta-section {
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-light) 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ffbn-homepage .cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,135,44,0.08) 0%, transparent 70%);
}
.ffbn-homepage .cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.ffbn-homepage .cta-section p {
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  position: relative;
}
.ffbn-homepage .cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

/* ====== FOOTER ====== */
.ffbn-homepage .footer {
  background: #0F1A26;
  padding: 4rem 2rem 2rem;
  color: rgba(255,255,255,0.5);
}
.ffbn-homepage .footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ffbn-homepage .footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.ffbn-homepage .footer-brand span {
  color: var(--amber);
}
.ffbn-homepage .footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 300px;
}
.ffbn-homepage .footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.ffbn-homepage .footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ffbn-homepage .footer li {
  margin-bottom: 0.5rem;
}
.ffbn-homepage .footer li a {
  font-size: 0.88rem;
  transition: color 0.3s;
}
.ffbn-homepage .footer li a:hover {
  color: var(--amber-light);
}
.ffbn-homepage .footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

/* ====== ANIMATIONS ====== */
@keyframes ffbn-fadeDown {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ffbn-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .ffbn-homepage .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ffbn-homepage .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .ffbn-homepage .why-grid { grid-template-columns: repeat(2, 1fr); }
  .ffbn-homepage .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .ffbn-homepage .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .ffbn-homepage .services-grid { grid-template-columns: 1fr; }
  .ffbn-homepage .ba-section { grid-template-columns: 1fr; }
  .ffbn-homepage .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ffbn-homepage .gallery-item.wide { grid-column: span 2; }
  .ffbn-homepage .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }
  .ffbn-homepage .why-grid { grid-template-columns: 1fr; }
  .ffbn-homepage .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ffbn-topbar { padding: 0 1rem; }
  .ffbn-topbar-brand { display: none; }
  .ffbn-topbar-right { width: 100%; justify-content: center; }
  .ffbn-topbar-cta { flex: 1; text-align: center; }
  .ffbn-homepage .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .ffbn-homepage .section { padding: 4rem 1.25rem; }
}

/* ====== OUR COMPANIES PAGE FIX — why-cards on cream background ====== */
.ffbn-homepage .section-cream .why-card {
  background: rgba(27, 42, 61, 0.05);
  border: 1px solid rgba(27, 42, 61, 0.08);
}
.ffbn-homepage .section-cream .why-card:hover {
  background: rgba(27, 42, 61, 0.1);
}
.ffbn-homepage .section-cream .why-card h3 {
  color: var(--slate);
}
.ffbn-homepage .section-cream .why-card p {
  color: var(--gray-800);
}
