@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

* { box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; margin: 0; background-color: #f8f9fa; color: #333; }

/* --- HEADER --- */
header {
    background: #222;
    color: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffc107;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

header nav { display: flex; gap: 20px; flex-wrap: wrap; }

header nav a {
    color: #ddd;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s;
}

header nav a:hover, header nav a.active { color: #ffc107; }

/* --- CONTAINER --- */
.container { width: 90%; max-width: 1200px; margin: 40px auto; }
.page-title { text-align: center; margin-bottom: 40px; font-size: 28px; color: #444; font-weight: 300; }

/* --- PRODUCTS GRID --- */
.products { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }

/* --- CARD DESIGN --- */
a.card-link { text-decoration: none; color: inherit; display: block; }

.card {
    background: white;
    border-radius: 15px;
    width: 300px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 20px; }

.badge {
    background: #ffc107;
    color: #000;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.card h3 { margin: 5px 0; font-size: 18px; color: #222; }
.price { font-size: 18px; color: #28a745; font-weight: bold; margin-top: 10px; display: block; }

.fake-btn {
    display: block;
    background: #f1f1f1;
    color: #333;
    text-align: center;
    padding: 10px;
    margin-top: 15px;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s;
}
.card:hover .fake-btn { background: #222; color: white; }

/* --- CART & ABOUT --- */
.cart-wrapper, .about-wrapper {
    display: flex;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex-wrap: wrap;
}
.about-wrapper { align-items: center; justify-content: center; }

.car-details { flex: 1; min-width: 300px; }
.car-details img { width: 100%; border-radius: 15px; margin-bottom: 20px; }
.order-box { width: 350px; background: #f8f9fa; padding: 30px; border-radius: 15px; border: 1px solid #eee; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #555; }
.form-group input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; }
.order-btn { width: 100%; background: #28a745; color: white; border: none; padding: 15px; font-size: 16px; font-weight: bold; border-radius: 8px; cursor: pointer; }
.about-img { width: 300px; height: 300px; object-fit: cover; border-radius: 50%; border: 5px solid #ffc107; }
.about-text { flex: 1; max-width: 600px; }
.success-msg { text-align: center; padding: 50px; background: #d4edda; color: #155724; border-radius: 15px; width: 100%; }