/* === Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    "Lato",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-weight: 400;
  color: #40464d;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
  margin: 0 0 0.5em;
}

:root {
  --primary: #fe4641;
  --brand-red: #d30000;
  --dark: #2a2a2a;
  --light-bg: #f5f5f5;
  --text: #40464d;
  --header-h: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hl {
  color: var(--primary);
}
.light {
  color: #fff;
}

/* === Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  transition:
    background-color 0.3s ease,
    padding 0.3s ease,
    box-shadow 0.3s ease;
  background: transparent;
}
.site-header.scrolled {
  background: #fff;
  padding: 8px 0;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}
.site-header.scrolled .site-nav a {
  color: #40464d;
}
.site-header.scrolled .site-nav a:hover {
  color: var(--primary);
}
.site-header.scrolled .nav-toggle span {
  background: #40464d;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.brand-logo {
  height: 42px;
  width: auto;
  transition: height 0.3s ease;
}
.site-header.scrolled .brand-logo {
  height: 36px;
}
.brand-name {
  color: var(--brand-red);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
}
.site-nav a {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.site-nav a:hover {
  border-bottom-color: var(--primary);
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-image: url("images/header.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: clamp(180px, 38vh, 400px) 24px 70px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
}
.hero h1 {
  font-size: clamp(36px, 7vw, 70px);
  line-height: 1.1;
  margin: 0 0 24px;
  font-weight: 700;
  letter-spacing: 1px;
}
.hero .tagline {
  font-size: clamp(20px, 3.5vw, 40px);
  font-weight: 300;
  line-height: 1.1;
  margin: 0;
}
.hero-separator {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 140px;
  display: block;
  z-index: 2;
  pointer-events: none;
}

/* === Sections === */
.section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  text-align: center;
  margin: 0 0 28px;
}
.section .subtitle {
  text-align: center;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* About */
.section-about {
  background: #fff;
}
.section-about p {
  max-width: 900px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: 18px;
  line-height: 1.7;
}

/* New Bikes (parallax-style dark) */
.section-bikes {
  color: #fff;
  padding: 100px 0;
}
.section-bikes .section-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/suzuki-hayabusa.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.section-bikes .section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 34, 23, 0.7);
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.logo-item img {
  max-width: 130px;
  max-height: 130px;
  width: 100%;
  transition: transform 0.2s ease;
}
.logo-item img:hover {
  transform: scale(1.05);
}

/* Services */
.section-services {
  background: var(--light-bg);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.service-item {
  text-align: center;
  padding: 16px;
}
.service-item img {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  object-fit: contain;
}
.service-item h3 {
  font-size: 16px;
  margin: 0;
  color: var(--text);
}

/* Contact */
.section-contact {
  color: #fff;
  padding: 100px 0;
}
.section-contact .section-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/shopfront.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.section-contact .section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.map-wrap {
  margin: 30px 0 50px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}
.contact-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #000;
  border: 2px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg {
  width: 20px;
  height: 20px;
}
.contact-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 4px 0 6px;
  letter-spacing: 1px;
}
.contact-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.contact-item a {
  color: inherit;
  display: inline-block;
  padding: 8px 0;
  min-height: 24px;
}
.contact-item a:hover {
  color: var(--primary);
  opacity: 1;
}
/* Stack the phone numbers as separate, comfortably-sized tap targets */
.phone-list a {
  display: block;
  width: fit-content;
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #aaa;
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: 99;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* === Responsive === */
@media (max-width: 960px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section-bikes .section-bg,
  .section-contact .section-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 720px) {
  .brand-name {
    font-size: 16px;
  }
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    color: #40464d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }
  .site-nav a {
    color: #40464d;
  }
  .site-nav a:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--primary);
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
  }
  .site-nav li {
    width: 100%;
  }
  .site-nav a {
    display: block;
    padding: 14px 24px;
    border-bottom: 0;
  }
  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .section {
    padding: 60px 0;
  }
  .section-about p {
    font-size: 16px;
  }
  .map-wrap iframe {
    height: 300px;
  }
}
