html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    text-align: center;
    padding: 20px;
    background: linear-gradient(-45deg, #a084ee, #2563eb, #8f00ff, #000000, #434343);
    background-size: 600% 600%;
    background-attachment: fixed;
    animation: animateGradient 9s ease-in-out infinite;
}

/* This is the animation that makes the background colors move */
@keyframes animateGradient {
    0% { background-position: 0% 50%; }
    20% { background-position: 50% 100%; }
    40% { background-position: 100% 50%; }
    60% { background-position: 50% 0%; }
    80% { background-position: 0% 50%; }
    100% { background-position: 0% 50%; }
}

/* Style for the main title */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.9),
                 -1px -1px 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

/* --- The CSS Grid Container --- */
.garage-grid {
    column-count: 3;
    column-gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.car-card {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    background: rgba(224, 229, 236, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 6px 6px 12px rgba(163, 177, 198, 0.3),
                -6px -6px 12px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease-in-out;
    text-align: left;
    margin-bottom: 25px;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 10px 10px 18px rgba(163, 177, 198, 0.35),
                -10px -10px 18px rgba(255, 255, 255, 0.25);
}

.car-card img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.car-card h2 {
    color: #2c3e50;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
}

.car-card p {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #3d4a58;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.site-icon {
    width: 40px;
    height: 40px;
    margin-right: 16px;
    vertical-align: middle;
}

.site-icon-top-left {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .garage-grid {
        column-count: 2;
    }
}
@media (max-width: 600px) {
    .garage-grid {
        column-count: 1;
    }
}
