/* style.css */

/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(180deg, #000000 0%, #000000ea 50%, #000000 100%);
  color: #233044;
  font-family: Arial, sans-serif;
}
header {
  background: linear-gradient(90deg, #0a6fb8, #0a5aa0);
}


/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000000ef;
  padding: 10px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo img {
  height: 50px;
}

.navbar {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #003c99;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #0a4db3;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: url('assets/hero-bg.jpg') center/cover no-repeat;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero .btn {
  padding: 12px 25px;
  background: #000000;
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

/* Section Titles */
.section {
  padding: 50px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #b30a0a;
}

/* Product Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card .card-body {
  padding: 15px;
}

.card .card-body h3 {
  margin-bottom: 8px;
  color: #ffffff;
}

.card .card-body p {
  margin-bottom: 10px;
}

.card .card-body .price {
  font-weight: 700;
  color: #00c3ff;
}

/* Video Section */
.video-container {
  text-align: center;
  margin-top: 20px;
}

.video-container iframe,
.video-container video {
  width: 100%;
  max-width: 700px;
  height: 400px;
  border-radius: 12px;
}

/* Factory Info */
.factory {
  background: #eaf6ff;
  padding: 25px;
  border-radius: 12px;
  margin-top: 30px;
}

/* Responsive */
@media(max-width:1024px){
  .grid { grid-template-columns: repeat(2,1fr); }
}

@media(max-width:768px){
  .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .video-container iframe,
  .video-container video { height: 220px; }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #000000;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    padding: 15px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-links li a {
    padding: 10px 0;
  }
}
/* Vehicle Categories Section */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.category-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 12px;
}

.category-card h3 {
  color: #000000;
  font-weight: 600;
}

/* Responsive */
@media(max-width:1024px){
  .categories-grid { grid-template-columns: repeat(2,1fr); }
}

@media(max-width:768px){
  .categories-grid { grid-template-columns: 1fr; }
}
.hero-slider {
  position: relative;
  height: 400px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero-text .btn {
  padding: 5px 12px;
  background: #b30a0a;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

/* Dots */
.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #b30a0a;
}

/* Responsive */
@media(max-width:768px){
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 1rem; }
  .hero-slider { height: 250px; }
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 0px; /* space between logo & name */
}

.logo-container img {
  height: 50px;
}

.logo-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff; /* blue color to match theme */
}
/* FOOTER */
footer {
  background: #021627;
  color: #fff;
  margin-top: 40px;
  padding: 30px 18px 15px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-col h3, .footer-col h4 {
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links li a {
  color: #cfe6ff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links li a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1); /* white icons */
  transition: transform 0.2s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

footer .copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #cfe6ff;
}
