/* ============================================================
   VOLT MOTORS - Responsive Master Stylesheet (cleaned)
   ============================================================ */

/* ---------------- 1. Global Reset & Variables ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-bg: #121212;
  --alt-bg: #1A1A1A;
  --accent-cyan: #00E5FF;
  --accent-turquoise: #0FACB0;
  --text-main: #F1EFEF;
  --text-dim: #B0B6BB;
  --text-graphite: #4A4A4C;
  --container-max: 1200px;
  --gutter: 20px;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------------- 2. Typography ---------------- */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #FFFFFF;
  letter-spacing: 1px;
  margin: 0 0 0.75rem 0;
}

p {
  color: var(--text-dim);
  margin-bottom: 1rem;
}

/* ---------------- 3. Navigation ---------------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(4, 4, 4, 0.95);
  padding: 1rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand {
  color: var(--accent-cyan);
  font-weight: bold;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.nav-links a:hover {
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* ---------------- 4. Hero Section ---------------- */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* Background Layers */
.video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video, .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) contrast(1.2);
}

/* Glow & Dust Overlay */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.3));
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* Glass effect container */
.glass-effect {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3rem 3.5rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 229, 255, 0.12);
  max-width: 760px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  z-index: 4;
}

/* Titles & subtitle */
.glow-title {
  font-size: clamp(2.2rem, 6vw, 5.5rem);
  font-weight: 900;
  color: var(--accent-cyan);
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow:
    0 0 10px rgba(0, 229, 255, 0.8),
    0 0 20px rgba(0, 229, 255, 0.4),
    0 0 40px rgba(0, 229, 255, 0.2);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  color: #B0B6BB;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  max-width: 560px;
  margin: 0 auto 1.5rem;
  letter-spacing: 0.4px;
}

/* CTA Buttons */
.btn-cyan {
  background: var(--accent-cyan);
  color: #121212;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-cyan:hover {
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.45);
  transform: translateY(-4px);
}

.btn-outline {
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 50px;
  transition: background 0.25s ease, color 0.25s ease;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--accent-cyan);
  color: #000;
}



/* ---------------- 5. Sections & Showroom ---------------- */
.section {
  padding: 100px 0;
  text-align: center;
}

.alt-bg {
  background-color: var(--alt-bg);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  margin-bottom: 1rem;
}

/* Image card style */
.sphere {
  border-radius: 20px;
  border: 1px solid var(--text-graphite);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  max-width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Profile layout */
.profile-layout {
  display: flex;
  align-items: center;
  gap: 3rem;
  text-align: left;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------- 6. Gallery ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  border: 1px solid var(--text-graphite);
  transition: transform 0.35s ease, filter 0.35s ease, border-color 0.35s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  border-color: var(--accent-cyan);
  filter: brightness(1.05);
}

/* ---------------- 7. Contact (uniform on mobile) ---------------- */
/* Layout: form + video side-by-side on desktop, stacked on mobile */
.contact-flex {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
}

/* Make both columns equal width and consistent spacing */
.contact-form {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 260px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  background: #1e1e1e;
  border: 1px solid #333;
  color: #fff;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 6px 18px rgba(0,229,255,0.06);
}

/* Video column */
.video-placeholder {
  flex: 1 1 420px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  height: 320px;
  border: 1px solid #333;
  min-width: 260px;
}

.video-placeholder iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Social icons */
.social-icons {
  margin-top: 28px;
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.social-icons a {
  color: var(--text-dim);
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: var(--accent-cyan);
  transform: translateY(-3px);
}

/* ---------------- 8. Moto Section ---------------- */
.moto-section {
  padding: 120px 0;
  overflow: hidden;
}

.moto-flex {
  display: flex;
  align-items: center;
  gap: 60px;
  text-align: left;
  justify-content: center;
  flex-wrap: wrap;
}

.moto-image {
  flex: 1 1 420px;
  position: relative;
  min-width: 260px;
}

.moto-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: grayscale(0.4) brightness(0.8);
  transition: filter 0.5s ease;
  border-radius: 12px;
}

.moto-image:hover img {
  filter: grayscale(0) brightness(1);
}

.moto-content {
  flex: 1 1 420px;
  min-width: 260px;
}

.moto-tagline {
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 3px;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 10px;
}

.moto-title {
  font-size: clamp(1.6rem, 3.6vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.moto-title .highlight {
  color: var(--accent-cyan);
  -webkit-text-stroke: 1px var(--accent-cyan);
  -webkit-text-fill-color: transparent;
}

.moto-description {
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.moto-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--text-graphite);
  padding-top: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.stat h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: #fff;
}

.stat p {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
}

/* ---------------- 9. Footer ---------------- */
.footer {
  background-color: var(--alt-bg);
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #222;
  color: var(--text-graphite);
  font-size: 0.85rem;
}

/* ---------------- 10. Responsive Breakpoints ---------------- */
/* Tablet and below */
@media (max-width: 992px) {
  .profile-layout, .contact-flex, .moto-flex {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .hero-overlay { padding: 1.5rem; }

  .glass-effect { padding: 2.25rem; border-radius: 20px; }

  .glow-title { font-size: clamp(2rem, 8vw, 4rem); }

  .contact-flex {
    gap: 20px;
    margin-top: 28px;
  }

  .contact-form, .video-placeholder, .moto-image, .moto-content {
    width: 100%;
    max-width: 720px;
  }

  .moto-image img { height: 360px; }
  .gallery-grid img { height: 200px; }
}

/* Mobile narrow screens */
@media (max-width: 600px) {
  .navbar { padding: 0.75rem 4%; }
  .brand { font-size: 1rem; }
  .nav-links { gap: 0.8rem; font-size: 0.85rem; }

  .glass-effect { padding: 1.5rem; border-radius: 16px; }
  .glow-title { font-size: clamp(1.6rem, 10vw, 2.6rem); letter-spacing: -0.5px; }

  /* Ensure contact form and video are uniform and full width */
  .contact-flex {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }

  .contact-form, .video-placeholder {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .contact-form input, .contact-form textarea {
    font-size: 0.95rem;
    padding: 12px;
  }

  .video-placeholder { height: 220px; }

  .moto-image img { height: 300px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* Smallest screens */
@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .glow-title { font-size: 2rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .nav-links { display: none; } /* optional: hide nav links on very small screens */
}
