/* MoveRentCar - Custom Styles */

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

/* NAVBAR */
#mainNav {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    transition: all 0.3s ease;
    padding: 12px 0;
}

#mainNav.scrolled {
    padding: 8px 0;
    background: rgba(22, 33, 62, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
}

#mainNav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: #fff !important;
    background: rgba(255,193,7,0.15);
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,193,7,0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,193,7,0.08) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: white;
}

.hero-title span {
    color: #ffc107;
}

/* CARD VEHICLE */
.vehicle-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.vehicle-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .card-img-top {
    transform: scale(1.05);
}

.vehicle-card .vehicle-img-wrapper {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-badge {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #1a1a1a;
    font-weight: 700;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.85rem;
}

/* STATS */
.stat-card {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: none;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
}

/* SERVICE CARD */
.service-card {
    border: none;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.service-card:hover h5,
.service-card:hover p {
    color: white !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;        /* ← ukuran ikon */
    margin: 0 auto 20px;
}

/* SECTION TITLES */
.section-title {
    font-weight: 800;
    color: #1a1a2e;
}

.section-title span {
    color: #ffc107;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.05rem;
}

/* FORMS */
.form-control, .form-select {
    border-radius: 10px;
    border: 1.5px solid #e0e0e0;
    padding: 10px 16px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

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

/* BUTTONS */
.btn-primary-custom {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26,26,46,0.35);
    color: white;
}

.btn-warning-custom {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-warning-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,193,7,0.4);
    color: #1a1a1a;
}

/* ADMIN SIDEBAR */
.admin-sidebar {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    width: 260px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding-top: 70px;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}

.admin-content {
    margin-left: 260px;
    padding-top: 70px;
    min-height: 100vh;
    background: #f5f6fa;
}

.admin-nav-link {
    color: rgba(255,255,255,0.75) !important;
    border-radius: 10px;
    padding: 10px 16px;
    margin: 2px 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    color: white !important;
    background: rgba(255,193,7,0.2);
    border-left: 3px solid #ffc107;
}

/* VEHICLE SELECTION CARDS */
.vehicle-select-card {
    border: 2.5px solid #e9ecef;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
}

.vehicle-select-card:hover {
    border-color: #ffc107;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255,193,7,0.2);
}

.vehicle-select-card.selected {
    border-color: #ffc107;
    background: linear-gradient(135deg, rgba(255,193,7,0.05), rgba(255,152,0,0.05));
    box-shadow: 0 0 0 3px rgba(255,193,7,0.3);
}

/* AUTH PAGES */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
}

.auth-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

/* PAYMENT METHOD */
.payment-option {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: #ffc107;
}

.payment-option input:checked + label .payment-option,
.payment-option.selected {
    border-color: #ffc107;
    background: rgba(255,193,7,0.05);
}

/* RENTAL STATUS BADGES */
.badge { font-weight: 600; padding: 6px 12px; border-radius: 20px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .admin-sidebar { display: none; }
    .admin-content { margin-left: 0; }
    .hero-title { font-size: 2rem; }
}

/* SCROLL TO TOP EFFECT */
html { scroll-behavior: smooth; }

/* TABLE */
.table-modern thead th {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    padding: 14px 16px;
}

.table-modern tbody tr:hover {
    background: rgba(255,193,7,0.05);
}

/* PLACEHOLDER VEHICLE IMAGE */
.vehicle-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f4ff, #e8ecf5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9aa5be;
}


.vehicle-placeholder i { font-size: 3.5rem; margin-bottom: 8px; }
