/* ─────────────────────────────────────────────
   CORRADO FAN CLUB — style.css
   ───────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:    #0D0D0D;
  --chrome:   #C0C0C0;
  --red:      #CC2200;
  --offwhite: #F0EDE8;
  --yellow:   #F5C400;
  --dark:     #141414;
  --mid:      #1A1A1A;
  --border:   rgba(192,192,192,0.08);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--offwhite);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* CRT scanlines */
body::after {
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 2px,
    rgba(0,0,0,0.13) 2px, rgba(0,0,0,0.13) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 3rem;
  background: linear-gradient(to bottom, rgba(13,13,13,0.96) 0%, transparent 100%);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem; letter-spacing: 0.2em;
  color: var(--chrome); text-decoration: none;
}
.nav-logo span { color: var(--red); }

nav ul { list-style: none; display: flex; gap: 2.5rem; }
nav ul a {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--chrome); text-decoration: none; opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
}
nav ul a:hover { opacity: 1; color: var(--yellow); }

.nav-fb {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--offwhite); text-decoration: none;
  border: 1px solid rgba(192,192,192,0.25);
  padding: 0.5rem 1.2rem;
  transition: border-color 0.2s, color 0.2s;
}
.nav-fb:hover { border-color: var(--chrome); color: var(--yellow); }

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 3rem 5rem;
}

/* Uncomment when you have a photo:
.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 60%; background-repeat: no-repeat;
}
.hero-bg-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(13,13,13,0.75) 0%,
    rgba(13,13,13,0.10) 40%,
    rgba(13,13,13,0.60) 85%,
    rgba(13,13,13,0.97) 100%
  );
}
*/

.hero-bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 55%, rgba(204,34,0,0.07) 0%, transparent 70%),
    linear-gradient(160deg, #111 0%, #0D0D0D 100%);
}

.hero-year-badge {
  position: absolute; top: 50%; left: 3rem; transform: translateY(-50%);
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(192,192,192,0.2); z-index: 2;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 14vw, 13rem); line-height: 0.88;
  color: var(--offwhite);
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
  opacity: 0; animation: fadeUp 0.8s ease 0.6s forwards;
}
.hero-title .accent { color: var(--red); }

.hero-sub {
  margin-top: 1.5rem; font-size: 0.95rem; font-weight: 300;
  color: var(--chrome); max-width: 460px; line-height: 1.75;
  opacity: 0; animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-cta {
  margin-top: 2.5rem; display: flex; gap: 1rem;
  opacity: 0; animation: fadeUp 0.8s ease 1.0s forwards;
}

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  z-index: 2; opacity: 0; animation: fadeUp 1s ease 1.4s forwards;
}
.scroll-indicator span {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(192,192,192,0.3);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(192,192,192,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--red); color: var(--offwhite);
  border: none; padding: 0.9rem 2.2rem;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #e02a00; transform: translateY(-2px); }

.btn-ghost {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  background: transparent; color: var(--chrome);
  border: 1px solid rgba(192,192,192,0.3); padding: 0.9rem 2.2rem;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--chrome); color: var(--offwhite); transform: translateY(-2px); }

/* ── SPEC STRIP ──────────────────────────────── */
.spec-strip {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.spec-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec-item {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
}
.spec-item:last-child { border-right: none; }
.spec-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.6rem;
}
.spec-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; color: var(--offwhite); line-height: 1;
}
.spec-unit {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem; color: var(--chrome); margin-top: 0.3rem; opacity: 0.6;
}

/* ── LAYOUT HELPERS ──────────────────────────── */
.section-wrap { max-width: 1400px; margin: 0 auto; padding: 7rem 3rem; }
.section-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1;
  color: var(--offwhite); margin-bottom: 2rem;
}

/* ── HISTORY ─────────────────────────────────── */
.history-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.history-text p {
  font-size: 1rem; line-height: 1.8;
  color: rgba(240,237,232,0.72); margin-bottom: 1.2rem;
}
.history-text p strong { color: var(--offwhite); }

.timeline-item {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 1.5rem; padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:first-child { border-top: 1px solid var(--border); }
.timeline-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; color: var(--yellow); line-height: 1; padding-top: 0.15rem;
}
.timeline-desc {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem; line-height: 1.7;
  color: var(--chrome); opacity: 0.7;
}
.timeline-desc strong {
  display: block; color: var(--offwhite);
  font-size: 0.75rem; margin-bottom: 0.3rem; opacity: 1;
}

