/* Global */
html {
    scroll-behavior: smooth;
}
body {
    background: #0d0d0d;  /* base layer */
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0,170,255,0.08), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0,170,255,0.05), transparent 40%);

    font-family: 'Poppins', sans-serif;
}
* {
    box-sizing: border-box;
}

/* Layout */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 40px;
    width: 100%;
    box-sizing: border-box;

}


/* Sections */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;

    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(10px);

    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    color: white;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

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

.nav-links a {
    text-decoration: none;
    color: #aaa;
    transition: 0.3s;
    position: relative;
    padding-bottom: 4px;
}

.nav-btn {
    background: linear-gradient(45deg, #00aaff, #0077ff);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}


.hero {
    text-align: center;
    padding: 100px 20px 80px;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.hero h1 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1px;
}

.hero p {
    font-size: 16px;
    color: #aaa;
    margin: 15px 0 25px;
    line-height: 1.6;
}

.hero button {
    background: linear-gradient(45deg, #00aaff, #0077ff);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,170,255,0.15), transparent 70%);
    z-index: -1;
}

.cars {
    padding: 60px 40px;
    text-align: center;
    color: white;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.cars h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #111;
    color: white;
    margin-top: 40px;
}


/* Components */
.card {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    margin: 0;
    min-height: 380px;
    max-width: none;
    transition: all 0.3s ease;
    transform: translateZ(0);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 170, 255, 0.1);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.card img {
    width: 100%;
    border-radius: 10px;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card h2 {
    margin: 10px 0 5px;
    font-size: 18px;
    margin-bottom: 8px;
}

.cars h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #00aaff;
    margin: 10px auto 0;
}

.card button {
    width: 100%;
    background: linear-gradient(45deg, #00aaff, #0077ff);
    border: none;
    padding: 10px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}



/* Specific */
.specs {
    color: #00aaff;
    font-weight: bold;
}

.desc {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
}


/* States */
.nav-links a:hover {
    color: #00aaff;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #00aaff;
    transition: 0.3s;
}

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

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,170,255,0.3);
}

.hero button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,170,255,0.4);
}

.card:hover {
    background-color: #2a2a2a;
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 170, 255, 0.2);
}

.card button:hover {
    opacity: 0.9;
}

.card button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}