/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

/* Top Bar */
.top-bar {
    font-size: 0.85rem;
}

.top-bar a {
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #dc3545 !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e1e1e 0%, #3a3a3a 100%);
    padding: 2rem 0;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Section Titles */
.section-title {
    font-weight: 700;
    font-size: 2rem;
    color: #333;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #dc3545;
}

/* Motor Cards */
.motor-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.motor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-img-wrapper {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.motor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.motor-card:hover img {
    transform: scale(1.1);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
    margin: 0.5rem 0;
}

/* Buttons */
.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    transition: all 0.3s;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
    transition: all 0.3s;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

/* Cards */
.card {
    border-radius: 10px;
    border: none;
}

.card.shadow {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Forms */
.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0.75rem;
}

.form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Footer */
footer {
    margin-top: 3rem;
}

footer h5, footer h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

footer a {
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #dc3545 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 1rem 0;
    }
    
    .top-bar .col-md-6:last-child {
        text-align: center !important;
        margin-top: 0.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.motor-card {
    animation: fadeInUp 0.6s ease-out;
}

.motor-card:nth-child(1) { animation-delay: 0.1s; }
.motor-card:nth-child(2) { animation-delay: 0.2s; }
.motor-card:nth-child(3) { animation-delay: 0.3s; }
.motor-card:nth-child(4) { animation-delay: 0.4s; }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
