/* ============================================
   B A Appliances Spares & Repairs — site styles
   Rebuilt as a plain static site from the Wix
   Vibe source (colors/type/content preserved).
   ============================================ */

:root {
  --color-primary: #016BB5;
  --color-primary-foreground: #FFFFFF;
  --color-secondary: #2BA43A;
  --color-secondary-foreground: #FFFFFF;
  --color-highlight: #E8B923;
  --color-background: #F7F5F0;
  --color-foreground: #0F4C2C;
  --color-accent-red: #D3211F;
  --color-destructive: #DF3131;
  --header-height: 96px;
  --header-height-mobile: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .container { padding: 0 3rem; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 50;
  background-color: var(--color-primary);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header-row {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .header-row { flex-direction: row; align-items: stretch; }
}
.header-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
  min-height: var(--header-height-mobile);
}
@media (min-width: 768px) {
  .header-main { padding: 0 3rem; min-height: var(--header-height); }
}
.logo-link img { height: 48px; width: auto; object-fit: contain; }
@media (min-width: 768px) {
  .logo-link img { height: 72px; }
}

.main-nav {
  display: none;
}
@media (min-width: 768px) {
  .main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin: 0 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
  }
  .main-nav a { color: var(--color-primary-foreground); opacity: 0.9; transition: opacity 0.2s; }
  .main-nav a:hover { opacity: 1; }
  .main-nav a.active { opacity: 1; color: var(--color-highlight); }
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--color-primary-foreground);
  background: none;
}
@media (min-width: 768px) { .mobile-menu-toggle { display: none; } }

.mobile-nav {
  display: none;
  background-color: var(--color-primary);
  border-top: 1px solid rgba(255,255,255,0.1);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; padding: 0.5rem 0.75rem; }
.mobile-nav a {
  padding: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-foreground);
  border-radius: 6px;
}
.mobile-nav a.active { background-color: rgba(232,185,35,0.2); color: var(--color-highlight); font-weight: 600; }
@media (min-width: 768px) { .mobile-nav { display: none !important; } }

.header-actions {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .header-actions { padding: 0 1.5rem; justify-content: center; min-height: var(--header-height); }
}
.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 4px;
  min-height: 40px;
  transition: opacity 0.2s;
}
.header-btn:hover { opacity: 0.85; }
.header-btn.repairs { background-color: var(--color-accent-red); }
.header-btn.spares { background-color: #012a4a; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 6rem 1rem 3rem;
  margin-top: var(--header-height-mobile);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding: 8rem 3rem 5rem; margin-top: var(--header-height); }
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg::after { content: ''; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(1,27,46,0.55), rgba(1,27,46,0.72));
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 0.75rem;
  padding: 0 0.5rem;
}
@media (min-width: 768px) { .hero h1 { font-size: 2.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.25rem; } }
.hero .tagline {
  font-size: 0.9rem;
  color: var(--color-highlight);
  margin-bottom: 1.5rem;
  max-width: 42rem;
}
@media (min-width: 768px) { .hero .tagline { font-size: 1.15rem; } }
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 0.5rem;
}
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 44px;
  transition: all 0.2s;
  width: 100%;
}
@media (min-width: 640px) { .btn { width: auto; } }
.btn-primary { background-color: var(--color-secondary); color: var(--color-secondary-foreground); }
.btn-primary:hover { background-color: #248f30; }
.btn-outline { background: transparent; border: 2px solid currentColor; }

/* ---------- Trust strip ---------- */
.trust-strip { width: 100%; background-color: #fff; border-top: 1px solid rgba(1,27,46,0.1); border-bottom: 1px solid rgba(1,27,46,0.1); }
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(3, 1fr); padding: 3rem 0; } }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
@media (min-width: 768px) { .trust-item { align-items: flex-start; text-align: left; } }
.trust-item .icon { color: var(--color-highlight); margin-bottom: 0.5rem; }
.trust-item h3 { font-weight: 700; color: var(--color-primary); margin-bottom: 0.4rem; font-size: 1rem; }
.trust-item p { color: rgba(1,27,46,0.7); font-size: 0.85rem; }

/* ---------- Generic sections ---------- */
section.block { width: 100%; padding: 3rem 1rem; }
@media (min-width: 768px) { section.block { padding: 4rem 3rem; } }
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.two-col img { border-radius: 10px; width: 100%; height: 280px; object-fit: cover; }
.two-col h2 { font-size: 1.5rem; font-weight: 700; color: var(--color-primary); margin-bottom: 0.75rem; }
@media (min-width: 768px) { .two-col h2 { font-size: 2rem; } }
.two-col p { color: rgba(1,27,46,0.8); line-height: 1.7; margin-bottom: 0.75rem; }
.link-arrow { color: var(--color-secondary); font-weight: 700; display: inline-flex; align-items: center; gap: 0.4rem; }

