/* =========================================
   KROSS AUTO ENTERPRISES — Main Stylesheet
   ========================================= */

:root {
  --primary:   #c8102e;   /* Bold red — automotive energy */
  --dark:      #0d0d0d;
  --dark-alt:  #1a1a1a;
  --grey:      #2c2c2c;
  --light-grey:#f5f5f5;
  --white:     #ffffff;
  --accent:    #e8b800;   /* Gold accent */
  --text-muted:#888888;
  --transition: 0.3s ease;
  --radius:    8px;
  --shadow:    0 4px 24px rgba(0,0,0,0.12);
}

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

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.65;
}

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

/* ----- Utility ----- */
.container { max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}
.section-title span { color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: #a50d24; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* ----- NAVBAR ----- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,13,13,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.brand-icon {
  width: 42px; height: 42px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .04em;
  line-height: 1.1;
}
.brand-sub {
  font-size: .65rem;
  color: var(--accent);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: .45rem 1.1rem;
  border-radius: var(--radius);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: #a50d24 !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--dark-alt);
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 1rem 1.25rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,.04); padding-left: 1.5rem; }

/* ----- HERO ----- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, #1c0a0f 50%, #2a0a14 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(200,16,46,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(232,184,0,.08) 0%, transparent 40%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(200,16,46,.15);
  border: 1px solid rgba(200,16,46,.3);
  color: #ff6b7a;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-title .highlight {
  color: var(--primary);
  position: relative;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; }
.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
}
.stat-number span { color: var(--accent); }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  backdrop-filter: blur(16px);
}
.hero-card-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
}
.hero-card h3 { color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.hero-card p { color: rgba(255,255,255,.55); font-size: .88rem; margin-bottom: 1.25rem; }
.hero-card-features { display: flex; flex-direction: column; gap: .6rem; }
.hero-card-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.75);
  font-size: .88rem;
}
.hero-card-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: rgba(200,16,46,.2);
  color: #ff6b7a;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ----- ABOUT ----- */
