/* =============================================================
   SYDNEY 24 HOUR TOWING — Global Stylesheet
   Shared across ALL pages (dark & light)
   ============================================================= */

/* -------------------------------------------------------------
   1. GOOGLE FONTS IMPORT FALLBACK
   ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');


/* -------------------------------------------------------------
   2. DESIGN TOKENS
   ------------------------------------------------------------- */
:root {
  /* Brand */
  --amber:        #f6a800;
  --amber-h:      #ffc233;
  --amber-light:  rgba(246,168,0,0.12);
  --red:          #e8232a;
  --red-light:    rgba(232,35,42,0.12);

  /* Dark palette (homepage & landing) */
  --ink:          #08090b;
  --ink2:         #0f1116;
  --ink3:         #161b24;
  --edge:         #252c3d;
  --edge2:        #2e3650;
  --snow:         #f0f2f7;
  --fog:          #7c849a;
  --fog2:         #55607a;

  /* Light palette (inner pages) */
  --white:        #ffffff;
  --off-white:    #f8f7f4;
  --light-grey:   #f0ede8;
  --border:       #e5dfd6;
  --dark-text:    #0f1116;
  --mid-text:     #4a5568;
  --light-text:   #718096;

  /* Typography */
  --font-head: 'Oswald', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Radius */
  --r:   10px;
  --r2:  16px;
  --r3:  24px;

  /* Transitions */
  --t: all .2s ease;
}


/* -------------------------------------------------------------
   3. RESET
   ------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

img, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }


/* -------------------------------------------------------------
   4. KEYFRAMES
   ------------------------------------------------------------- */
@keyframes fadein {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sheen {
  0%   { left: -120%; }
  100% { left: 200%; }
}
@keyframes tick {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0   rgba(34,197,94,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0   rgba(34,197,94,0); }
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%     { opacity: .2; }
}


/* -------------------------------------------------------------
   5. SCROLL REVEAL
   ------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}


/* -------------------------------------------------------------
   6. EMERGENCY TICKER (all pages)
   ------------------------------------------------------------- */
.syt-ticker {
  background: var(--red);
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: 300;
}
.syt-ticker-track {
  display: flex;
  width: max-content;
  animation: tick 32s linear infinite;
}
.syt-ticker-track span {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  padding: 0 40px;
  white-space: nowrap;
}
.syt-ticker-track span::after { content: '  ✦  '; opacity: .5; }


/* -------------------------------------------------------------
   7. GLOBAL NAVIGATION
   ------------------------------------------------------------- */
.syt-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8,9,11,.97);
  border-bottom: 1px solid var(--edge);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.syt-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

/* Logo */
.syt-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.syt-logo img {
  height: 42px;
  width: auto;
}
.syt-logo-text {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--snow);
  letter-spacing: .04em;
  line-height: 1.1;
}
.syt-logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  color: var(--fog);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Nav links */
.syt-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.syt-nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--fog);
  padding: 8px 14px;
  border-radius: var(--r);
  transition: var(--t);
  white-space: nowrap;
}
.syt-nav-links a:hover,
.syt-nav-links a.active {
  color: var(--snow);
  background: rgba(255,255,255,.06);
}

/* Nav right */
.syt-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.syt-nav-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--fog);
  font-weight: 500;
  white-space: nowrap;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-green 1.8s ease infinite;
  flex-shrink: 0;
}

/* Nav CTA call button */
.syt-nav-call {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--amber);
  color: var(--ink);
  text-decoration: none;
  padding: 9px 20px;
  border-radius: var(--r);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .04em;
  transition: var(--t);
  box-shadow: 0 4px 20px rgba(246,168,0,.28);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.syt-nav-call::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent);
  animation: sheen 2.8s ease-in-out infinite;
}
.syt-nav-call:hover { background: var(--amber-h); transform: translateY(-1px); }
.syt-nav-call .lbl {
  font-family: var(--font-body);
  font-size: 9px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  opacity: .7; line-height: 1; margin-bottom: 2px;
}
.syt-nav-call .num { font-size: 16px; line-height: 1; }

/* Hamburger */
.syt-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.syt-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--snow);
  border-radius: 2px;
  transition: var(--t);
}

/* Mobile menu */
.syt-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 24px;
}
.syt-mobile-menu.open { display: flex; }
.syt-mobile-menu a {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 600;
  color: var(--snow);
  letter-spacing: .04em;
  padding: 12px 24px;
  border-radius: var(--r);
  transition: var(--t);
  text-align: center;
  width: 100%;
}
.syt-mobile-menu a:hover { color: var(--amber); }
.syt-mobile-menu .mobile-call {
  background: var(--amber);
  color: var(--ink);
  margin-top: 16px;
  font-size: 28px;
}
.syt-mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 32px;
  color: var(--fog);
  cursor: pointer;
  background: none; border: none;
  line-height: 1;
  transition: var(--t);
}
.syt-mobile-close:hover { color: var(--snow); }


/* -------------------------------------------------------------
   8. GLOBAL FOOTER
   ------------------------------------------------------------- */
.syt-footer {
  background: var(--ink);
  border-top: 1px solid var(--edge);
  color: var(--fog);
}

