/* =========================================
   Umbra Motors — styles.css
   Dark, sleek, automotive aesthetic
   ========================================= */

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

:root {
  --black:      #0a0a0a;
  --dark:       #111111;
  --dark-2:     #1a1a1a;
  --dark-3:     #242424;
  --border:     rgba(255,255,255,0.08);
  --accent:     #c8a97e;      /* warm gold */
  --accent-2:   #e8c99e;
  --white:      #f5f5f5;
  --muted:      #888888;
  --font-head:  'Syne', sans-serif;
  --font-body:  'Inter', sans-serif;
  --nav-h:      72px;
  --max-w:      1200px;
  --radius:     8px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Utility --- */
.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }
.section { padding: 100px 0; }

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section Typography --- */
.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.section__title span { color: var(--accent); }
.section__subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
}
.section__header { text-align: center; margin-bottom: 60px; }
.section__header .section__subtitle { margin: 0 auto; }

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
}
.nav__logo span { color: var(--accent); }
.nav__links {
  display: flex;
  gap: 36px;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  letter-spacing: 0.03em;
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 22px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.nav__cta:hover { background: var(--accent); color: var(--black); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(16px);
  z-index: 99;
  padding: 24px 5%;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 20px; }
.mobile-menu a { font-size: 1.1rem; font-weight: 500; color: var(--muted); }
.mobile-menu a:hover { color: var(--white); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(200,169,126,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 60% 80% at 10% 80%, rgba(200,169,126,0.06) 0%, transparent 60%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  padding: 0 24px;
  animation: fadeUp 1s ease 0.2s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}
.hero__title span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero__scroll-indicator span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn--primary {
  background: var(--accent);
  color: var(--black);
}
.btn--primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,126,0.3);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.btn--full { width: 100%; }

/* =============================================
   ABOUT
   ============================================= */
.about { background: var(--black); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__visual {
  position: relative;
  height: 420px;
}
.about__shape {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}
.about__shape::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,126,0.12) 0%, transparent 70%);
}
.about__car-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  display: block;
}
.about__card {
  position: absolute;
  z-index: 2;
  background: rgba(26,26,26,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.about__card--1 { bottom: 32px; left: -20px; animation-delay: 0s; }
.about__card--2 { top: 40px; right: -20px; animation-delay: 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.about__card-icon { font-size: 1.25rem; }

.about__body {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about__values {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about__values li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--white);
}
.about__value-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* =============================================
   SERVICES
   ============================================= */
.services { background: var(--dark); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  border-color: rgba(200,169,126,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.service-card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}
.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
  transition: gap var(--transition);
}
.service-card__link:hover { color: var(--accent-2); }

/* =============================================
   CONTACT / INSTAGRAM
   ============================================= */
.contact { background: var(--black); }
.contact__instagram {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.contact__body {
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.75;
}
.instagram__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 50px;
  letter-spacing: 0.03em;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.instagram__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(253,29,29,0.3);
  opacity: 0.92;
}
.instagram__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__brand p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.footer__links {
  display: flex;
  gap: 28px;
}
.footer__links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: #555;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .about__grid { grid-template-columns: 1fr; gap: 60px; }
  .about__visual { height: 300px; }
  .about__card--1 { left: 0; }
  .about__card--2 { right: 0; }

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

  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__form { padding: 28px 24px; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}

@media (max-width: 480px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .hero__title { font-size: 2.8rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
}
