/* ============================================================
   TEKNIK MOTORS — Main Stylesheet
   Authorized Royal Enfield Dealership, Indiranagar, Bengaluru
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@300;400;500;600&family=Bebas+Neue&display=swap');

/* ── Reset & Root ─────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black:      #0d0d0d;
  --charcoal:   #161616;
  --surface:    #1e1e1e;
  --red:        #D71920;
  --red-dark:   #a81218;
  --white:      #f5f5f0;
  --muted:      #888888;
  --border:     rgba(255, 255, 255, 0.08);

  --font-display:  'Bebas Neue', sans-serif;
  --font-serif:    'Playfair Display', serif;
  --font-body:     'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Typography helpers ───────────────────────────────────── */
.section-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-body {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 560px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: white;
  border: none;
  padding: 16px 36px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 16px 36px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-white {
  display: inline-block;
  background: white;
  color: var(--red);
  border: none;
  padding: 16px 32px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
}
.btn-white:hover {
  background: rgba(255, 255, 255, 0.88);
}

.btn-white-outline {
  display: inline-block;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 16px 32px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
}
.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0 48px;
}

/* ── NAV ──────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
  transition: background 0.3s, backdrop-filter 0.3s, border-bottom 0.3s;
}
nav.scrolled {
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--white);
}
.nav-logo span {
  color: var(--red);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--red);
}

.nav-cta {
  background: var(--red);
  color: white;
  border: none;
  padding: 10px 22px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
}
.nav-cta:hover {
  background: var(--red-dark);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background-color: #0d0d0d;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  display: block;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.20) 50%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}

.hero-ring {
  display: none;
}
.hero-ring::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(215, 25, 32, 0.10);
}
.hero-ring::after {
  content: '';
  position: absolute;
  inset: 120px;
  border-radius: 50%;
  border: 1px solid rgba(215, 25, 32, 0.08);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 80px;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.hero-title .red {
  color: var(--red);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 48px;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: var(--muted);
}

/* ── TICKER ───────────────────────────────────────────────── */
.ticker {
  background: var(--red);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
}
.ticker-inner {
  display: inline-block;
  animation: ticker 22s linear infinite;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: white;
}
.ticker-sep {
  margin: 0 28px;
  opacity: 0.5;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SECTIONS common ──────────────────────────────────────── */
section {
  padding: 96px 48px;
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about {
  background: var(--charcoal);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 420px;
  background: linear-gradient(135deg, #1a0808 0%, #0d0d0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-visual::before {
  content: 'RE';
  font-family: var(--font-display);
  font-size: 22rem;
  color: rgba(215, 25, 32, 0.06);
  position: absolute;
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
}

.about-badge {
  position: relative;
  z-index: 1;
  text-align: center;
}
.about-badge .monogram {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--red);
  line-height: 1;
}
.about-badge .monogram-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

.about-corner {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}
.about-corner-tl {
  position: absolute;
  top: 24px; left: 24px;
  width: 48px; height: 48px;
  border-left: 2px solid var(--red);
  border-top: 2px solid var(--red);
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ── BIKES ────────────────────────────────────────────────── */
.bikes {
  background: var(--black);
}

.bikes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 56px;
}

.bike-card {
  background: var(--charcoal);
  padding: 36px 28px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.bike-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform 0.25s;
  transform-origin: bottom;
}
.bike-card:hover {
  background: #202020;
}
.bike-card:hover::before {
  transform: scaleY(1);
}

.bike-cc {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 8px;
}
.bike-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.bike-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}
.bike-arrow {
  margin-top: 24px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

/* ── WHY ──────────────────────────────────────────────────── */
.why {
  background: var(--surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 56px;
}

.why-card {
  background: var(--charcoal);
  padding: 36px 24px;
}
.why-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.why-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.why-text {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CTA BAR ──────────────────────────────────────────────── */
.cta-bar {
  background: var(--red);
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-bar-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.06em;
}
.cta-bar-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}
.cta-bar-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── CONTACT ──────────────────────────────────────────────── */
.contact {
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(215, 25, 32, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-value {
  font-size: 0.9rem;
  color: var(--white);
  line-height: 1.5;
}

.contact-map {
  background: var(--surface);
  height: 420px;
  position: relative;
  overflow: hidden;
}
.map-embed {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(60%) invert(92%) contrast(83%);
}
.map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid var(--border);
}

.contact-actions {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  padding: 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.1em;
}
.footer-brand .logo span {
  color: var(--red);
}
.footer-tagline {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.06em;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
  align-self: center;
}
.footer-links a {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-copy {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ── FLOATING BUTTONS ─────────────────────────────────────── */
.float-btns {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
}
.float-btn:hover {
  transform: scale(1.1);
}
.float-wa  { background: #25D366; }
.float-call { background: var(--red); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
  }
  .nav-links {
    display: none;
  }

  section {
    padding: 64px 20px;
  }
  .divider {
    margin: 0 20px;
  }

  .hero-content {
    padding: 0 20px 60px;
  }
  .hero-ring {
    display: none;
  }
  .hero-scroll {
    display: none;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats {
    gap: 24px;
  }

  .bikes-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-bar {
    padding: 40px 20px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-map {
    height: 300px;
  }

  footer {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    text-align: center;
  }
}
