/* ============================================================
   VELOFORGE — MAIN CSS (Pearl White Luxury Theme)
   Inspired by Specialized S-Works, Factor Bikes, Pinarello
   ============================================================ */

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

:root {
  /* Pearl White Luxury Palette */
  --white: #ffffff;
  --pearl: #f8f7f4;        /* Warm Pearl White */
  --pearl2: #f1ede6;       /* Light Ivory */
  --pearl3: #e8e2d9;       /* Warm Stone */
  --light1: #d4cfc7;       /* Stone Gray */
  --light2: #b8b2a8;       /* Silver Gray */

  /* Carbon Blacks */
  --dark: #0a0a0b;
  --dark2: #111114;
  --dark3: #18181c;
  --dark4: #222227;
  --grey1: #333340;
  --grey2: #55556a;
  --grey3: #77778a;
  --grey4: #9999aa;
  --grey5: #ccccdd;

  /* Primary Accent: Carbon Black on White */
  --black: #0a0a0b;

  /* Accent Color — Racing Scarlet Red */
  --red: #c8102e;          /* Racing Scarlet */
  --red2: #e31837;         /* Vivid Red */
  --red3: #ff2244;         /* Bright Racing Red */
  --rglow: rgba(200, 16, 46, 0.25);

  /* Typography */
  --font-d: 'Bebas Neue', sans-serif;
  --font-p: 'Playfair Display', serif;
  --font-o: 'Outfit', sans-serif;
  --font-b: 'Space Grotesk', sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease2: cubic-bezier(0.87, 0, 0.13, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* Scroll Progress Bar */
#spbar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--red), var(--red2), var(--red3));
  z-index: 1000;
  width: 0%;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--pearl); }
::-webkit-scrollbar-thumb { background: var(--light1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ============================================================
   CUSTOM CURSOR (Scarlet Red on White)
   ============================================================ */
#cur-dot {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--red);
}

#cur-ring {
  position: fixed; top: 0; left: 0;
  width: 34px; height: 34px;
  border: 1.5px solid rgba(200, 16, 46, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease);
}

body.hov #cur-ring {
  width: 52px; height: 52px;
  border-color: var(--red);
  background: rgba(200, 16, 46, 0.04);
}
body.hov #cur-dot {
  transform: translate(-50%, -50%) scale(0.5);
}

/* ============================================================
   IMAGE TINTING (Minimal white background - keep cycle image natural teal/cyan,
   just sharpen contrast slightly)
   ============================================================ */
.img-cycle {
  filter: saturate(1.15) contrast(1.06) brightness(1.02);
  transition: filter 0.4s ease;
}
.img-cycle-dark {
  filter: saturate(1.2) contrast(1.1) brightness(0.95);
}

/* Gold metallic platform halo */
.bike-halo {
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 20px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.12) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

/* ============================================================
   TYPOGRAPHY & GLOBAL ELEMENTS
   ============================================================ */
h1, h2 {
  font-family: var(--font-d);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.9;
}

.text-red { color: var(--red); }
.text-light { color: var(--white); }

.sec-eyebrow {
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.sec-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--red);
}

.sec-title {
  font-size: clamp(44px, 6vw, 90px);
  line-height: 0.95;
  margin-bottom: 20px;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
}
@media(max-width: 768px) {
  .container { padding: 0 24px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  border: none;
  border-radius: 2px;
  position: relative;
  transition: all 0.4s var(--ease);
  z-index: 1;
}

/* Filled Red Button */
.btn-r {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 20px var(--rglow);
}
.btn-r:hover {
  background: var(--red2);
  box-shadow: 0 10px 30px var(--rglow);
  transform: translateY(-2px);
}

/* Black Outline Button */
.btn-blk {
  background: transparent;
  color: var(--black);
  border: 1.5px solid rgba(10,10,11,0.2);
}
.btn-blk:hover {
  border-color: var(--red);
  color: var(--red);
}

/* White Ghost Button (for dark backgrounds) */
.btn-wht {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-wht:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}