.about { padding: 6rem 0; background: var(--white); }
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #2a0a14 100%);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}
.about-img-wrap .big-icon { font-size: 5rem; }
.about-img-wrap p { color: rgba(255,255,255,.6); font-size: .9rem; }
.about-badge {
  position: absolute;
  bottom: -1.25rem; right: -1.25rem;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge .number { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.about-badge .label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.about-content { padding-left: 1rem; }
.about-content .section-title { margin-bottom: 1rem; }
.about-desc { color: #555; margin-bottom: 1.5rem; font-size: .97rem; }
.about-points { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 2rem; }
.about-point {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.about-point-icon {
  width: 40px; height: 40px;
  background: rgba(200,16,46,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.about-point-text h4 { font-weight: 700; margin-bottom: .2rem; font-size: .95rem; }
.about-point-text p { color: #666; font-size: .88rem; }

/* ----- SERVICES ----- */
.services { padding: 6rem 0; background: var(--light-grey); }
.services-header { text-align: center; margin-bottom: 3.5rem; }
.services-header .section-title { margin-bottom: .75rem; }
.services-header p { color: #666; max-width: 540px; margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: rgba(200,16,46,.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; }
.service-card p { color: #666; font-size: .88rem; line-height: 1.6; }

/* ----- WHY CHOOSE US ----- */
.why { padding: 6rem 0; background: var(--dark); }
.why .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-content .section-title { color: var(--white); margin-bottom: 1rem; }
.why-content .section-title span { color: var(--accent); }
.why-desc { color: rgba(255,255,255,.6); margin-bottom: 2rem; font-size: .97rem; }
.why-features { display: flex; flex-direction: column; gap: 1.1rem; }
.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.why-feature-icon {
  width: 44px; height: 44px;
  background: rgba(200,16,46,.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.why-feature-text h4 { color: var(--white); font-weight: 700; margin-bottom: .25rem; font-size: .95rem; }
.why-feature-text p { color: rgba(255,255,255,.5); font-size: .85rem; }

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.why-stat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition);
}
.why-stat-card:hover { background: rgba(200,16,46,.1); border-color: rgba(200,16,46,.3); }
.why-stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: .4rem;
}
.why-stat-number em { color: var(--accent); font-style: normal; }
.why-stat-label { font-size: .78rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; }

/* ----- CONTACT ----- */
.contact { padding: 6rem 0; background: var(--white); }
.contact-header { text-align: center; margin-bottom: 3.5rem; }
.contact-header .section-title { margin-bottom: .75rem; }
.contact-header p { color: #666; max-width: 500px; margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--light-grey);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.05);
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card-icon {
  width: 50px; height: 50px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-card-body h4 { font-weight: 700; margin-bottom: .3rem; font-size: .95rem; }
.contact-card-body a, .contact-card-body p { color: #555; font-size: .9rem; }
.contact-card-body a:hover { color: var(--primary); }

.contact-form-wrap {
  background: var(--dark);
  border-radius: 20px;
  padding: 2.5rem;
}
.contact-form-wrap h3 { color: var(--white); font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  color: var(--white);
  font-size: .93rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
  background: rgba(200,16,46,.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--dark-alt); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; margin-top: .5rem; justify-content: center; padding: .9rem; font-size: 1rem; }

/* ----- FOOTER ----- */
.footer { background: var(--dark-alt); border-top: 1px solid rgba(255,255,255,.06); }
.footer-main {
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand .brand-icon { margin-bottom: .75rem; }
.footer-brand .brand-name { color: var(--white); font-size: 1rem; }
.footer-brand .brand-sub { color: var(--accent); }
.footer-tagline { color: rgba(255,255,255,.45); font-size: .85rem; margin-top: .75rem; max-width: 220px; line-height: 1.6; }
.footer-col h4 { color: var(--white); font-weight: 700; font-size: .9rem; margin-bottom: 1.1rem; letter-spacing: .05em; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { color: rgba(255,255,255,.5); font-size: .85rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--white); padding-left: .3rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: .7rem; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .82rem;
}
.footer-contact-item span:first-child { flex-shrink: 0; margin-top: .1rem; }
.footer-contact-item a { color: rgba(255,255,255,.5); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy { color: rgba(255,255,255,.35); font-size: .8rem; }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: rgba(255,255,255,.4); font-size: .8rem; transition: var(--transition); }
.footer-links a:hover { color: rgba(255,255,255,.8); }

/* ----- INNER PAGE (Privacy / T&C) ----- */
.inner-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1c0a0f 100%);
  padding: 8rem 0 4rem;
  text-align: center;
}
.inner-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: .5rem; }
.inner-hero p { color: rgba(255,255,255,.55); font-size: .95rem; }

.inner-content { padding: 4rem 0 6rem; }
.inner-content .container { max-width: 820px; }
.policy-section { margin-bottom: 3rem; }
.policy-section h2 { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: .9rem; padding-bottom: .5rem; border-bottom: 2px solid var(--light-grey); }
.policy-section h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 1rem 0 .5rem; }
.policy-section p { color: #555; margin-bottom: .85rem; font-size: .93rem; line-height: 1.75; }
.policy-section ul { margin: .5rem 0 1rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; }
.policy-section ul li { color: #555; font-size: .93rem; list-style: disc; }
.last-updated { display: inline-flex; align-items: center; gap: .4rem; background: var(--light-grey); padding: .5rem 1rem; border-radius: 100px; font-size: .8rem; color: #666; margin-bottom: 2.5rem; }

/* ----- SCROLL TO TOP ----- */
#scrollTop {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(200,16,46,.4);
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}
#scrollTop.visible { opacity: 1; visibility: visible; }
#scrollTop:hover { transform: translateY(-3px); }

/* ----- ANIMATIONS ----- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-delay-1 { animation-delay: .15s; }
.fade-up-delay-2 { animation-delay: .3s; }
.fade-up-delay-3 { animation-delay: .45s; }

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero .container { grid-template-columns: 1fr; padding-block: 3.5rem 2.5rem; }
  .hero-visual { display: none; }
  .about .container { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .about-content { padding-left: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why .container { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 1.25rem; }
  .why-stats { grid-template-columns: 1fr; }
}