.teaser-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .teaser-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.teaser-card { position: relative; height: 280px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(1,27,46,0.1); }
.teaser-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.teaser-card:hover img { transform: scale(1.05); }
.teaser-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(1,27,46,0.85), rgba(1,27,46,0.1) 60%, transparent);
  display: flex; align-items: flex-end; padding: 1.5rem;
}
.teaser-overlay h3 { color: #fff; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.teaser-overlay p { color: rgba(255,255,255,0.85); font-size: 0.8rem; }

/* ---------- Footer ---------- */
.site-footer { background-color: var(--color-primary); color: #fff; padding: 3rem 1rem 5.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 768px) { .site-footer { padding: 4rem 3rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-grid img { height: 80px; width: auto; object-fit: contain; margin-bottom: 0.75rem; }
.footer-grid h4 { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.5; margin-bottom: 1rem; font-weight: 700; }
.footer-grid ul { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.footer-grid ul li a:hover { color: var(--color-highlight); }
.footer-grid p { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.footer-hours-item { display: flex; align-items: flex-start; gap: 0.5rem; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 30;
  width: 56px; height: 56px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform 0.3s;
}
.whatsapp-fab:hover { transform: scale(1.1); }

/* ---------- Inner page hero ---------- */
.page-main { padding: 5rem 1rem 3rem; max-width: 1920px; margin: 0 auto; }
@media (min-width: 768px) { .page-main { padding: 6.5rem 3rem 4rem; } }
.page-title { font-size: 1.5rem; font-weight: 700; color: var(--color-primary); margin-bottom: 0.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2rem; } }
.page-subtitle { color: rgba(1,27,46,0.7); margin-bottom: 1.5rem; }

.card-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .card-grid.repairs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .card-grid.spares { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .card-grid.spares { grid-template-columns: repeat(4, 1fr); } }

.item-card {
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: all 0.25s;
}
.item-card:hover { border-color: var(--color-highlight); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.item-card .thumb { width: 100%; height: 160px; background: #eee; overflow: hidden; }
.item-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.item-card:hover .thumb img { transform: scale(1.05); }
.item-card .body { padding: 1rem; display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; }
.item-card h3 { font-weight: 600; color: var(--color-primary); margin-bottom: 0.75rem; font-size: 0.9rem; }
.item-card button {
  margin-top: auto;
  width: 100%;
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.6rem;
  border-radius: 6px;
}
.item-card button:hover { background-color: #015791; }
.item-card.repair-card button {
  background-color: var(--color-secondary);
}
.item-card.repair-card button:hover { background-color: #248f30; }

/* ---------- Hero band (inner pages) ---------- */
.inner-hero {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 3rem;
  padding: 2.5rem 1.5rem;
}
@media (min-width: 768px) { .inner-hero { padding: 4rem 2rem; } }
.inner-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.inner-hero-overlay { position: absolute; inset: 0; background-color: rgba(1,27,46,0.6); }
.inner-hero-content { position: relative; z-index: 1; }
.inner-hero-content h1 { color: var(--color-background); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .inner-hero-content h1 { font-size: 2.25rem; } }
.inner-hero-content p { color: rgba(247,245,240,0.9); max-width: 42rem; font-size: 0.95rem; line-height: 1.6; }

/* ---------- Brand logos ---------- */
.brand-strip { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.brand-strip img { height: 56px; width: auto; object-fit: contain; }
.eyebrow { font-size: 0.8rem; font-weight: 600; color: rgba(1,27,46,0.7); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }

/* ---------- Info cards (hours etc) ---------- */
.info-card { background: rgba(1,107,181,0.05); border: 1px solid rgba(1,107,181,0.1); border-radius: 10px; padding: 1.25rem; max-width: 32rem; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; font-size: 0.9rem; }
.hours-row.muted { color: rgba(1,27,46,0.7); font-size: 0.8rem; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { background: rgba(1,107,181,0.05); border: 1px solid rgba(1,107,181,0.1); border-radius: 10px; padding: 1.25rem; display: flex; gap: 0.75rem; align-items: flex-start; }
.contact-card .icon { color: var(--color-highlight); flex-shrink: 0; margin-top: 2px; }
.contact-card h3 { font-weight: 700; color: var(--color-primary); margin-bottom: 0.3rem; font-size: 0.95rem; }
.contact-card p, .contact-card a { font-size: 0.85rem; color: rgba(1,27,46,0.8); display: block; }
.contact-card a:hover { color: var(--color-highlight); }
.map-embed { border-radius: 10px; overflow: hidden; border: 1px solid rgba(1,107,181,0.1); min-height: 320px; height: 100%; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; max-width: 50rem; }
.faq-item { border-radius: 8px; overflow: hidden; }
.faq-question {
  width: 100%;
  padding: 0.9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  text-align: left;
  background-color: var(--color-primary);
  color: var(--color-highlight);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: background-color 0.2s;
}
.faq-question:hover { background-color: #015791; }
.faq-question .chev { transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(1,107,181,0.15);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  font-size: 0.9rem;
  color: rgba(1,27,46,0.8);
  line-height: 1.6;
}
.faq-item.open .faq-answer { display: block; }

.cta-band { background: linear-gradient(to right, var(--color-primary), #015791); border-radius: 10px; padding: 2rem 1.5rem; text-align: center; }
.cta-band h2 { color: var(--color-background); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.6rem; }
.cta-band p { color: rgba(247,245,240,0.9); max-width: 42rem; margin: 0 auto 1.25rem; font-size: 0.9rem; line-height: 1.6; }

/* ---------- Meet the Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }
.team-card {
  background: #fff;
  border: 1px solid rgba(1,107,181,0.12);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.team-card:hover { border-color: var(--color-highlight); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.team-card .photo { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: #eee; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-card .name { padding: 0.75rem 0.5rem 0.9rem; font-weight: 700; color: var(--color-primary); font-size: 0.9rem; }

/* ---------- Reusable feature photo band (image + text) ---------- */
.feature-photo { border-radius: 10px; width: 100%; height: 280px; object-fit: cover; }

/* Reveal-on-scroll (lightweight substitute for the original fade-in animations).
   Visible by default so content always shows without JS; JS below adds the
   pre-reveal hidden state only when it can also guarantee removing it. */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.js-reveal-ready .reveal { opacity: 0; transform: translateY(24px); }
.js-reveal-ready .reveal.in-view { opacity: 1; transform: translateY(0); }
