/* ============================================
   RevMoto - Professional Motorcycle Service
   Color Scheme: Red (#dc2626) & Black (#111)
   ============================================ */

:root {
    --rm-red: #dc2626;
    --rm-red-dark: #b91c1c;
    --rm-red-light: #ef4444;
    --rm-dark: #111111;
    --rm-darker: #0a0a0a;
    --rm-gray: #1a1a1a;
    --rm-light: #f8f9fa;
}

* {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
    color: #333;
}

/* ===== NAVBAR ===== */
#mainNavbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

#mainNavbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.brand-text {
    font-family: 'Russo One', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--rm-red);
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after {
    width: 60%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--rm-darker) 0%, var(--rm-dark) 40%, #1a0000 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><defs><radialGradient id="g" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23dc2626" stop-opacity="0.1"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23g)"/><circle cx="1200" cy="600" r="400" fill="url(%23g)"/></svg>') no-repeat center/cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-family: 'Russo One', sans-serif;
    font-size: 3.5rem;
    line-height: 1.2;
    color: #fff;
}

.hero-section h1 .text-gradient {
    background: linear-gradient(135deg, var(--rm-red) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p.lead {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero-stats {
    /* display: flex; */
    display: none !important;
    gap: 2rem;
    margin-top: 2rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    color: var(--rm-red);
    display: block;
}

.hero-stat .label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: relative;
}

.hero-image .motorcycle-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(220,38,38,0.1), rgba(220,38,38,0.05));
    border-radius: 20px;
    border: 1px solid rgba(220,38,38,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(220,38,38,0.3);
}

/* ===== PLATE SEARCH ===== */
.plate-search-section {
    background: var(--rm-dark);
    padding: 5rem 0;
    position: relative;
}

.plate-search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--rm-red), transparent);
}

.plate-input-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.plate-input {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    padding-right: 140px;
    font-size: 1.2rem;
    color: #fff;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.plate-input:focus {
    outline: none;
    border-color: var(--rm-red);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 20px rgba(220,38,38,0.3);
}

.plate-input::placeholder {
    color: rgba(255,255,255,0.4);
    text-transform: none;
    letter-spacing: 0;
}

.plate-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--rm-red);
    border: none;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s;
}

.plate-search-btn:hover {
    background: var(--rm-red-dark);
    transform: translateY(-50%) scale(1.05);
}

.search-results {
    max-width: 800px;
    margin: 2rem auto 0;
}

.result-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
    color: #fff;
}

.result-card .service-history-item {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-left: 3px solid var(--rm-red);
}

/* ===== APPOINTMENT ===== */
.appointment-section {
    background: linear-gradient(135deg, #0a0a0a, #1a0a0a);
    padding: 6rem 0;
    position: relative;
}

.appointment-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.appointment-card .form-control,
.appointment-card .form-select {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.appointment-card .form-control:focus,
.appointment-card .form-select:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--rm-red);
    box-shadow: 0 0 15px rgba(220,38,38,0.2);
    color: #fff;
}

.appointment-card .form-control::placeholder {
    color: rgba(255,255,255,0.4);
}

.appointment-card label {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    font-size: 0.9rem;
}

.appointment-card .form-select option {
    background: #1a1a1a;
    color: #fff;
}

.date-slot {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    text-align: center;
}

.date-slot:hover,
.date-slot.selected {
    background: rgba(220,38,38,0.2);
    border-color: var(--rm-red);
    color: #fff;
}

.time-slot {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.time-slot:hover,
.time-slot.selected {
    background: rgba(220,38,38,0.2);
    border-color: var(--rm-red);
    color: #fff;
}

/* ===== SERVICES ===== */
.services-section {
    padding: 6rem 0;
    background: var(--rm-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    color: var(--rm-dark);
}

.section-header .subtitle {
    color: #64748b;
    max-width: 600px;
    margin: 0.75rem auto 0;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--rm-red);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: rgba(220,38,38,0.2);
}

.service-card .icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(220,38,38,0.1), rgba(220,38,38,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--rm-red);
    transition: all 0.3s;
}

.service-card:hover .icon-wrapper {
    background: var(--rm-red);
    color: #fff;
    transform: scale(1.1);
}

.service-card h5 {
    font-weight: 700;
    color: var(--rm-dark);
    margin-bottom: 0.5rem;
}

.service-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-card .price {
    font-family: 'Russo One', sans-serif;
    font-size: 1.3rem;
    color: var(--rm-red);
}

.service-card .price small {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 400;
}

/* ===== REVIEWS ===== */
.reviews-section {
    padding: 6rem 0;
    background: #fff;
}

.review-card {
    background: var(--rm-light);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: all 0.3s;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.review-card .quote-icon {
    font-size: 2rem;
    color: rgba(220,38,38,0.2);
    margin-bottom: 0.5rem;
}

.review-card .stars {
    color: #f59e0b;
    margin-bottom: 0.75rem;
}

.review-card .review-text {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.review-card .reviewer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-card .reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--rm-red), var(--rm-red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.review-card .reviewer-name {
    font-weight: 600;
    color: var(--rm-dark);
    font-size: 0.9rem;
}

.review-card .reviewer-bike {
    color: #94a3b8;
    font-size: 0.8rem;
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 6rem 0;
    background: var(--rm-dark);
    color: #fff;
}

.contact-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.contact-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.contact-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(220,38,38,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    color: var(--rm-red);
}

.contact-card h6 {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #fff;
    font-weight: 500;
    margin-bottom: 0;
}

/* ===== GALLERY / ADS ===== */
.gallery-section {
    padding: 6rem 0;
    background: var(--rm-light);
}

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.gallery-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.gallery-card .gallery-icon {
    font-size: 4rem;
    color: rgba(220,38,38,0.3);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}

/* ===== BACK TO TOP ===== */
.btn-back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(220,38,38,0.3);
}

.btn-back-to-top.show {
    display: flex;
}

/* ===== FOOTER ===== */
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: var(--rm-red);
}

.footer-links li {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.social-link {
    transition: all 0.3s !important;
}

.social-link:hover {
    color: var(--rm-red) !important;
    transform: translateY(-2px);
}

/* ===== BTN STYLES ===== */
.btn-rm-red {
    background: var(--rm-red);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-rm-red:hover {
    background: var(--rm-red-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220,38,38,0.3);
}

.btn-rm-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-rm-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

/* ===== LOADING SPINNER ===== */
.spinner-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.spinner-overlay.show {
    display: flex;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hero-section h1 { font-size: 2.5rem; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .hero-stat .number { font-size: 2rem; }
}

@media (max-width: 767.98px) {
    .hero-section { min-height: auto; padding: 8rem 0 4rem; }
    .hero-section h1 { font-size: 2rem; text-align: center; }
    .hero-content { text-align: center; }
    .hero-content .d-flex { justify-content: center; }
    .hero-content .mb-3 { text-align: center; }
    .hero-content p.lead { text-align: center; }
    .hero-stats { justify-content: center; }
    .section-header h2 { font-size: 1.8rem; }
    .plate-input { font-size: 1rem; padding-right: 120px; }
    .hero-image { display: none; }
    .appointment-card { padding: 1.5rem; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.5rem; }
    .btn-back-to-top { bottom: 80px; right: 20px; }
}

@media (max-width: 575.98px) {
    .hero-section h1 { font-size: 1.6rem; }
    .hero-stats { gap: 0.5rem; }
    .hero-stat .number { font-size: 1.5rem; }
    .plate-input { padding-right: 60px; font-size: 0.9rem; letter-spacing: 1px; }
    .plate-search-btn span { display: none; }
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}