/* =============================== GLOBALIS ALAPOK ================================ */
* { box-sizing:border-box; margin:0; padding:0; }
body { font-family: 'Roboto', sans-serif; background:#0d0d0d; color:#fff; line-height:1.6; }

/* =============================== HEADER & MENÜ ================================ */
header { background:#b30000; color:#fff; padding:15px 20px; display:flex; align-items:center; justify-content: space-between; }
.header-left { display:flex; align-items:center; }
.header-left img { height:50px; margin-right:10px; }
.menu-icon { display:none; cursor:pointer; font-size:28px; }

nav{
  display:flex;
  justify-content:center;
  background:#111;
  flex-wrap:wrap;
}
nav a{
  color:#fff;
  padding:12px 20px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}
nav a:hover{background:#ff1a1a; border-radius:5px;}
nav.active a{display:block;}

/* =============================== KONTAINER & KÁRTYÁK ================================ */
.container{padding:20px; max-width:1200px; margin:auto;}
.card{
  background:#1a1a1a;
  padding:20px;
  margin-bottom:20px;
  border-left:5px solid #b30000;
  border-radius:6px;
  box-shadow:0 4px 6px rgba(0,0,0,0.5);
}

/* =============================== GOMBOK, INPUTOK ================================ */
button, select, input, textarea{
  width:100%;
  padding:12px;
  margin:6px 0;
  background:#262626;
  color:#fff;
  border:1px solid #b30000;
  border-radius:5px;
  cursor:pointer;
  transition:0.3s;
}
button:hover{background:#ff1a1a;}

/* =============================== CÍMEK, LISTÁK, BEVEZETŐ ================================ */
h2,h3{margin-bottom:10px; color:#ff1a1a;}
ul{list-style:none;}
ul li{margin-bottom:8px;}
#intro{background:#111; padding:40px; text-align:center; border-radius:6px; margin-bottom:30px;}

/* =============================== FOOTER ================================ */
footer{
  background:#111;
  text-align:center;
  padding:15px;
  margin-top:30px;
  border-top:1px solid #b30000;
  font-size:0.9rem;
}

/* =============================== KÉPEK ================================ */
img { max-width:100%; height:auto; border-radius:6px; }

/* =============================== ELADÓ AUTÓK KÁRTYÁK ================================ */
.car-card{
  border:1px solid #900;
  padding:10px;
  margin:10px;
  text-align:center;
  background:#000;
  color:#fff;
  border-radius:10px;
  box-shadow:0 4px 6px rgba(0,0,0,0.5);
}
.car-card img{
  width:200px;
  border-radius:5px;
}
.car-card button{
  background:#900;
  color:#fff;
  border:none;
  padding:5px 10px;
  margin-top:5px;
  cursor:pointer;
  border-radius:5px;
}
.car-card button:hover{
  background:#f00;
}

/* =============================== KOSÁR & SZÁLLÍTÁS ================================ */
#cart li{
  border-bottom:1px solid #444;
  padding:6px 0;
}
#subtotal, #shippingCost, #total{
  font-weight:bold;
  color:#ff1a1a;
}

/* =============================== MOBIL ================================ */
@media(max-width:768px){
  .menu-icon{display:block;}
  nav{flex-direction:column;}
  nav a{display:none; padding:15px;}
  #city, #zip, #place, #addressBox, button, select, input, textarea{width:100%;}
  .car-card img{width:100%;}
}
