:root {
  --primary-color: #e10600; /* Automotive Red */
  --secondary-color: #0d0d0d; /* Deep Black */
  --accent-color: #ffffff;   /* White */
  --gray-dark: #1a1a1a;
  --gray-light: #2a2a2a;
  --gray-medium: #444;
  --box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  --transition: all 0.4s ease;
}

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

body {
  background: var(--gray-dark);
  color: var(--accent-color);
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------------- Header ---------------- */
header {
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(6px);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(225,6,0,0.3);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.logo-text-img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  font-size: 16px;
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--primary-color);
  position: absolute;
  left: 0;
  bottom: -4px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ---------------- Footer ---------------- */
footer {
  background: #000;
  color: #777;
  padding: 60px 20px 30px;
  text-align: center;
  border-top: 2px solid var(--primary-color);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: left;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.footer-column p,
.footer-column a {
  color: #999;
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.copyright {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-top: 1px solid var(--gray-medium);
  color: #777;
  font-size: 14px;
  padding: 20px 0; /* creates vertical space instead */
}

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }
}
