/* Hello Delivery Services - Customer Website Styles */
/* Brand: Orange (#f97316) + Black (#000000) — from logo */

/* === Black Theme Elements === */
.bg-black-card {
    background: #000000;
    border: 1px solid rgba(249,115,22,0.15);
}
.bg-black-card:hover {
    border-color: rgba(249,115,22,0.4);
    box-shadow: 0 0 30px rgba(249,115,22,0.1);
}
.bg-black-gradient {
    background: linear-gradient(180deg, #000000 0%, #0f172a 100%);
}
.text-black-orange {
    color: #f97316;
}
.text-black-orange:hover {
    color: #fb923c;
}
.border-black-orange {
    border-color: rgba(249,115,22,0.2);
}
.border-black-orange:hover {
    border-color: rgba(249,115,22,0.5);
}

/* === 3D Card Effects === */
.perspective-1000 { perspective: 1000px; }
.transform-3d { transition: transform 0.5s ease; transform-style: preserve-3d; }
.transform-3d:hover { transform: rotateY(3deg) rotateX(2deg) translateZ(10px); }

/* === Glassmorphism === */
.glass { 
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px); 
    border: 1px solid rgba(255,255,255,0.12); 
}
.glass-dark { 
    background: linear-gradient(135deg, rgba(15,23,42,0.8), rgba(15,23,42,0.95)); 
    backdrop-filter: blur(30px); 
    -webkit-backdrop-filter: blur(30px); 
    border: 1px solid rgba(255,255,255,0.08); 
}

/* === Hero Section === */
.hero-gradient { 
    background: linear-gradient(-45deg, #0f172a, #7c2d12, #9a3412, #0f172a); 
    background-size: 400% 400%; 
    animation: gradientBG 15s ease infinite; 
}
@keyframes gradientBG { 
    0% { background-position: 0% 50%; } 
    50% { background-position: 100% 50%; } 
    100% { background-position: 0% 50%; } 
}

/* === Floating Particles === */
.particle { 
    position: absolute; 
    border-radius: 50%; 
    background: radial-gradient(circle, rgba(249,115,22,0.2), transparent); 
    pointer-events: none; 
    animation: particleFloat 20s infinite; 
}
@keyframes particleFloat { 
    0% { transform: translateY(0) scale(1); opacity: 0; } 
    10% { opacity: 0.8; } 
    90% { opacity: 0.8; } 
    100% { transform: translateY(-100vh) scale(0); opacity: 0; } 
}

/* === Neon Text === */
.neon-text { 
    text-shadow: 0 0 7px rgba(249,115,22,0.6), 0 0 20px rgba(249,115,22,0.4), 0 0 50px rgba(249,115,22,0.2), 0 0 100px rgba(249,115,22,0.1); 
}

/* === Animations === */
@keyframes float { 
    0%, 100% { transform: translateY(0px); } 
    50% { transform: translateY(-10px); } 
}
.animate-float { animation: float 3s ease-in-out infinite; }

@keyframes slideUp { 
    0% { opacity: 0; transform: translateY(30px); } 
    100% { opacity: 1; transform: translateY(0); } 
}
.animate-slide-up { animation: slideUp 0.6s ease-out; }

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(249,115,22,0.3); }
    100% { box-shadow: 0 0 25px rgba(249,115,22,0.6), 0 0 50px rgba(249,115,22,0.2); }
}
.animate-glow { animation: glow 2s ease-in-out infinite alternate; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in { animation: fadeIn 0.5s ease-out; }

@keyframes scaleIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.animate-scale-in { animation: scaleIn 0.4s ease-out; }

/* === Order Form Steps === */
.order-step { display: none; }
.order-step.active { display: block; animation: slideUp 0.4s ease-out; }
.step-indicator { display: flex; justify-content: center; gap: 0; padding: 2rem 0; }
.step-dot { 
    width: 36px; height: 36px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 0.875rem;
    background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    position: relative;
}
.step-dot.active { 
    background: linear-gradient(135deg, #ea580c, #f59e0b); 
    border-color: #f97316; color: white;
    box-shadow: 0 0 20px rgba(249,115,22,0.4);
}
.step-dot.completed { 
    background: #059669; border-color: #10b981; color: white; 
}
.step-connector { 
    width: 60px; height: 2px; 
    background: rgba(255,255,255,0.1); 
    align-self: center;
    transition: background 0.3s ease;
}
.step-connector.completed { background: #059669; }

/* === Tracking Map === */
#trackingMap, #pickupMap, #dropoffMap {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

/* === Status Timeline/Stepper on Tracking Page === */
.timeline-step { 
    display: flex; align-items: flex-start; 
    padding: 0.75rem 0; position: relative;
}
.timeline-step:not(:last-child)::after {
    content: ''; position: absolute; left: 15px; top: 40px;
    width: 2px; height: calc(100% - 40px);
    background: rgba(255,255,255,0.1);
}
.timeline-step.active:not(:last-child)::after { background: linear-gradient(180deg, #f97316, rgba(249,115,22,0.3)); }
.timeline-step.completed:not(:last-child)::after { background: #059669; }
.timeline-dot {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 0.75rem;
    background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.4); transition: all 0.3s ease;
}
.timeline-step.active .timeline-dot { 
    background: #f97316; border-color: #fb923c; color: white;
    box-shadow: 0 0 15px rgba(249,115,22,0.5);
}
.timeline-step.completed .timeline-dot { 
    background: #059669; border-color: #34d399; color: white; 
}

/* === Service Cards === */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249,115,22,0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-4px); }

/* === Flash Messages === */
.flash-message {
    position: fixed; top: 80px; right: 20px; z-index: 9999;
    padding: 1rem 1.5rem; border-radius: 0.75rem;
    animation: slideInRight 0.3s ease-out;
    max-width: 400px;
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* === Form Inputs === */
.form-input {
    width: 100%; padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0.75rem;
    color: white;
    transition: all 0.3s ease;
    outline: none;
}
.form-input:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
    background: rgba(255,255,255,0.08);
}
.form-input::placeholder { color: rgba(255,255,255,0.3); }
.form-label {
    display: block; margin-bottom: 0.5rem;
    font-size: 0.875rem; font-weight: 500;
    color: rgba(255,255,255,0.8);
}

/* === Scrollbar === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(180deg, #f97316, #f59e0b); 
    border-radius: 4px; 
}

/* === Typography === */
.font-display { font-family: 'Poppins', sans-serif; }
.font-body { font-family: 'Inter', sans-serif; }

/* === Buttons === */
.btn-primary {
    display: inline-flex; align-items: center;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    color: white; font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer; border: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(249,115,22,0.4);
}
.btn-secondary {
    display: inline-flex; align-items: center;
    padding: 0.75rem 2rem;
    background: rgba(255,255,255,0.08);
    color: white; font-weight: 600;
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
}

/* === Service Icon Gradient === */
.icon-gradient {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(234,88,12,0.2), rgba(245,158,11,0.2));
    border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}

/* === Leaflet Overrides === */
.leaflet-container {
    background: #0f172a !important;
}
.leaflet-control-zoom a {
    background: rgba(15,23,42,0.9) !important;
    color: white !important;
    border-color: rgba(255,255,255,0.15) !important;
}
.leaflet-popup-content-wrapper {
    background: #1e293b !important;
    color: white !important;
    border-radius: 0.75rem !important;
}
.leaflet-popup-tip { background: #1e293b !important; }

/* === Responsive === */
@media (max-width: 768px) {
    #trackingMap, #pickupMap, #dropoffMap { height: 300px; }
    .step-connector { width: 30px; }
}
