/* ============================================
   BAJAJ DEALER - Custom Stylesheet
   Stack: Bootstrap 5 + Custom CSS
   ============================================ */

/* ---- GLOBAL ---- */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1a1a1a;
}

a {
    transition: color 0.2s, opacity 0.2s;
}

/* ---- HERO SECTION ---- */
.hero-section {
    min-height: 85vh;
    background: linear-gradient(135deg, #111 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 55%;
    height: 100%;
    background: url('/static/images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.25;
}

/* ---- NAVBAR ---- */
.navbar-brand {
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.92rem;
}

.navbar .btn-warning {
    font-size: 0.88rem;
    border-radius: 6px;
}

/* ---- BIKE CARDS ---- */
.bike-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bike-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
}

.bike-img {
    height: 220px;
    object-fit: cover;
    background: #f8f9fa;
}

.bike-img-placeholder {
    height: 220px;
}

/* ---- QUICK ACTION CARDS ---- */
.quick-action-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
}

.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
}

/* ---- FORMS ---- */
.form-control,
.form-select {
    border-radius: 8px;
    border: 1.5px solid #dee2e6;
    padding: 0.55rem 0.85rem;
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.form-label {
    font-size: 0.88rem;
    margin-bottom: 4px;
}

/* ---- BUTTONS ---- */
.btn-warning {
    color: #111;
}

.btn {
    border-radius: 8px;
    font-weight: 500;
}

/* ---- WHATSAPP FLOAT BUTTON ---- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
}

/* WhatsApp pulse animation */
.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.4;
    animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* ---- FOOTER ---- */
footer a:hover {
    color: #ffc107 !important;
    opacity: 1;
}

/* ---- BADGES ---- */
.badge.bg-warning {
    color: #111 !important;
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
    font-size: 0.875rem;
}

/* ---- SHOWROOM CARDS ---- */
.card .ratio iframe {
    border: 0;
    border-radius: 8px 8px 0 0;
}

/* ---- ALERTS ---- */
.alert {
    border-radius: 10px;
    font-size: 0.92rem;
}

/* ---- RESPONSIVE HERO ---- */
@media (max-width: 768px) {
    .hero-section {
        min-height: 65vh;
        text-align: center;
    }

    .hero-section .d-flex {
        justify-content: center;
    }

    .hero-section::before {
        width: 100%;
        opacity: 0.1;
    }
}

/* ---- SCROLLBAR (optional polish) ---- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