/* ── PHOTO BREAK ─────────────────────────────── */
.photo-break {
  position: relative; height: 55vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.photo-break-2 { height: 45vh; }

/* When photo is added:
.photo-break-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%; background-repeat: no-repeat;
}
.photo-break-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(13,13,13,0.85) 0%,
    rgba(13,13,13,0.25) 40%,
    rgba(13,13,13,0.25) 60%,
    rgba(13,13,13,0.9) 100%
  );
}
*/

.photo-break-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #111 0%, #0D0D0D 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
/* animated retro grid in placeholder */
.photo-break-placeholder::before {
  content: '';
  position: absolute; inset: -50%;
  background-image:
    linear-gradient(rgba(204,34,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,34,0,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(40deg);
  animation: gridScroll 10s linear infinite;
}
.ph-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(192,192,192,0.2); position: relative; z-index: 1;
}

.photo-break-quote {
  position: relative; z-index: 2; text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.5rem); letter-spacing: 0.08em; line-height: 1.1;
  color: var(--offwhite); text-shadow: 0 2px 30px rgba(0,0,0,0.8);
  pointer-events: none;
}
.photo-break-quote span { color: var(--red); }

/* ── MODELS ──────────────────────────────────── */
.models-section { background: var(--dark); }
.models-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5px; background: rgba(192,192,192,0.07);
}
.model-card {
  background: var(--dark); padding: 2.5rem;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.model-card:hover { background: #1e1e1e; }
.model-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--red);
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}
.model-card:hover::after { width: 100%; }

.model-engine {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.8rem;
}
.model-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem; color: var(--offwhite); line-height: 1; margin-bottom: 0.3rem;
}
.model-power {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; color: var(--yellow);
}
.model-desc {
  margin-top: 1.2rem; font-size: 0.83rem; line-height: 1.75;
  color: rgba(192,192,192,0.65);
}
.model-bg {
  position: absolute; right: -0.5rem; bottom: -1rem;
  font-family: 'Bebas Neue', sans-serif; font-size: 9rem;
  color: rgba(255,255,255,0.025); line-height: 1; pointer-events: none;
}

/* ── GALLERY PLACEHOLDER ─────────────────────── */
.gallery-coming {
  font-size: 0.9rem; line-height: 1.7;
  color: rgba(192,192,192,0.5); margin-bottom: 2rem;
}
.gallery-coming span {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem; color: var(--red);
}

.gallery-placeholder-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 3px;
}
.gallery-ph-item { overflow: hidden; }
.gallery-ph-item:first-child { grid-row: 1 / 3; }

.gallery-ph-inner {
  width: 100%; height: 100%; position: relative;
  background: linear-gradient(135deg, #161616, #111);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.gallery-ph-grid-anim {
  position: absolute; inset: -50%;
  background-image:
    linear-gradient(rgba(204,34,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,34,0,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(400px) rotateX(40deg);
  animation: gridScroll 8s linear infinite;
}
.gallery-ph-text {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(192,192,192,0.2); position: relative; z-index: 1;
}

/* ── COMMUNITY ───────────────────────────────── */
.community-box {
  border: 1px solid rgba(192,192,192,0.1); padding: 4rem;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 3rem;
  position: relative; overflow: hidden;
}
.community-box::before {
  content: 'CORRADO'; font-family: 'Bebas Neue', sans-serif; font-size: 12rem;
  position: absolute; right: -1rem; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.02); pointer-events: none; line-height: 1; white-space: nowrap;
}
.community-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; line-height: 1; color: var(--offwhite);
}
.community-desc {
  margin-top: 1rem; font-size: 0.88rem; line-height: 1.75;
  color: rgba(192,192,192,0.65); max-width: 500px;
}
.community-cta { margin-top: 2rem; }

.community-stats {
  display: flex; flex-direction: column; gap: 1.8rem;
  min-width: 200px; position: relative; z-index: 1;
}
.c-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; color: var(--yellow); line-height: 1;
}
.c-stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--chrome); margin-top: 0.2rem; opacity: 0.6;
}

/* ── COMMUNITY VISUAL ────────────────────────── */
.community-visual {
  position: relative; height: 50vh; overflow: hidden;
}
/* When photo is added:
.community-visual-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%; background-repeat: no-repeat;
}
.community-visual-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(13,13,13,0.7) 0%, rgba(13,13,13,0.1) 40%, rgba(13,13,13,0.7) 100%
  );
}
*/
.community-visual-text {
  position: absolute; bottom: 2.5rem; left: 3rem; z-index: 2;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(192,192,192,0.4);
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: #080808;
  border-top: 1px solid rgba(192,192,192,0.06);
  padding: 3rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem; letter-spacing: 0.2em; color: rgba(192,192,192,0.25);
}
.footer-logo span { color: rgba(204,34,0,0.4); }
.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem; color: rgba(192,192,192,0.2); letter-spacing: 0.1em;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(192,192,192,0.25); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--chrome); }

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}
@keyframes gridScroll {
  from { transform: perspective(500px) rotateX(40deg) translateY(0); }
  to   { transform: perspective(500px) rotateX(40deg) translateY(60px); }
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  nav ul, .nav-fb { display: none; }
  .spec-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .history-grid { grid-template-columns: 1fr; gap: 3rem; }
  .models-grid { grid-template-columns: 1fr; }
  .gallery-placeholder-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-ph-item:first-child { grid-row: auto; }
  .community-box { grid-template-columns: 1fr; }
  .community-stats { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  nav { padding: 1rem 1.5rem; }
  .section-wrap { padding: 5rem 1.5rem; }
  .hero { padding: 0 1.5rem 4rem; }
}