.syt-footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {}
.footer-brand-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.footer-brand-logo img { height: 40px; width: auto; }
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 700;
  color: var(--snow); letter-spacing: .04em;
}
.footer-brand p {
  font-size: 14px; line-height: 1.7; color: var(--fog);
  max-width: 260px; margin-bottom: 20px;
}
.footer-call-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber); color: var(--ink);
  text-decoration: none;
  padding: 12px 20px; border-radius: var(--r);
  font-family: var(--font-head); font-size: 18px; font-weight: 600;
  letter-spacing: .04em; transition: var(--t);
  box-shadow: 0 4px 20px rgba(246,168,0,.25);
}
.footer-call-link:hover { background: var(--amber-h); }

.footer-col-title {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--snow); margin-bottom: 20px;
}
.footer-col-links {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-col-links a {
  font-size: 14px; color: var(--fog);
  text-decoration: none; transition: var(--t);
  display: flex; align-items: center; gap: 6px;
}
.footer-col-links a:hover { color: var(--amber); padding-left: 4px; }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--fog);
  margin-bottom: 12px; line-height: 1.5;
}
.footer-contact-item .fi { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* Footer bottom bar */
.syt-footer-bar {
  border-top: 1px solid var(--edge);
  padding: 20px 48px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bar-copy { font-size: 12px; color: var(--fog2); }
.footer-bar-links {
  display: flex; gap: 20px;
}
.footer-bar-links a {
  font-size: 12px; color: var(--fog2);
  text-decoration: none; transition: var(--t);
}
.footer-bar-links a:hover { color: var(--amber); }

/* Sticky mobile call bar */
.syt-sticky-call {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  background: var(--amber);
  border-top: 2px solid var(--amber-h);
  box-shadow: 0 -4px 24px rgba(246,168,0,.4);
}
.syt-sticky-call a {
  display: flex; align-items: center;
  justify-content: center; gap: 10px;
  padding: 15px 20px;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-head);
  font-size: 20px; font-weight: 700;
  letter-spacing: .04em;
}


/* -------------------------------------------------------------
   9. SHARED COMPONENT — PAGE HERO BANNER (inner pages)
   ------------------------------------------------------------- */
.page-hero {
  background: var(--ink);
  padding: 80px 48px 70px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%,rgba(246,168,0,.06),transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber-light);
  border: 1px solid rgba(246,168,0,.3);
  border-radius: 100px; padding: 5px 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(36px,5vw,64px);
  font-weight: 700; line-height: .95;
  color: var(--snow);
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: normal; color: var(--amber); }
.page-hero p {
  font-size: 17px; color: var(--fog);
  line-height: 1.65; max-width: 520px; margin: 0 auto;
}

/* Breadcrumb */
.syt-breadcrumb {
  background: var(--ink2);
  border-bottom: 1px solid var(--edge);
  padding: 12px 48px;
}
.syt-breadcrumb-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--fog);
}
.syt-breadcrumb a { color: var(--fog); text-decoration: none; transition: var(--t); }
.syt-breadcrumb a:hover { color: var(--amber); }
.syt-breadcrumb .sep { color: var(--edge2); }
.syt-breadcrumb .current { color: var(--amber); }


/* -------------------------------------------------------------
   10. SHARED BUTTONS
   ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center;
  justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r);
  font-family: var(--font-head);
  font-size: 18px; font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: var(--t);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);
  animation: sheen 2.8s ease-in-out infinite;
}
.btn-amber {
  background: var(--amber); color: var(--ink);
  box-shadow: 0 6px 24px rgba(246,168,0,.3);
}
.btn-amber:hover {
  background: var(--amber-h);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(246,168,0,.45);
}
.btn-outline-amber {
  background: transparent;
  border: 2px solid var(--amber);
  color: var(--amber);
}
.btn-outline-amber:hover {
  background: var(--amber); color: var(--ink);
}
.btn-dark {
  background: var(--ink); color: var(--snow);
}
.btn-dark:hover { background: var(--ink3); }
.btn-lg { padding: 18px 40px; font-size: 22px; }
.btn-sm { padding: 10px 18px; font-size: 15px; }


/* -------------------------------------------------------------
   11. RESPONSIVE — Navigation
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .syt-nav-inner { padding: 0 28px; }
  .syt-nav-links  { display: none; }
  .syt-nav-live   { display: none; }
  .syt-hamburger  { display: flex; }
  .page-hero      { padding: 60px 28px 50px; }
  .syt-breadcrumb { padding: 12px 28px; }
  .syt-footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 48px 28px; gap: 36px;
  }
  .syt-footer-bar { padding: 16px 28px; }
}

@media (max-width: 640px) {
  .syt-nav-inner   { padding: 0 16px; height: 60px; }
  .syt-logo img    { height: 34px; }
  .syt-nav-call .lbl { display: none; }
  .syt-nav-call .num { font-size: 14px; }
  .syt-nav-call    { padding: 9px 14px; }
  .page-hero       { padding: 48px 16px 40px; }
  .syt-breadcrumb  { padding: 10px 16px; }
  .syt-footer-main { grid-template-columns: 1fr; padding: 36px 16px; gap: 28px; }
  .syt-footer-bar  { padding: 14px 16px; flex-direction: column; text-align: center; }
  .footer-bar-links { flex-wrap: wrap; justify-content: center; gap: 14px; }
  body             { padding-bottom: 62px; }
}
